-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
You must modify the attached sample codes to your component names which are declared in your zul-file..
/* get an instance of the borderlayout defined in the zul-file */
Borderlayout bl = (Borderlayout) Path.getComponent("/outerIndexWindow/borderlayoutMain");
/* get an instance of the searched CENTER layout area */
Center center = bl.getCenter();
/* clear the center child comps */
center.getChildren().clear();
/* create the page and put it in the center layout area */
Executions.createComponents(zulFilePathName, center, null);
best Stephan