This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

textfield disabled---value not sent to form bean

 
RukminiP Nagalla
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I disabled a text field so that users cannot edit the vslue of the field but I need to insert this vlue into the database. when I debug, I found that,this value is not populated in my corresponding form bean and hence cannot be retrived in my action class.
Is there a way to manually populate the formbean or is there any alternative not to allow the users overwrite the value in my text field as well as populate my form bean.
Any help is appreiated.
Thanks,
Rukmini
 
Srilakshmi Vara
Ranch Hand
Posts: 169
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maintain the disabled field value in a hidden form field
 
RukminiP Nagalla
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot, it worked. I added a hidden fiels seperately and maintained the disabled field in the orignal one.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic