f:setPropertyActionListener - PrimeFaces-3.0.M4-SNAPSHOT

UI Components for JSF
murli.p.israni
Posts: 31
Joined: 15 Oct 2011, 14:12
Location: Mumbai, India

22 Oct 2011, 15:02

f:setPropertyActionListener is not working under p:commandButton

javax.servlet.ServletException: /erp/bp/list.xhtml @29,43 <f:setPropertyActionListener> Parent is not of type ActionSource, type is: org.primefaces.component.layout.LayoutUnit@449260
javax.faces.webapp.FacesServlet.service(FacesServlet.java:321)
com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:118)
com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:110)

..
javax.faces.view.facelets.TagException: /erp/bp/list.xhtml @29,43 <f:setPropertyActionListener> Parent is not of type ActionSource, type is: org.primefaces.component.layout.LayoutUnit@449260
com.sun.faces.facelets.tag.jsf.core.SetPropertyActionListenerHandler.apply(SetPropertyActionListenerHandler.java:111)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
com.sun.faces.facelets.tag.jsf.core.FacetHandler.apply(FacetHandler.java:101)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:162)
com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:89)
com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:79)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:304)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:363)
com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:342)
com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:196)
com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:104)
javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:94)
Thanks,
Murli Israni

User avatar
bercolax
Posts: 133
Joined: 02 Aug 2009, 13:27
Location: Courtallam, India
Contact:

22 Oct 2011, 18:51

Is it working without PrettyFaces ?
PrimeFaces 3.4, Seam Faces 3.0.2.Final, Glassfish v3.1, Mojarra 2.1.10, NetBeans 7.2, Hibernate JPA 2.0, Seam Persistence 3.0.0.Final Theme default HOT-SNEAKS

murli.p.israni
Posts: 31
Joined: 15 Oct 2011, 14:12
Location: Mumbai, India

22 Oct 2011, 20:37

This was fine in PF 3.0 M3 with PrettyFaces, any solution that changes for this area from M3-to-M4.
Thanks,
Murli Israni

jguerra
Posts: 51
Joined: 26 Aug 2009, 13:03
Contact:

27 Oct 2011, 12:11

I have the same issue. Any ideas how to get sorted with this problem??. I am jumping from PF 3.0M2 to M4!

Thanks,

User avatar
bercolax
Posts: 133
Joined: 02 Aug 2009, 13:27
Location: Courtallam, India
Contact:

27 Oct 2011, 12:28

I am using 3.0 M4 SNAPSHOT along with Pretty Faces (just as SeamFaces has some dependency to it). But not facing issues.
PrimeFaces 3.4, Seam Faces 3.0.2.Final, Glassfish v3.1, Mojarra 2.1.10, NetBeans 7.2, Hibernate JPA 2.0, Seam Persistence 3.0.0.Final Theme default HOT-SNEAKS

jguerra
Posts: 51
Joined: 26 Aug 2009, 13:03
Contact:

27 Oct 2011, 13:16

what it is puzzling me it the fact that when you switch jar from PF 3.0M4 back to M2, it works perfectly. I am also using Mojarra 2.1.3 and GF 3.1.1!.

stier01
Posts: 23
Joined: 27 Aug 2011, 15:47

27 Oct 2011, 13:39

i'm facing exact the same problems.

recently there was a similar thread which has been answered by one of the PF team members. unfortunately this answer is not really helpful:
viewtopic.php?f=3&t=15594

I guess he tried to explain that the problem is going to be fixed in the next release, because they are aware of it and therefore just did not update the showcase.

regards
PF 3.0 RC1 SNAPSHOT on Mojarra-2.1.2, Tomcat 7.0

jguerra
Posts: 51
Joined: 26 Aug 2009, 13:03
Contact:

27 Oct 2011, 14:24

Thanks four your feedback!

Hopefully it will be fixed soon, otherwise I am gonna be stuck with M2 for a while!!

Cheers

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

27 Oct 2011, 14:46

Maybe should create an issue if you think it is an bug?
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

jguerra
Posts: 51
Joined: 26 Aug 2009, 13:03
Contact:

27 Oct 2011, 15:14

I filed an issue just in case it could be problem. Not sure whether someone else have faced the same problem-workaround, but in my case it is just a matter of swapping the PF jar. Hopefully PF folks will take a look at it.

http://code.google.com/p/primefaces/iss ... 1319720689

Cheers

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests