RichFaces
  1. RichFaces
  2. RF-5

The content of the rich components is not rendered if particular components are direct children

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: None
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Environment:
      facelets
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      using some wrapper such as h:panelGrid for content with block layout or h:panelGroup for non-block elements

      Show
      using some wrapper such as h:panelGrid for content with block layout or h:panelGroup for non-block elements
    • Estimated Difficulty:
      Medium
    • Similar Issues:
      Show 10 results 

      Activity

      Hide
      Sergey Smirnov
      added a comment -

      so, h:form, a4j:include, ui: decode does not work inside the rich:panel and rich:modalPanel

      see:
      http://jboss.com/index.html?module=bb&op=viewtopic&t=103348
      http://jboss.com/index.html?module=bb&op=viewtopic&t=103677

      At the same time, if set getRendersChildren to false, the problem is gone

      i.e.
      public boolean getRendersChildren()

      { return false; }

      looks like a quick fix.

      I have tested it inside the Ajax zone, the panel also works fine.

      So, what was the motivation to set getRendersChildren to true

      Show
      Sergey Smirnov
      added a comment - so, h:form, a4j:include, ui: decode does not work inside the rich:panel and rich:modalPanel see: http://jboss.com/index.html?module=bb&op=viewtopic&t=103348 http://jboss.com/index.html?module=bb&op=viewtopic&t=103677 At the same time, if set getRendersChildren to false, the problem is gone i.e. public boolean getRendersChildren() { return false; } looks like a quick fix. I have tested it inside the Ajax zone, the panel also works fine. So, what was the motivation to set getRendersChildren to true
      Hide
      Alexander Smirnov
      added a comment -

      Problem in Templates compiler. Generated code expect template method doEncodeChildren, intead of override Renderer#encodeChildren(FacesContext,UIComponent)

      Show
      Alexander Smirnov
      added a comment - Problem in Templates compiler. Generated code expect template method doEncodeChildren, intead of override Renderer#encodeChildren(FacesContext,UIComponent)

        People

        • Assignee:
          Alexander Francuzov
          Reporter:
          Sergey Smirnov
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: