Bjorn T Johansen wrote:
I am starting to use DispatchAction instead of some of my actions to
simplify CRUD operations, but I have a question.
How do I integrate which method to call in a html:form tag? I.e. if I could
write http://localhost/app/order?method=create then it wouldn't be a
problem, but how do I write the same thing using html:form?

Just create another global forward for submitting the form. <forward name="order_submit" path="/do/order?method=create"/>

Then use <html:form action="order_submit"/>

(<html:form action="/order" focus="date"> where should I put the method
parameter? )


Regards,


BTJ


----------------------------------------------------------------------------------------------- Bjørn T Johansen (BSc,MNIF) Executive Manager [EMAIL PROTECTED] Havleik Consulting Phone : +47 67 54 15 17 Conradisvei 4 Fax : +47 67 54 13 91 N-1338 Sandvika Cellular : +47 926 93 298 http://www.havleik.no ----------------------------------------------------------------------------------------------- "The stickers on the side of the box said "Supported Platforms: Windows 98, Windows NT 4.0, Windows 2000 or better", so clearly Linux was a supported platform." -----------------------------------------------------------------------------------------------


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





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



Reply via email to