Thank you Gary,
I was using the last version 1.1.3  ...

----- Original Message ----- From: "Gary VanMatre" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[email protected]>
Sent: Tuesday, June 20, 2006 11:55 PM
Subject: Re: clay template, duplicate components


>From: drh <[EMAIL PROTECTED]>

Hi all,
i'm using the clay tag to import a template inside a typical login form:

------------------------- | login: [__________] |
| pass: [__________] |
| submit |
-------------------------
The template contains the login, password and submit button, and have the
"required" attribute for the login and password inputs. The problem is that when the form is submitted, if it fails, the page is repainted with the components
duplicated:

-------------------------------------------- | login: [__________] |
| pass: [__________] |
| submit |
| login: [__________] "login" is required |
| pass: [__________] "password" is required|
| submit |
--------------------------------------------
What happens?


I bet you are using a version of myfaces greater than 1.1.1?
(http://issues.apache.org/struts/browse/SHALE-195).


Gary


Thanks in advance.


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




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

Reply via email to