This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
In that case how can I bind the value to bean property?
Thanks,
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
posted
0
to bind that value to the backing bean
you use binding, not value.
Plus, you don't have to use binding attribute to get the value, you can use FaceContext.
jaisai vijay
Ranch Hand
Joined: Dec 17, 2009
Posts: 70
posted
0
Hi Davie,
I was following Rich Faces example in roseindia. I think we can do this way but I tried as you said I got the following exception
Thanks in advance.
Davie Lin
Ranch Hand
Joined: Aug 05, 2007
Posts: 294
posted
0
have you remove the value attribute? do you understand why the exception?
jaisai vijay
Ranch Hand
Joined: Dec 17, 2009
Posts: 70
posted
0
Yes I have removed the value attribute. I guess in the bean we have to declalre the property as HtmlInputText when you use binding attribute. I am not sure I was looking at online example.
Sorry I am quite new to JSF I just started couple of days back.
jaisai vijay
Ranch Hand
Joined: Dec 17, 2009
Posts: 70
posted
0
Hi,
I don't know what is wrong with tomcat it works in Jboss. When I deploy the same application in jboss I get the empty text fields as I expected.