It's not a secret anymore!
The moose likes JSF and the fly likes Avoid Data Validation during Page Rendering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Avoid Data Validation during Page Rendering" Watch "Avoid Data Validation during Page Rendering" New topic
Author

Avoid Data Validation during Page Rendering

Bishal Ghimire
Greenhorn

Joined: Feb 01, 2011
Posts: 26

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

Joined: Feb 01, 2011
Posts: 26

Forgot to mention, I am talking in the context of JSF 1.2 and RichFaces.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17161
    
  27

'ajaxSingle="true"' on the control will limit the form data that is transmitted (and therefore validated) to just the control in question.


An IDE is no substitute for an Intelligent Developer.
Bishal Ghimire
Greenhorn

Joined: Feb 01, 2011
Posts: 26

Thank you, Tim. That resolved the problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Avoid Data Validation during Page Rendering
 
jQuery in Action, 3rd edition