Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Avoid Data Validation during Page Rendering

 
Bishal Ghimire
Greenhorn
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am having problem with page rendering. I want part of the page gets rendered while clicking a check box. It is rendering as it is supposed to but in addition, it is validating the whole page fields above the checkbox (might do below also, I don't have any fields after the checkbox). I have been using rich:ajaxvalidator for fields above the checkbox.

The code I am using for rendering part of page after clicking check box is:




Any help would be appreciated!
 
Bishal Ghimire
Greenhorn
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forgot to mention, I am talking in the context of JSF 1.2 and RichFaces.
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'ajaxSingle="true"' on the control will limit the form data that is transmitted (and therefore validated) to just the control in question.
 
Bishal Ghimire
Greenhorn
Posts: 26
Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Tim. That resolved the problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic