Thorsten Scherler wrote:
> El mar, 15-02-2005 a las 14:44, Linden H van der (MI) escribi�:
>> Hi Torsten,
> 
>> 
>> a guess (I'm not sure about all the details of the syntax and I
>> haven't tested it): 
>> 
>> <jx:set var="user"><session:getxml context="authentication"
>> path="/authentication/login"/></jx:set>
>> <jx:set var="attachment"
>> value="../content/users/#{user/.}/kk.xml</jx:set>
>> 
> 
> I tried nearly all possible syntax but
> <jx:set var="staticUser" value="007"/>
> <jx:set var="setAttachment"
> value="../content/users/${staticUser}/kk.xml"/>
> 
> <test>
> setAttachment:${setAttachment}
> staticUser:${staticUser}
> </test>
> 
> Returns always
> <test>
> setAttachment:../content/users/${staticUser}/kk.xml
> staticUser:007
> </test>
> 
> ...even if I use #{staticUser/.} or similar combination.

This sounds as if you have not included the <jx:set> statements in the proper 
tags:

<jx:template xmlns:jx="http://apache.org/cocoon/templates/jx/1.0";>
 <jx:set var="user" value="007"/>
 ....
</jx:template>

HTH.

Bye, Helma

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to