Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF input text readonly issue  RSS feed

 
Vaibhav Deshpande
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have one input text field. Its readonly attribute is set to true. The value in this field is "JAVA RANCH".

Now using javascript I make thsi field enable by setting readonly="false".

After enabling this field, I enter some new data like "SUN JSF".

When I click on the submit button the backing bean is not getting update with the new value "SUN JSF". The set method of the bean whcih is associtaed with this field is not called.

My backing bean is in session scope.

any idea why this data is not submitted to server even though the feild is now enabled?

Thanks,
vebs
 
Nataly Viking
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to check that there is NO "immediate="true"" attribute set for your actions/submit buttons ;)
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!