• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

JSF input text readonly issue

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try to check that there is NO "immediate="true"" attribute set for your actions/submit buttons ;)
 
reply
    Bookmark Topic Watch Topic
  • New Topic