cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Processing a form's multi-select data with flow and JXTemplate
Date Thu, 17 Feb 2005 06:37:02 GMT
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}">
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?


(Using Cocoon 2.1.5)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message