You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tomas Havelka (JIRA)" <de...@myfaces.apache.org> on 2007/11/23 13:55:43 UTC

[jira] Created: (TRINIDAD-835) PanelTip content not rendered in content pane

PanelTip content not rendered in content pane
---------------------------------------------

                 Key: TRINIDAD-835
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-835
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.0.4-core
            Reporter: Tomas Havelka
             Fix For: 1.0.5-core


PanelTip renderer maybe renders panelTip content in wrong place. I think it has to render panelTip content inside span with style selector af|panelTip::content instead of leaving this empty and rendering content after it. 

Code fragment from PanelTipRenderer

    // content
    rw.startElement("span", null);
    renderStyleClass(context, rc,  SkinSelectors.AF_PANEL_TIP_CONTENT_STYLE_CLASS);
    rw.endElement("span");

    encodeAllChildren(context, component);

should be changed to

    // content
    rw.startElement("span", null);
    renderStyleClass(context, rc,  SkinSelectors.AF_PANEL_TIP_CONTENT_STYLE_CLASS);

    encodeAllChildren(context, component);
    rw.endElement("span"); 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-835) PanelTip content not rendered in content pane

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-835.
-----------------------------------------

    Resolution: Fixed

> PanelTip content not rendered in content pane
> ---------------------------------------------
>
>                 Key: TRINIDAD-835
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-835
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.4-core
>            Reporter: Tomas Havelka
>             Fix For: 1.0.5-core
>
>
> PanelTip renderer maybe renders panelTip content in wrong place. I think it has to render panelTip content inside span with style selector af|panelTip::content instead of leaving this empty and rendering content after it. 
> Code fragment from PanelTipRenderer
>     // content
>     rw.startElement("span", null);
>     renderStyleClass(context, rc,  SkinSelectors.AF_PANEL_TIP_CONTENT_STYLE_CLASS);
>     rw.endElement("span");
>     encodeAllChildren(context, component);
> should be changed to
>     // content
>     rw.startElement("span", null);
>     renderStyleClass(context, rc,  SkinSelectors.AF_PANEL_TIP_CONTENT_STYLE_CLASS);
>     encodeAllChildren(context, component);
>     rw.endElement("span"); 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.