Revision history [back]

click to hide/show revision 1
initial version

answered 2012-03-06 09:39:55 +0800

terrytornado gravatar image terrytornado flag of Germany

http://www.oxitec.de/

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

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More