cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: jx variable to nodeset
Date Thu, 17 Feb 2005 09:37:00 GMT
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"/>
> 

I think you should rather try:
<jx:set var="setAttachment"
        value="${java.lang.String('../content/users/').concat( 
staticUser ).concat( '/kk.xml')"/>


-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message