You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2010/03/02 23:34:27 UTC
[jira] Resolved: (MYFACES-2583) f:ajax cannot retrieve clientId
from component
[ https://issues.apache.org/jira/browse/MYFACES-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Korherr resolved MYFACES-2583.
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-beta-3
Assignee: Jakob Korherr
> f:ajax cannot retrieve clientId from component
> ----------------------------------------------
>
> Key: MYFACES-2583
> URL: https://issues.apache.org/jira/browse/MYFACES-2583
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0-beta-2
> Environment: JSF
> Reporter: Ganesh Jung
> Assignee: Jakob Korherr
> Fix For: 2.0.0-beta-3
>
> Attachments: MyFaces_Test.war
>
>
> This code:
> <h:form id="myForm">
> <h:inputText value="#{myBean.test}">
> <f:ajax render="#{myBean.bindingMyTest.clientId}" event="keyup"/>
> </h:inputText>
> <h:inputText id="myText" value="#{myBean.test}" binding="#{myBean.bindingMyTest}" />
> </h:form>
> produces java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
> while this works:
> <h:form id="myForm">
> <h:inputText value="#{myBean.test}">
> <f:ajax render="myForm:myText" event="keyup"/>
> </h:inputText>
> <h:inputText id="myText" value="#{myBean.test}"/>
> </h:form>
> On Mojarra both work fine. My guess is here's some problem with the special lifecycle of bindings properties.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.