[Zope] path...

After Dark afterz@zipmail.com
Thu, 05 Apr 2001 11:34:33 -0400


What you said makes very much sense, I liked that. :)
But....

I tryed this and didn`t work again. :~(

<dtml-call "REQUEST.set('base',_.getitem('MedSaude.sintoma'))">
<dtml-with base>

Error: trying to reference a nonexisting....

It seems to me that nothing works.. :~~(
Help!!

Bye.

On Thu, 05 Apr 2001 09:17:30 -0600
Casey Duncan <cduncan@kaivo.com> wrote:
>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
>`------------------>

________________________________________________
Don't E-Mail, ZipMail! http://www.zipmail.com/