Hello,
I found the following limitation for working within facelets (2008.2) - "There is a current limitation in the Facelets environment that when using method binding, you can not pass listeners as parameters in composition templates."
I would very appreciate an example because I'm not able to imagine where is exactly the limitation.
Thank you in advance,
ANECT
Hi,
As far as I know the limitation consists in the fact that in composition components you cannot pass a value expression to those components that the template consists of.
Regards!
Are you going to improve value expression passing in the future? In components 2008 vol 1 facelets were working perfectly, problems have appeared in vol 2.
I am using MyFaces 1.2.4, facelets 1.12. Only MenuItem component throws NullPointerException
at com.infragistics.faces.menu.taglib.html.MenuItemCheckmarkTagHandler.onComponentCreated(MenuItemCheckmarkTagHandler.java:138) at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
Hi michalj,
This seems to be very strange and probably the problem is not in limitations (they exist because of bug in facelets environment). Can you give us more details about the problem - which JSF environment you use (1.1 or 1.2), which component and which attribute you use for value expression - for both cases (sucsessfull and unsucsessfull ones).
Best regards,
Christo Tsvetanov