Try multiple="multiple"

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com
801.657.2909

----- Original Message -----
From: "Jack Liu" <jack....@aicent.com>
To: user@ofbiz.apache.org
Sent: Tuesday, June 16, 2009 12:20:10 PM (GMT+1000) Auto-Detected
Subject: render the select element as a list box  in ftl

Hi, All
I took me about 1 hour to solve the problem, but failed at last.
To me, I think it's a simple question. I just want to render the select
element as a list box in ftl page and allow users to make multiple
selections from the list of options.
Code lists below:
   <tr>
        <td class="label">TestMulti</td>
        <td><select name="testmul" size="2" multiple>
                <option value="b">b</option>
                <option value="a">a</option>
        <option value="c">c</option>
                 </select>
                </td>
   </tr>
But what I get is nothing but a little box with a horizontal line in it.
When I copied it to html page, it works.

Help me please, any suggestion is appreciated.

Best Regards,

Jack Liu 

Reply via email to