[richfaces-issues] [JBoss JIRA] Created: (RF-9286) jsFunction doesn't rerender composite components
Pavol Pitonak (JIRA)
jira-events at lists.jboss.org
Wed Sep 1 09:49:11 EDT 2010
jsFunction doesn't rerender composite components
------------------------------------------------
Key: RF-9286
URL: https://jira.jboss.org/browse/RF-9286
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core
Affects Versions: 4.0.0.Milestone2
Environment: v.4.0.0-SNAPSHOT SVN r.19031
Reporter: Pavol Pitonak
I have following page:
<h:form id="form">
<table width="400">
<tbody>
<tr>
<td><span onmouseover="updateName('Kate')" onmouseout="updateName('')">Kate</span></td>
<td><span onmouseover="updateName('John')" onmouseout="updateName('')">John</span></td>
<td><span onmouseover="updateName('Alex')" onmouseout="updateName('')">Alex</span></td>
</tr>
<tr>
<td colspan="3">
<compositecomponent:output value="#{bean.text}" id="showname"/>
</td>
</tr>
</tbody>
</table>
<a4j:jsFunction name="updateName" render="showname">
<a4j:param name="name" assignTo="#{bean.text}"/>
</a4j:jsFunction>
</h:form>
and this composite component:
<composite:interface>
<composite:attribute name="value" type="java.lang.String" required="true" />
</composite:interface>
<composite:implementation>
Name: <b><h:outputText id="name" value="#{cc.attrs.value}"/></b>
</composite:implementation>
The function above works ok is "showname" component is h:outputText. When it's composit component, it's not re-rendered.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list