File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

h:commandButton immediate='true'

 
vaitheeswaran subramanian
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using IBM JSF that comes with RAD 7.5.
I have a form with a submit button on clicking which I want validation to be performed and another button on clicking which I want the model to be updated without performing the validation.
I thought immediate='true' does that. But what I am finding is that the model does not get updated when immediate is set to true. It skips the validation phase though.
Is there a way of having command button skip the validation yet update model?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17614
38
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you really think it's a good idea to be able to set a value with data that may not be valid?
 
vaitheeswaran subramanian
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, What I want is to be able to navigate to a different form, fill that up and then come back to the same form and continue from where I left. So, unless I update the model, I will not be able to get back back to the original screen to continue my work. I want a button to do just this. I know I can open the form in a child window, but, I will have to write java script to refrsh the parent window which is not a neat thing to do.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic