[richfaces-issues] [JBoss JIRA] Closed: (RF-4024) rich:tooltip missing ajaxchild encode code.

Tatyana Romanovich (JIRA) jira-events at lists.jboss.org
Tue Aug 19 11:46:06 EDT 2008


     [ https://jira.jboss.org/jira/browse/RF-4024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tatyana Romanovich closed RF-4024.
----------------------------------



Verified

> rich:tooltip missing ajaxchild encode code.
> -------------------------------------------
>
>                 Key: RF-4024
>                 URL: https://jira.jboss.org/jira/browse/RF-4024
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>            Reporter: Victor
>            Assignee: Tsikhon Kuprevich
>            Priority: Critical
>             Fix For: 3.2.2
>
>
> 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

        



More information about the richfaces-issues mailing list