[Zope] Cast

Steve Drees drees@the-bridge.net
Wed, 28 Mar 2001 17:14:57 -0600


> Do I need to cast or something like that to make this?
> Because the parameter is an object, but zope treats like a
> string.
> 
> Ex.:
> <dtml-in "REQUEST['parametro'].objectValues()">
> The REQUEST['parametro'] is a folder.

REQUEST['parametro'] is likely a name of a folder.

What you probably want is something like:

<untested>
<dtml-in "_.[_.['parametro']].objectValues()">
</untested>

Which hurts just to type.