When AutoComplete is placed inside a DataTable, selectListener event is not fired.
<h:dataTable id="dt" value="#{bean.students}" var="student" >
<h:column >
<p:autoComplete id="st" value="#{bean.selectedStudent}"
completeMethod="#{bean.getAllStudents}" maxResults="10"
selectListener="#{bean.checkStudentStatus}" onSelectUpdate="messages"/>
<h:outputText id="messages" value="#{bean.studentStatusMsg}" />
</h:column>
</h:dataTable>
Issue with SelectListener when AutoComplete inside DataTable
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Try 2.2.RC1's p:dataTable to see if it makes a change.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
2.2. is really cool
-
- Information
-
Who is online
Users browsing this forum: No registered users and 54 guests