|
Netbeans.org
»
Netbeans - J2EE
h:inputtext readonly returning null into the backing bean
View:
Threaded
Chronologically
All Messages
New views
1 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
h:inputtext readonly returning null into the backing bean
by jjman
:: Rate this Message:
Reply to Author
|
View Threaded
|
Show Only this Message
Does anybody know an workaround for the issue I have:
jsf
<h:inputText id="username" value="#{userBean.user.username}" readonly="true" />
and when I submit the page, even if username property had a value it submits "null"
Is there an workaround?
All I need is to show the property but to prevent the user changing it
Thanks
Free embeddable forum
powered by
Nabble
Forum Help