1 Reply Latest reply on Aug 1, 2011 2:06 PM by Nick Belaevski

    Dynamic Creating UIInclude in RichFaces

    Dhivya S Newbie

      Hi ,


      I m trying to create UIInclude Tag dynamically , i m not getting the viewId (src) file.


      Any Help Greatly appreciated..



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

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

                  String binding1 = "#{cityTabBean.view}";


                  System.out.println(" Button Method binding: "+binding1);



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


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