rich:tooltip missing ajaxchild encode code.
-------------------------------------------
Key: RF-4024
URL: https://jira.jboss.org/jira/browse/RF-4024
Project: RichFaces
Issue Type: Bug
Reporter: Victor
Priority: Critical
on the page:
<rich:tooltip>
<h:panelGroup id="tooltipGroup">
some value outputs
</h:panelGroup>
<rich:tooltip>
<a4j:commandButton reRender="tooltipGroup" ..../>
as result tooltipGroup will not rerender and tooltipGroup missed in the
Ajax-Update-Ids
Cause of this issue is following method in the UIToolTip class (notice else
clause)
public void encodeAjaxChild(FacesContext context, String path, Set ids,
Set renderedAreas) throws IOException {
if(ids.contains(this.getClientId(context) + "content")){
AjaxContext ajaxContext =
AjaxContext.getCurrentInstance(context);
ToolTipRenderer r =
(ToolTipRenderer)getRenderer(context);
r.encodeTooltipText(context, this);
ajaxContext.getAjaxRenderedAreas().add(this.getClientId(context) + "content");
} else {
// todo
// AjaxContext ajaxContext =
AjaxContext.getCurrentInstance(context);
// ajaxContext.e
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues