[
http://jira.jboss.com/jira/browse/RF-3114?page=comments#action_12411518 ]
Alexander Smirnov commented on RF-3114:
---------------------------------------
There was a bug in the RichFaces 3.1.x. In the facelets and JSF 1.2 environment, property
type check have been bypassed.
By the original design, even from first Ajax4jsf versions, EL-expressions for an event
property have been disabled.
It could provide unpredictable errors if attribute value changed between requests.
<a4j:support event="#{eventName}" is not working in
3.2.0 SR1
-------------------------------------------------------------
Key: RF-3114
URL:
http://jira.jboss.com/jira/browse/RF-3114
Project: RichFaces
Issue Type: Bug
Reporter: Hrvoje Jo
Assigned To: Nick Belaevski
Fix For: 3.2.1
Hello!
In 3.2.0 version <a4j:support event="#{eventName}" is not working (It works
in older versions). When you put name directly it is ok (<a4j:support
event="onclick") but when you pass it in as a variable, error shows with report
08:29:23,497 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw
exception
javax.faces.FacesException: Attribute event for ajax support component j_id22 must be
literal
at
org.ajax4jsf.component.UIAjaxSupport.setValueExpression(UIAjaxSupport.java:79)
at
com.sun.facelets.tag.jsf.ComponentRule$ValueExpressionMetadata.applyMetadata(ComponentRule.java:69)...
(The comment is added at
http://jira.jboss.com/jira/browse/RF-2320)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira