cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Oliver <res1c...@verizon.net>
Subject Re: JXForms and XPath, what's wrong?
Date Wed, 17 Mar 2004 22:17:54 GMT
Try

    #{$picture/fileName}

XPath variables start with a $.

Chris

Stephan Coboos wrote:

> Hello,
>
> in my Flowscript I set a bean under the name "picture". Within a 
> JXTemplate I want to read the filename of the picture. This version 
> works fine:
>
> ${picture.fileName}
>
> But this doesn't work:
>
> #{picture/fileName} or #{$picture/fileName}
>
> Why?
>
> If I use the XPath version I got the following error: "No pointer for 
> xpath: "...
>
> Where I'am wrong? Can you help me, please?
>
> Regards
> Stephan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


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


Mime
View raw message