That's weird it works on Safari and I'm sure I tested it on Firefox last time I 
was working on that page.

You haven't modified the css have you?  Or better yet have you tested the quick 
admin page using the demo server?

Regards
Scott

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

Hi Scott.
I tried ie6.0, mozilla and firefox.
None of them renders the select element as a list box properly.




-----Original Message-----
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:42
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Hrmm might be something specific to your browser, there's an example in this 
file:
EditProductQuickAdmin.ftl
Viewable by Catalog -> GZ-1000 -> Quick Admin

If that doesn't display properly then you'll need to dig into why not for your 
browser.

Regards
Scott

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

Neither of multiple="multiple" and multiple="true" works.

-----Original Message-----
From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
Sent: 2009年6月16日 10:24
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

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