[seam-issues] [JBoss JIRA] Created: (SEAMFACES-47) UIInputContainer keeps invalid state too long

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Sun Aug 22 17:39:11 EDT 2010

UIInputContainer keeps invalid state too long

                 Key: SEAMFACES-47
                 URL: https://jira.jboss.org/browse/SEAMFACES-47
             Project: Seam Faces
          Issue Type: Bug
          Components: UI Components
    Affects Versions: 3.0.0.Alpha3
            Reporter: Nicklas Karlsson

Given a 

			<h:inputText value="#{credentials.username}" />
			<h:inputText value="#{credentials.password}" />
		<h:commandButton value="Login" action="#{credentials.login}" />

and a 

public class Credentials {
	private String username;

	public String getUsername() {
		return username;

	public void setUsername(String username) {
		this.username = username;

	public String getPassword() {
		return password;

	public void setPassword(String password) {
		this.password = password;

	private String password;

	public void login() {



and a modified input.xhtml that outputs #{cc.attrs.invalid}

you submit a blank form and get "true" and correct message for both fields, then you enter a value in the second field and re-submit and the messages are correct but both fields still show true for the invalid attribute output (making it impossible to use the attr for rendered attributes if e.g. an error image)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list