velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Brisson" <cla...@savoirweb.com>
Subject Re: multiple select list
Date Fri, 28 Mar 2003 04:02:58 GMT
not really a velocity question...

If you are using a framework like Struts or Turbine, you should rather post your question
to the corresponding list.

CloD

----- Original Message -----
From: "Luke Majewski" <luke.majewski@verizon.net>
To: <velocity-user@jakarta.apache.org>
Sent: vendredi 28 mars 2003 04:14
Subject: multiple select list


I'm having some trouble getting started using a multiple select list widget of the form

    <select multiple size=6 name=resourceLanguageId[]>

        #foreach ($lang in $languages)
            <option value="$lang.id"
            #if ($lang.flag) selected #end
        >$lang.name
        #end

    </select>

I am stuck trying to figure out where to go from here, displaying the items is fine, but I'm
not sure how to pass the information
about which items are selected to my java code.  Can anyone point me the right direction?

Thank you,

Luke Majewski
Center for Promotion of Child Development Through Primary Care


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Mime
View raw message