On 17.06.2004 08:06, Derek Hohls wrote:
The "jxpage" looks like this:
<html xmlns:jx="http://apache.org/cocoon/templates/jx/1.0"> <head> <title>Report successful</title> </head> <body> Report was successful for ${theme} and ${atheme} <ul> <jx:forEach var="thisTheme" items="theme"> <li>Selection: ${theme.current}</li> </jx:forEach> <jx:forEach var="thisTheme" items="theme"> <li>A Selection: ${atheme.current}</li> </jx:forEach> </ul> </body> </html>
And the output looks like:
Report was successful for
[EMAIL PROTECTED] and
[EMAIL PROTECTED] * Selection: * A Selection:
How do I go about getting the values selected in the multivaluefield? (And if you know this, then perhaps you can help with multi-check boxes and radio groups?)
What about theme.getValue() or atheme.getValue() which should return an Object[]?
http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/MultiValueField.java?annotate=1.12#155
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
