Madhav Bhargava ha scritto:
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.

The problem is that the validator framework and Tiles do not work together! You should see the validator framework as it works on the composed page, and not on each "tile". Anyway, even if you don't use validator, each field in an html form should be uniquely named.

Does it answer your question?

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

Reply via email to