I'm sure this has been answered before but I'm sick of googling for the answer.
Using tiles I've 2 forms in one page.
<tiles:insert page="loginForm.jsp" />
<tile:insert page="customerForm.jsp" />
Now both forms have some properties with the same names e.g.
<html:form action="/login.do"> <html:text property="email" /> <html:errors property="email" /> .. <html:form action=/register.do"> <html:text property="email" /> <html:errors property="email" />
When i submit either form the errors are displayed in both forms. The only solution I can think of is to extend TileAction and validate in there, but I usuall just use tiles defs as forwards and don't bother with TileAction.
Do i go down the TileAction route or something else?
Cheers Mark
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]