I have a view page that contains two forms each form has to be populated
with dynamic data and each of the forms ideally would be processed by
different actions when they are submitted.

page with two forms.

<html:form action="foo">
<html:select property="item">
    <html:options property="items" labelProperty="itemNames"/>
</html:select>
<html:submit value="see item"/>
</html:form>

<html:form action="bar">
<html:select property="time">
    <html:options property="times" labelProperty="timeNames"/>
</html:select>
<html:submit value="see time"/>
</html:form>

Now lets say we want to initialize these two forms (specifically the items,
itemNames, time and timeNames Collections.) and the path to this page with
two forms on it is accessed from a single action.

How would I go about initializing them?  I can obviously only receive one
form or the other in the preceeding actions perform method.  I could use a
general form that covers the propertys for all but when it comes to
submission time I would like to submit to two different actions not the same
one.

Has anyone else worked an elegant solution to this?

Thanks




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to