struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <>
Subject messages/errors 2 form's 1 page
Date Wed, 04 Feb 2004 13:52:09 GMT

I'm sure this has been answered before but I'm sick of googling for the 

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="/">
	<html:text property="email" />
	<html:errors property="email" />
<html:form action=/">
	<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:
For additional commands, e-mail:

View raw message