facebook

Strus 1.2 Form, Action & JSP Wizard and Validation

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #252964 Reply

    Hi,

    I’m currently trying to build a Struts 1.2 WebApp using MyEclipse; until recently I used NetBeans but prefer the Eclipse IDE over Netbeans.

    Now, I created a new Form, Action & JSP using the Wizard (Ctrl-N, MyEclipse, Web-Struts, Struts 1.2, Struts 1.2 Form, action & JSP) and, for the Form, choose “Form Impl” – “DynamicFormBean” and “Dynamic Type” – “org.apache.struts.validator.DynaValidatorForm”.

    Then I added the Properties to the Form. Worked well.

    However, I didn’t find a place to enter the Validation Rules for that Form.

    Did I miss something here (i.e. a Way to add them using the Wizard) or will I have to create them manually, i.e. by Copy & Paste of the Form’s Properties to the validation.xml and then enter the Rules manually?

    MTIA!
    _ralf_

    #253023

    Riyad Kalla
    Member

    Ralf,
    You will need to add them manually, the wizard doesn’t cover validation rules at this time.

    #253055

    Riyad,

    @support-rkalla wrote:

    Ralf,
    You will need to add them manually, the wizard doesn’t cover validation rules at this time.

    thanks for the reply & the clarification! Is such a Feature on a Todo List (just searched the “Features”-Forum and didn’t find a request for such a Feature)?

    Cheers,
    _ralf_

    #253143

    Riyad Kalla
    Member

    Ralf,
    Support for validation has been requested surprisingly few times, we are working on enhancing the struts tools but that wasn’t high on our list right now.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Strus 1.2 Form, Action & JSP Wizard and Validation

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