i've been looking for every corner of internet this question, and i didn't have success to find a solution, i made some examples with RichPanelAccordion but i haven't find some equivalent
This is my code for RichPanelAccordion
I create the Header of panel
List<UIComponent> child = getPh3().getChildren();
RichPanelAccordion GCHeader = new RichPanelAccordion();
GCHeader.setId("PanelMenuHeader");
GCHeader.setStyleClass("HeaderGCMenu");
GCHeader.setShortDesc("Menu");
GCHeader.setChildCreation("immediate");
Then add nodes or childs to the Header
RichShowDetailItem PBR = new RichShowDetailItem();
PBR.setText("Child Node");
PBR.setIcon("/Images/config_icon.png");
PBR.setStyleClass("ChildGCMenu");
GCHeader.getChildren().add(PBR);
How can i do this with RichTree instead?
RichTree rt = new RichTree();
Im using JDeveloper