Let me elaborate my problem and the reason i have posted this to this list:

I am using tiles with JSF. So i have just one layout.jsp. This file has the
<form> tag and other JSP's just get inserted into the respective place
holders.

All of this works just fine. The problem comes when i am trying to use
Struts client side validator framework along with the combination of tiles +
JSF. In the validator framework  - validation.xml file will require a form
name and then all the fields and their respective validations.

Will this mean that if there are 40 different forms that use the same layout
tile will need to have fields uniquely named? I thought this was a big ask
and therefore wanted to know how tiles and struts validator framework work
together.

Thanks for the reply.

~madhav

On 11/7/06, Antonio Petrelli <[EMAIL PROTECTED]> wrote:

Madhav Bhargava ha scritto:
> Since i am using struts tiles there is always going to be one form.
> How can
> i then use these 2 together?

Wait a moment, what's the connection between Tiles and the use of only
one form? That's not true.
Probably you wanted to say that you have one form and the fields of that
form is spread across different JSP pages, right?
In this case probably you have to create a big big ActionForm that
contains all fields, or create one ActionForm for each resulting page.
Anyway I don't know Validator very well, so maybe someone else can help
you more than me.

Ciao
Antonio

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




--
When I tell the truth, it is not for the sake of convincing those who do not
know it, but for the sake of defending those that do

Reply via email to