I have been fighting with this all day.
My issue is with both commandLink and commandButton. I can't get the action or actionListener method to fire on my managed bean when I use AJAX. I get no exception or message. I have tried ViewScoped and SessionScoped. When i set ajax="false" my method in the bean is hit like it should be.
Finally tonight I fired up the showcase app and commandLink and commandButton both work fine. I copied the primefaces 2.2 snapshot jar out of the showcase app into my app and now my app is working fine. There is something different between the snapshot and the 2.2 release but I'm not sure if it is a configuration issue or not. I tried to copy the 2.2 release into the showcase app but that didn't go so well and it's getting too late to look into that tonight.
Primefaces 2.2 with Mojarra-2.0.3-FCS and Tomcat 7.0.8
Problems with commandLink and commandButton
This still doesn't work for me. I tried using @this and @all in the process and still did not get a hit on my method. I swapped the primefaces jar with 2.2RC2 and it works again. Something is different between RC2 and the 2.2 release.
Code: Select all
<p:commandLink process="@this" update="centerLayout" action="#{editMemberBean.loadMemberDetail}">
<h:outputText value="#{editMemberBean.lastName}" />
</p:commandLink>
Primefaces 2.2.1
Mojarra-2.0.4
Tomcat 7.0.8
Mojarra-2.0.4
Tomcat 7.0.8
-
- Information
-
Who is online
Users browsing this forum: No registered users and 34 guests