0 Replies Latest reply on Aug 1, 2011 3:13 AM by Dhivya S

    a4j:include Creating dynamically

    Dhivya S Newbie



      i want to create ui:include component dynamically, i cant able to get the jsf page in my java code.

      Here i m attached the source code:


      UIInclude include=(UIInclude) application.createComponent(UIInclude.COMPONENT_TYPE);

                  include.setId("inc"+new java.util.Date().getTime());


                  System.out.println("#View ID"+include.getViewId());


                  newTab.getFacets().put("a4jinclude", include);


      Any Help greatly appreciated