Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-835

PanelTip content not rendered in content pane

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.4-core
    • Fix Version/s: 1.0.5-core
    • Component/s: Components
    • Labels:
      None

      Description

      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");

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              havis Tomas Havelka
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: