Issue with SelectListener when AutoComplete inside DataTable

UI Components for JSF
Post Reply
leela
Posts: 6
Joined: 16 Aug 2010, 22:12

16 Aug 2010, 22:26

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>

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

17 Aug 2010, 16:04

Try 2.2.RC1's p:dataTable to see if it makes a change.

leela
Posts: 6
Joined: 16 Aug 2010, 22:12

17 Aug 2010, 19:28

We tried that too...
p:dataTable or h:dataTable doesn't really make any difference.

leela
Posts: 6
Joined: 16 Aug 2010, 22:12

17 Aug 2010, 20:58

Actually updated our jar to 2.2 RC1 now and it all works :) thank you very much for the suggestion.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

17 Aug 2010, 21:01

2.2. is really cool ;)

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 54 guests