cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <>
Subject Re: XSP Forms - Best Practice?
Date Mon, 06 Sep 2004 13:39:09 GMT
Hi Tom,

For what you want to do, you could have a look to CForms, which is the best way to go.
But if you have to deal with XSP, you must get the values from the request object here [1],
accessible from your XSP.
Then, you can use java loops to generate your form.

     for (int i=0 ; i&lt;parameters.length ; i++) {
         <input type="text"><xsp:attribute name="value"><xsp:expr>parameters[i]</xsp:expr></xsp:attribute></input>


Olivier Billard

Thomas Zehetbauer wrote:

> Hi,
> what is the current recommended practice for having a XSP output a HTML
> form showing the values of the last submission? This seems especially
> complicated for <select>/<option> groups. Is there any library/block for
> this yet?
> Tom

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

View raw message