MyFaces Trinidad
  1. MyFaces Trinidad
  2. TRINIDAD-835

PanelTip content not rendered in content pane

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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");

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development