|
i am calling the jx file as follows from the flow script var list = query.findUser(number,hs); message = "successful"; cocoon.sendPage("query.jx",{"message" : message,"list":list}) where list is in an list of objects. In my query.jx the following template is used <jx:macro name="tablerows"> <jx:parameter name="lists"/> <jx:parameter name="color"/> <jx:forEach var="item" items="${lists}"> <tr><td bgcolor ="${colour}">${item.users}</td> <td bgcolor ="${colour}">${item.password}</td></tr> </jx:forEach> </jx:macro> <table> <tablerows list="${list}" color="blue"/> </table> I get the message = success printed but i cant get the table to print. my sitemap to handle query.jx looks like this <map:match pattern ="*.jx"> <map:generate type="jx" src=""/> <map:serialize type="xhtml"/> </map:match> Should i use the jxtransformer ??? thanks ... Jens Maukisch wrote: Hi Jubin Thomas Kuriakose, |
- Re: using java objects in jx templates Jubin Thomas Kuriakose
- Re: using java objects in jx templates Suzan Foster
- Re: using java objects in jx templates Jubin Thomas Kuriakose
