Results 1 to 3 of 3
  1. #1
    Albert is offline Senior Member
    Join Date
    Jun 2007
    Posts
    114
    Rep Power
    0

    Default Struts Validator Framework

    I am developing to an application using struts and its framework of validation to validate fields of input of a form.

    The validation is made of the side of the given client
    Struts uses Javascript to do it (also it is possible to make validations of the side of the server).

    My question is, Is there other way to show the error messagges?
    Because the way that I did to show the errors is through of an alert of the javascript function

    Albert:rolleyes:

  2. #2
    Eric is offline Senior Member
    Join Date
    Jun 2007
    Posts
    111
    Rep Power
    0

    Default

    Please consider this link
    Tag reference report.

  3. #3
    JavaEmpires is offline Member
    Join Date
    Dec 2007
    Posts
    19
    Rep Power
    0

    Default

    If you dont want those alert boxes then,
    just remove the onsubmit="return validate....(this);"
    attribute from the form tag....This will cause the error messages to be displayed
    on the page rather than in alert box..


    Regards
    JavaEmpires

Similar Threads

  1. Replies: 0
    Last Post: 04-07-2008, 08:54 PM
  2. Struts Validator
    By anoop.retnakumar in forum Web Frameworks
    Replies: 1
    Last Post: 03-05-2008, 07:54 AM
  3. Struts framework. Is this thread safe?
    By JavaAl2 in forum Web Frameworks
    Replies: 1
    Last Post: 01-17-2008, 04:01 AM
  4. Replies: 1
    Last Post: 07-06-2007, 05:39 PM
  5. Validator framework
    By Daniel in forum Web Frameworks
    Replies: 1
    Last Post: 06-25-2007, 06:29 AM

Posting Permissions

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