Results 1 to 2 of 2

Thread: Web Flow 2.3 with JSR-303 validation by view-tate

  1. #1
    Join Date
    Oct 2009
    Posts
    3

    Default Web Flow 2.3 with JSR-303 validation by view-tate

    I have an object model that is filled in forms 4-view-states in different states, I use the JSR-303 validation, however from the first form to second it validates the whole model, and some properties of this object will only be filled in following forms, but the validation stops the flow.

    Is there a way to set which properties of the model will be validated in each transition? using JSR-303?

    Thank you.

  2. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,795

    Default

    Hello

    I have an object model that is filled in forms 4-view-states in different states, I use the JSR-303 validation, however from the first form to second it validates the whole model, and some properties of this object will only be filled in following forms, but the validation stops the flow.
    I understand your concern. Practically it is based about the validation for a field depending of the value of other field.

    Since it is a situation specific for JSR 303

    Try here JSR 303 Bean Validation feedback
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •