[Project_owners] menulist problem

Didier Ernotte didier at ernotte.com
Thu Feb 8 06:15:24 PST 2007


you can try to set the attribute

editable="true" 

on the menulist, and set the value of it with "Please select a car". The menulist will have a different behavior, but it is close to what you expect.

Didier

Amin <amin.eft at gmail.com> wrote: i want to in initial user see a something like "Please select a car" or .... so it cant be in the list !!!

On 2/8/07, Ámon Tamás < sajt at amon.hu> wrote:David Murray wrote:
> Because Cars isn't a selectable thing in the list. Make another menuitem 
> with the label Cars, and make it the first thing in the menupopup.
Or selected="true"
>
> Amin wrote:
>> see this code:
>>
>> <menulist label="Cars"  > 
>>   <menupopup>
>>     <menuitem id="gm" label="general motors" />
>>     <menuitem id="buick" label="Buick" />
>>     <menuitem id="dodge" label="Dodge" /> 
>>   </menupopup>
>> </menulist>
>>
>> i want the initiay string be "Cars" but it show "general motors" why ?
> _______________________________________________ 
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners 
>
>


--
Ámon Tamás
http://linkfelho.amon.hu

_______________________________________________
Project_owners mailing list
 Project_owners at mozdev.org
http://mozdev.org/mailman/listinfo/project_owners


 _______________________________________________
Project_owners mailing list
Project_owners at mozdev.org
http://mozdev.org/mailman/listinfo/project_owners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/project_owners/attachments/20070208/3645d975/attachment.html 


More information about the Project_owners mailing list