PrimeFaces version: 1.0.0.RC
JSF implementation name/version: MyFaces 1.2.8 on facelets 1.1.11
Server name/version: JBOSS 4.0.5.GA
Problem:
If a p:dataTable is using a lazy="true" and its value attribute points to a method returning a LazyDataModel , then any h:commandLink within the p:dataTable will be broken. They will still render, but not function properly when clicked.
Bug: lazyDataModel dataTable and h:commandLink
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
This is not a bug actually, known limitations of lazy loading which we'll be working on to fix soon.
Hi, do you have any update on this? We are using version 3.1 and still have issues on click of p:commandLink inside p:dataTable with LazyDataModel. The problem is, it is looking for an instance of the managedbean which it cant find. Like:
javax.el.MethodNotFoundException: Method not found: com.vzw.cms.webui.actions.MyAction@1b0f9af.onRowSelect()
at org.apache.el.util.ReflectionUtil.getMethod(ReflectionUtil.java:138)
at org.apache.el.parser.AstValue.invoke(AstValue.java:194)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:153)
javax.el.MethodNotFoundException: Method not found: com.vzw.cms.webui.actions.MyAction@1b0f9af.onRowSelect()
at org.apache.el.util.ReflectionUtil.getMethod(ReflectionUtil.java:138)
at org.apache.el.parser.AstValue.invoke(AstValue.java:194)
at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:43)
at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:56)
at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:153)
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
Share your bean and xhtml, and use Code button to include your xhtml/bean code in code tags.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Information
-
Who is online
Users browsing this forum: No registered users and 36 guests