Posted by & filed under Uncategorized.

This post has moved here.zz




  • musachy

    by the way Struts 2 also supports some client-side validation. (set validate=”true” on the form tag)

  • http://arsenalist.com arsenalist

    If you’re referring to DWR thats hardly client side. It’s a matter of preference though, I think ‘Really easy field validation’ is too slick and easy to not be used.

  • Dave

    The DWR isn’t, but the JavaScript validation is.

    It can also be very convenient to annotate the Action with validations rather than the bean, because different Actions may expect different bean data.

  • Dean

    I’ll vouch for dexagogo. Struts should think about bringing that little project in…

  • Mohana Priya

    @SkipValidation annotation on the action method doesnt work for me .Validation occurs for all the actions mapped to the same action class. Why so ?

  • rangana

    I have 2 mothods caled edit() and create() I used annotation based validation
    but tthing is i want to validate some of experssions in edit method and some of the in create() method
    cant use @skipValidation in this
    my problem is i can not difine this seperatly in my actiion class ..both methods get validate from all expressions? any 1 have a ida?

  • hildi

    Can we use annotation to dependents fields? For example, if we have to validate fields: “password” and “repeat password”, this values must be the same. How we can do it?
    Thanx!

  • beeler4

    Is there a way for the validation messages to be added the actionErrors instead of the field?

  • http://jamesstarmer.com starmer

    Hildi:
    @FieldExpressionValidator(expression = “(confirmPassword == password)”, fieldName = “confirmPassword”, message = “Passwords must match”)

  • blackone

    password == passwordVerifier

  • ichigo

    Can a message be parameterized in the key attribute?

    like:
    @RequiredFieldValidator(message=”", key=”required.field”)

    and the key with a param:
    required.field = The field {0} is required.

    how can I pass the param?

  • http://home.com bob

    aSlsnV hi good site thx http://peace.com