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.

<xsp:logic>
    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>
    }
</xsp:logic>

[1] http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/environment/Request.html

HTH,
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to