facebook

Hibernate Validator

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #318512 Reply

    giann_mga
    Member

    The current code generated does not have any kind of Form Validation on Create or Edit pages. Wanted to check if it’s possible to add “JSR 303” based validations using API like Hibernate Validator as part of form generation. Currently when i submit the form for the field which need values, it’s generation Exception Page.

    #318537 Reply

    support-joy
    Member

    giann_mga,

    I am not sure I understand your requirement here. Please answer below queries –
    1. What is your OS?
    2. What is the MyEclipse product you are using? Is it MyEclipse / Blue / MyEclipse 4 Spring / Bling?
    3. In case you are on MyEclipse, are you using standard or professional license?
    4. You mention

    The current code generated does not have any kind of Form Validation on Create or Edit pages. Wanted to check if it’s possible to add “JSR 303” based validations using API like Hibernate Validator as part of form generation. Currently when i submit the form for the field which need values, it’s generation Exception Page.

    Please clarify what is the wizard you are using to create this form? What is the form you are referring to, (include file extension)? What is the exception you are referring to? Is it syntax issue? What are you trying to achieve?
    5. Could you include a screenshot of the issue you are facing to help me get a visual?
    6. Your post is not clear, could you please explain in detail

    #318544 Reply

    giann_mga
    Member

    1. What is your OS?
    WINDOWS XP-SP3

    2. What is the MyEclipse product you are using? Is it MyEclipse / Blue / MyEclipse 4 Spring / Bling?
    MyEclipse 4 Spring

    3. In case you are on MyEclipse, are you using standard or professional license?
    Product Id: E3MS (MyEclipse for Spring Subscription)
    License version: 3.0
    Full Maintenance Included

    4. My doubt is: How can i add “JSR 303” based validations using API like Hibernate Validator ex. @Length(max = 20) and others,
    using Scafolding Spring CRUD Application.
    Currently when i submit the form for the field which need values, it’s generation Exception Page.

    #318635 Reply

    jkennedy
    Member

    We do not currently emit those annotations but they should be supported.

    The version of Hibernate that we are including with the project should allow you to add them manually.

    Thanks,
    Jack

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Hibernate Validator

You must be logged in to post in the forum log in