Hi,
I have page using inputText in myfaces. It works okay. But when I try
to mark the username field to either 'readonly' or 'disabled' equals
to 'true'.
Like this:
<h:inputText value="#{userForm.user.username}" id="username"
required="true" styleClass="text large" readonly="true">
<v:commonsValidator type="required" arg="#{text['user.username']}"/>
</h:inputText>
the input field of the page in browser is not-changeable (as
expected). But when i try to do a submit my form, I get this
error message 'This username (null) or e-mail address (null) already
exists. Please try a different username.'
Can you please tell why the username becomes 'null' when I try to
submit? If i remove the 'readonly='true'' the submit works (i.e. the
username is not null).
Thank you for any help.