The web-app-class Element

From Documentation
Revision as of 10:23, 8 August 2011 by Alicelin (talk | contribs)


The web-app-class Element


Syntax:

<web-app-class>a_class_name</web-app-class>
[Default: SimpleWebApp]

It specifies which class is used to implement the Web application. The class must have a default constructor (without any argument), and implement both the WebApp and WebAppCtrl interfaces. Instead of implementing from scratch, you can extend it from the AbstractWebApp or SimpleWebApp classes.

<system-config>
  <web-app-class>foo.MyKillerApp</web-app-class>
</system-config>

Version History

Last Update : 2011/08/08


Version Date Content
     



Last Update : 2011/08/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.