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.

Reply via email to