Hello.
I've got the following flow code:
function modifierContenu() { var conn = Database.getConnection("llinfo"); var result = conn.query("SELECT * FROM people"); var record = result.rows; conn.close(); cocoon.sendPage("protected-test-2", {"record": record}); }
I've got the following jxpath file (called by the protected-test-2 pipeline):
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://apache.org/cocoon/templates/jx/1.0" > <head> <title>Bienvenue dans la Batcave</title> <meta name="author" content="Aurélien DEHAY" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> </head> <body> <c:forEach select="#{record}"> <h1>-= #{login} =-</h1> <p>-= #{id} =-</p> </c:forEach> </body> </html>
The #{login} and #{id} are not set to the corresponding values. It only works when I put the following thing:
<foo bar="#{login}" booh="#{id}"/> (i.e. the #{} are replace only when they are in a attribute).
I've tried to put a jx:out value="#{login}", which doesn't work either.
I'm using cocoon 2.1.6 on a Tomcat 5.0.28.
I someone could give me hints about this problem.... Rgds. -- Aurélien
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]