0 Replies Latest reply on Sep 4, 2008 11:10 AM by josey61

    Dynamic Creation of Include class Ver 3.1.2 SP1

    josey61

      I'm writing a custom JSF tag and need to add the Include UI component to the page during the rendering of my custom tag.

      I create an instance of the Include class, set the id, viewId and layout properties. The instance is added to the child list of my custom tag.

      Include South = new Include();
      South.setViewId("mypage.jsp");
      South.setLayout("block");
      South.setId("South");
      myTag.getChildren().add(myTag.getChildCount(), South);

      The rendering of the Include class is only producing the following

      <div id="South">
      </div>
      


      The rendering should include the contents of mypage.jsp within the . Any thoughts?

      Also - I can not find the source for this class for version 3.1.2 sp1