[richfaces-issues] [JBoss JIRA] Commented: (RF-2320) The function must be used with a prefix when a default namespace is not specified PROBLEM
Hrvoje Jo (JIRA)
jira-events at lists.jboss.org
Thu Apr 17 02:43:45 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-2320?page=comments#action_12409268 ]
Hrvoje Jo commented on RF-2320:
-------------------------------
Hello!
While we are at this subject, <a:support event="#{eventName}" is not working in 3.2.0. When you put name directly it is ok (<a: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 function must be used with a prefix when a default namespace is not specified PROBLEM
> -----------------------------------------------------------------------------------------
>
> Key: RF-2320
> URL: http://jira.jboss.com/jira/browse/RF-2320
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Reporter: Tomislav Jakopec
> Assigned To: Nick Belaevski
> Fix For: 3.2.1
>
>
> here is my code and it working fine on 3.1.4 GA but 3.2.0 SNAPSHOT not :(
> <t:panelGrid columns="4">
> <t:outputText value="#{messages['report.trenutniDatum']}" />
> <t:selectBooleanCheckbox
> value="#{izvjestajZaposlenik.trenutniDatum}"
> onkeypress="return disableEnter(event);">
> <a:support event="onclick"
> actionExpression="#{izvjestajZaposlenik.setTrenutniDatum(!izvjestajZaposlenik.trenutniDatum)}"
> reRender="datumVazenja" />
> </t:selectBooleanCheckbox>
> <t:outputText
> value="#{messages['maticni.zaposlenik.datumVazenja']}" />
> <r:calendar enableManualInput="true"
> value="#{izvjestajZaposlenik.datumVazenja}" id="datumVazenja"
> disabled="#{izvjestajZaposlenik.trenutniDatum}"
> inputStyle="width: 90px"
> oninputkeypress="return disableEnter(event);"
> datePattern="#{operKonv.postavkeOperatera.prikazDatuma}" />
> </t:panelGrid>
--
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
More information about the richfaces-issues
mailing list