You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by lmk <lo...@yahoo.fr> on 2007/08/23 16:53:57 UTC

[Myfaces][facelets] selectManyListbox display problem

helloo;

I have a strange problem with selectManyListbox or selectManayMeny, I don't
get usual display like a simple html listbox..

http://www.nabble.com/file/p12295250/debug.jpg 

code:

<h:outputText value="#{msg.label_role}"  />
<h:selectManyListbox value="#{queryBean.test}">
<f:selectItems value="#{queryBean.roleItems}" />
</h:selectManyListbox> 
<h:outputText value="#{msg.label_role}  "  />
<h:selectManyMenu value="#{queryBean.test}">
<f:selectItems value="#{queryBean.roleItems}" />
</h:selectManyMenu> 		


how to get a simple manyListBox ?

thanks
-- 
View this message in context: http://www.nabble.com/-Myfaces--facelets--selectManyListbox-display-problem-tf4318050.html#a12295250
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: [Myfaces][facelets] selectManyListbox display problem

Posted by lmk <lo...@yahoo.fr>.
Im wondering  if  the probleme  is caused by using facelets and ajax4jsf
..that chang the render of component.

I' just like to have a combo box with multiple select..

thanks..


lmk wrote:
> 
> helloo;
> 
> I have a strange problem with selectManyListbox or selectManayMeny, I
> don't get usual display like a simple html listbox..
> 
>  http://www.nabble.com/file/p12295250/debug.jpg 
> 
> code:
> 
> <h:outputText value="#{msg.label_role}"  />
> <h:selectManyListbox value="#{queryBean.test}">
> <f:selectItems value="#{queryBean.roleItems}" />
> </h:selectManyListbox> 
> <h:outputText value="#{msg.label_role}  "  />
> <h:selectManyMenu value="#{queryBean.test}">
> <f:selectItems value="#{queryBean.roleItems}" />
> </h:selectManyMenu> 		
> 
> 
> how to get a simple manyListBox ?
> 
> thanks
> 

-- 
View this message in context: http://www.nabble.com/-Myfaces--facelets--selectManyListbox-display-problem-tf4318050.html#a12313951
Sent from the MyFaces - Users mailing list archive at Nabble.com.