Struts Validator Example

Discussion in 'Java' started by pincopallo_it@yahoo.it, Jun 1, 2006.

  1. Guest

    I got my validation.xml which works really well when it checks in the
    jsp if the user wrote something in the form.
    I m getting crazy to tell the validation.xml to be sure the user
    selected one of this selectbox in the jsp !!!

    <div align="center">

    <html:select size="8" property="variabile"
    multiple="true" onchange="aggiornamisure(false);">
    <logic:iterate id="variabile" name="variabili" scope="request">
    <html:eek:ption
    value="<%=((DistinctVarmetValue)variabile).getCOD_VARMET()%>">
    <%=((DistinctVarmetValue)variabile).getDESCR_VARMET()%>
    </html:eek:ption>
    </logic:iterate>
    </html:select>

    </div>

    Any idea?
    Thanks
    Gio
     
    , Jun 1, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marcus Leon
    Replies:
    1
    Views:
    3,313
    Marcus Leon
    Jun 30, 2003
  2. koduru
    Replies:
    4
    Views:
    2,453
    koduru
    Jul 21, 2003
  3. Joe Bloggs
    Replies:
    1
    Views:
    7,310
    Roedy Green
    Jul 23, 2003
  4. David Thielen

    sample struts w/ I18N and validator

    David Thielen, Aug 2, 2003, in forum: Java
    Replies:
    0
    Views:
    459
    David Thielen
    Aug 2, 2003
  5. Replies:
    4
    Views:
    926
    Richter~9.6
    Feb 13, 2007
Loading...

Share This Page