Child pages
  • Adding a Normal WOComponent Page to an ERModernLook-based application

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
titleMainNavigationController#helloWorld() method referenced by the "action" key in the plist
public ERXComponent helloWorld() {
	ERXComponent nextPage = null; 	nextPage = (HelloWorld)  myApp().pageWithName(HelloWorld.class.getName(), session().context());
	return nextPage;
}

...

Code Block
languagejava
titleAdditional method in MainNavigationController.java
public WOComponent helloWorld() {
	WOComponent nextPage = null;
	nextPage = D2W D2W.factory().pageForConfigurationNamed("HelloWorld", session());
	return nextPage;
}