cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien DEHAY ...@zorel.org>
Subject Re: Database in flow/problem with jxpath
Date Sun, 12 Dec 2004 18:14:04 GMT
Aurélien DEHAY wrote:

For example, the following jxpath file (passed throught jx generator):

    <c:forEach select="#{record}">
       <h1>-= <c:out value="#{./login}"/> =-</h1>
       <p>-= #{./id} =-</p>
       <p>-= ${password} =-</p>
       <machin truc="#{login}" plop="#{id}"/>
     </c:forEach>

generates things like:

       <h1>-=  =-</h1>
       <p>-=  =-</p>
       <p>-=  =- </p>
       <machin truc="anonymous" plop="1"/>

       <h1>-=  =-</h1>
       <p>-=  =-</p>
       <p>-=  =- </p>

       <machin truc="z" plop="2"/>

       <h1>-=  =-</h1>
       <p>-=  =-</p>
       <p>-=  =- </p>
       <machin truc="s" plop="3"/>

The #{./id}, ${password}, jx:out, (or even #{id} as tested before), are 
not substitued.

Rgds.

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


Mime
View raw message