[Zope] path...
Casey Duncan
cduncan@kaivo.com
Thu, 05 Apr 2001 09:17:30 -0600
After Dark wrote:
>
> Hi, I tryed but didn`t work...
>
> Well, I know that like this works:
> <dtml-with "MedSaude.sintoma">
>
> But if I make like this doesn`t:
> <dtml-call "REQUEST.set('base','Medsaude.sintoma')">
> <dtml-with "base">
>
> Why?? I have to make it work...
>
> Bye.
>
In your REQUEST.set statement, you are setting base to the string
'Medsaude.sintoma'. Doing dtml-with on a string value will do you little
good.
try:
<dtml-call expr="REQUEST.set('base', Medsaude.sintoma)">
If your object name is being passed as a string try:
<dtml-call expr="REQUEST.set('base', _.getitem(objectName))">
hth,
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>