validation « Component « JSF Q&A





1. jsf component with render attribute failing validation    stackoverflow.com

I have couple of panel grids with rendered attribute, on value change event of a drop down list, I make one of the panel grids visible, this works fine. But after ...

2. JSF composite component validation    stackoverflow.com

I want to create composite component and attach some validators to it's children, but I want message from validation to be attached to composite component, not to it's child. In the ...

3. Validator for composite component validates, but also throws exception    stackoverflow.com

I want to attach validator to composite component, and I want it to be attached to every child component inside:

<cc:interface>
  <cc:attribute name="validator"
         ...

4. cross field validation for composite components    stackoverflow.com

How do I implement cross-field validation for composite components? The composite component I am using is an input text box (one for email and the second one for confirm email). I ...

5. Change Component Style on Validation    coderanch.com

6. JSF validation components !!    coderanch.com

7. Help creating a custom JSF component and adding a validator to it.    coderanch.com

I have a new problem. The problem appears during the rerendering of my custom component. It keeps some children inside and during the restore it give me an ArrayIndexOutOfBoundException. I solved with the solution posted here: LINK that I report here: public class CompositeJsfComponent { public CompositeJsfComponent() { // MyInput extends UIComponent getChildren().add(new MyInput()); getChildren().add(new MyInput()); getChildren().add(new MyInput()); } public Object ...





10. Multiple component validator    coderanch.com