how to understand which item was clicked in p:selectCheckboxMenu

UI Components for JSF
Post Reply
Rmin_37
Posts: 1
Joined: 10 Apr 2016, 11:06

19 Apr 2018, 19:34

is there any way to understand which item was clicked in p:selectCheckboxMenu with ajax?
something like :

Code: Select all

<f:selectItems value="#{courseListMg.categoryList}" var="cats"
                                   itemLabel="{cats.title}" itemValue="#{cats.categoryId}">
            <p:ajax event="change" listener="#{courseListMg.categorySelect(cats)}"/>
 </f:selectItems>

i searched a lot but couldn't find a way

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 67 guests