And in Form Widgets
<field name="country">
<drop-down allow-multiple="true" size="10">
<list-options list-name="countryList"
key-name="name"
description="${name}"/>
</drop-down>
</field>
I can't get a list box either, though countryList has more than 200 records.
-----Original Message-----
From: Jack Liu [mailto:[email protected]]
Sent: 2009年6月17日 14:30
To: [email protected]
Subject: RE: render the select element as a list box in ftl
Hi, Scott
I want it to work properly on IE 6.0 or 7.0, how should I do?
Thank you in advance.
-----Original Message-----
From: Scott Gray [mailto:[email protected]]
Sent: 2009年6月16日 16:22
To: [email protected]
Subject: Re: render the select element as a list box in ftl
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" <[email protected]>
To: [email protected]
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:[email protected]]
Sent: 2009年6月16日 10:42
To: [email protected]
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" <[email protected]>
To: [email protected]
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:[email protected]]
Sent: 2009年6月16日 10:24
To: [email protected]
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" <[email protected]>
To: [email protected]
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