ok it looks better,thanks!
it seems impossible with a standard component.to have a multiple select
rendered like <h:selectOneMenu/>   ..
I try to add another component to display  the selected items with a simple
combo list..


Andrew Robinson-5 wrote:
> 
> That looks right.
> 
> If you want it to look better, try:
> 
> <h:selectManyMenu value="#{queryBean.test}"
> style="width: 150px; height: 150px;">
> ...
> 
> Modify to get the effect you want
> 
> -Andrew
> 
> On 8/27/07, lmk <[EMAIL PROTECTED]> wrote:
>>
>> it's  weird!!
>>
>> here the code i use:
>>
>>   <h:selectManyMenu value="#{queryBean.test}">
>>                       <f:selectItem  itemLabel="allo" itemValue="allo"/>
>>                       <f:selectItem  itemLabel="ballo"
>> itemValue="ballo"/>
>>                           <f:selectItem  itemLabel="allo"
>> itemValue="allo"/>
>>                       <f:selectItem  itemLabel="ballo"
>> itemValue="ballo"/>
>>                           <f:selectItem  itemLabel="allo"
>> itemValue="allo"/>
>>                       <f:selectItem  itemLabel="ballo"
>> itemValue="ballo"/>
>> </h:selectManyMenu>
>>
>> and the page is like :
>>
>> http://www.nabble.com/file/p12352867/manymenu.jpg
>>
>>
>> do you see the problem ..?
>>
>>
>> lmk wrote:
>> >
>> >
>> > ok but i have a long list, and it's not eazy to  have all choices..i
>> > thinks that it exists a select box like <h:selectOneMenu/>  with
>> > possibility to selet many items with the CTRL key..
>> >
>> >
>> >
>> > Andrew Robinson-5 wrote:
>> >>
>> >> That is what h:selectManyMenu is. What HTML control are you trying to
>> >> produce?
>> >>
>> >> A select box with multiple selection enabled is just a control with a
>> >> border with one line per option tag, so it looks like a text area.
>> >>
>> >> On 8/27/07, lmk <[EMAIL PROTECTED]> wrote:
>> >>>
>> >>> But I'd like to a get  multiple select ..
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Andrew Robinson-5 wrote:
>> >>> >
>> >>> > <h:selectOneMenu />
>> >>> >
>> >>> > On 8/27/07, lmk <[EMAIL PROTECTED]> wrote:
>> >>> >>
>> >>> >> sorry i talk about combo list ..
>> >>> >>
>> >>> >> I'd like to use standard components but i dont have the render
>> that i
>> >>> >> want..
>> >>> >>
>> >>> >> with
>> >>> >> <h:selectManyMenu/> i dont get a select box but  thing like text
>> area
>> >>> >> with
>> >>> >> values to select..
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> Bruno Aranda wrote:
>> >>> >> >
>> >>> >> > Sorry, then I do not know what a "cambo" list is. I was thinking
>> >>> that
>> >>> >> > you were refering to a "combo" list, which for me is what the
>> >>> >> > selectManyMenu does - a drop down list that allows multiple
>> >>> selection.
>> >>> >> > Can you explain what a cambo list is?
>> >>> >> >
>> >>> >> > Cheers,
>> >>> >> >
>> >>> >> > Bruno
>> >>> >> >
>> >>> >> > On 27/08/07, lmk <[EMAIL PROTECTED]> wrote:
>> >>> >> >>
>> >>> >> >> the standard selectManyMenu render is not like a cambo list..
>> >>> >> >> see  the render ont the right selectManyMenu, on the left
>> >>> >> >> selectManyListBox
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> http://www.nabble.com/file/p12350965/debug.jpg
>> >>> >> >>
>> >>> >> >>
>> >>> >> >>
>> >>> >> >> Bruno Aranda wrote:
>> >>> >> >> >
>> >>> >> >> > What about the standard h:selectManyMenu?
>> >>> >> >> >
>> >>> >> >> > Cheers,
>> >>> >> >> >
>> >>> >> >> > Bruno
>> >>> >> >> >
>> >>> >> >> > On 27/08/07, lmk <[EMAIL PROTECTED]> wrote:
>> >>> >> >> >>
>> >>> >> >> >> helloo guys;
>> >>> >> >> >>
>> >>> >> >> >> Im struggled to find a useful JSF component that looks like
>> a
>> >>> cambo
>> >>> >> >> but
>> >>> >> >> >> with
>> >>> >> >> >> a multiple choice possibility; the myfaces or tomawahk
>> >>> >> >> selectManyListbox
>> >>> >> >> >> can' be rendered as well as a cambo list..
>> >>> >> >> >> Im using  myfaces,facelets,rich faces and rcFaces..
>> >>> >> >> >>
>> >>> >> >> >> do you have any solution for select many choice on a cambo
>> >>> list..?
>> >>> >> >> >>
>> >>> >> >> >> thanks a lot..
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >> --
>> >>> >> >> >> View this message in context:
>> >>> >> >> >>
>> >>> >> >>
>> >>> >>
>> >>>
>> http://www.nabble.com/cambo-list-with-multiple-choice-tf4334822.html#a12345542
>> >>> >> >> >> Sent from the MyFaces - Users mailing list archive at
>> >>> Nabble.com.
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >
>> >>> >> >> >
>> >>> >> >>
>> >>> >> >> --
>> >>> >> >> View this message in context:
>> >>> >> >>
>> >>> >>
>> >>>
>> http://www.nabble.com/cambo-list-with-multiple-choice-tf4334822.html#a12350965
>> >>> >> >> Sent from the MyFaces - Users mailing list archive at
>> Nabble.com.
>> >>> >> >>
>> >>> >> >>
>> >>> >> >
>> >>> >> >
>> >>> >>
>> >>> >> --
>> >>> >> View this message in context:
>> >>> >>
>> >>>
>> http://www.nabble.com/cambo-list-with-multiple-choice-tf4334822.html#a12351663
>> >>> >> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>>
>> http://www.nabble.com/cambo-list-with-multiple-choice-tf4334822.html#a12352009
>> >>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/cambo-list-with-multiple-choice-tf4334822.html#a12352867
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/cambo-list-with-multiple-choice-tf4334822.html#a12363544
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to