Can somebody explain me what is the best practice if I want to use the same
form (JSP page/fragment)
for executing different action.

For example I want to have "add" and "edit" action which will be processed
differently,
but the form for entering data will be the same.

I tried to use form as >>Tiles<< and do something like:

<html:form action="<tiles:getAsString name="action"/>" focus="name"
onsubmit="return validateXXForm(this)">

but this does not seems to works.

any suggestions?

Michal




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

Reply via email to