Nested selectManyMenu checks inner buttons

UI Components for JSF
Post Reply
mdzaebel
Posts: 10
Joined: 28 Jun 2014, 17:15
Location: Germany, Lüneburg

01 Oct 2016, 01:59

In the following nested selectManyMenu's any click checks all inner checkboxes too. Is this a bug or did I miss something?

Code: Select all

<p:selectManyMenu var="v1" showCheckbox="true">
   <f:selectItems value="#{['one','two']}" />
   <p:column><h:outputText value="#{v1}"/></p:column>
   <p:column>
      <p:selectManyMenu var="v2" showCheckbox="true">
         <f:selectItems value="#{['three','four']}" />
         <p:column><h:outputText value="#{v2}"/></p:column>
      </p:selectManyMenu>
   </p:column>
</p:selectManyMenu>
Thanks a lot in advance, Marc
PF 7, WildFly 11, Java EE 7, JDK 8

mdzaebel
Posts: 10
Joined: 28 Jun 2014, 17:15
Location: Germany, Lüneburg

03 Oct 2016, 12:20

It's not a bug. selectManyMenu reasonably propagates the activation to all columns, which can't be disabled. So I have to build my own component.
PF 7, WildFly 11, Java EE 7, JDK 8

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests