I have a (ordinary) form with multi-select field. The form's
data is then intercepted by a flow routine, and must then be
processed by a JXTemplate page.
In the form:
<select multiple="multiple" size="5" name="Year_pd">
In the flow page:
var Year_pd = cocoon.request.getParameter("Year_pd");
cocoon.sendPage("core-sql.xml", {"Year_pd":Year_pd} );
In the JXTemplate page:
<jx:forEach var="year" items="${Year_pd}">
<test>${year}</test>
</jx:forEach>
The problem is that this latter code throws a null pointer
exception when it is called.
Is there some special technique for processing this type
of data correctly?
Thanks
Derek
(Using Cocoon 2.1.5)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]