Yes, definitely.
I got the source code through the browse then saved it as a html page, which 
renders the list box properly.


-----Original Message-----
From: Ashish Nagar [mailto:ashish.na...@hotwaxmedia.com] 
Sent: 2009年6月16日 18:12
To: user@ofbiz.apache.org
Subject: Re: render the select element as a list box in ftl

Please verify that the page source of the generated web page contains
the desired dropdown code only once. You can check it using 'view page
source' option.

--
Ashish Nagar

Jack Liu wrote:
> Hi Ashish,
> It works properly.
>
> -----Original Message-----
> From: Ashish Nagar [mailto:ashish.na...@hotwaxmedia.com] 
> Sent: 2009年6月16日 13:20
> To: user@ofbiz.apache.org
> Subject: Re: render the select element as a list box in ftl
>
> Hello Jack,
>
> Can you please check that can you make any option default selected using
> <option selected value="b">b</option>?
>
> Thanks & Regards,
> --
> Ashish Nagar
>
> Jack Liu wrote:
>   
>> But why does it render normally when I copy it from ftl page to htm page?
>> It's the problem of ftl or OFBiz itself?
>>
>> -----Original Message-----
>> From: Scott Gray [mailto:scott.g...@hotwaxmedia.com] 
>> Sent: 2009年6月16日 11:13
>> To: user@ofbiz.apache.org
>> Subject: Re: render the select element as a list box in ftl
>>
>> Good question, I don't know but I'm sure google will.
>>
>> Regards
>> Scott
>>
>> ----- Original Message -----
>> From: "Jack Liu" <jack....@aicent.com>
>> To: user@ofbiz.apache.org
>> Sent: Tuesday, June 16, 2009 1:07:21 PM (GMT+1000) Auto-Detected
>> Subject: RE: render the select element as a list box  in ftl
>>
>> Scott, you are right. I can't see any list box in Quick Admin as rendered in 
>> my own page.
>> I use ie7.0. How should I do with this browser?
>> Thank you.
>>
>> -----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