SelectOneMenu custom content values fixed

UI Components for JSF
Post Reply
maxtorzito
Posts: 96
Joined: 19 Jan 2011, 17:00

28 Apr 2011, 17:52

Hi i want to do a selectonemenu with custom content, like the showcase, but i want to do with fixed values, i dont know how to do it, my selectonemenu only display the item with abc, how can i do to show the 2 columns like in showcase,

i have this:

Code: Select all

<p:selectOneMenu>
                                     <f:selectItem itemLabel="abc" itemValue="1" />
                                       <p:column>
                                        <p:graphicImage value="images/img.jpg"
                                                        width="40" height="50"/>
                                    </p:column>
                                    <p:column>
                                        <h:outputLabel value="HELLO " />
                                    </p:column>
                                </p:selectOneMenu>

Primefaces 5.0
Primefaces Extensions 1.2.1
Omnifaces 1.8.1
JDK 1.7.0_25
MyFaces 2.1.15
Ubuntu
Apache TomEE 1.7.0 JAX-RS

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 61 guests