- Timestamp:
- Apr 30, 2008, 9:56:27 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.examples/trunk/META-INF/extensions.xml
r661 r682 15 15 extends="net.sf.basedb.clients.web.menu.extensions" 16 16 > 17 <index>0</index> 18 <action-factory> 19 <factory-class> 20 net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory 21 </factory-class> 22 <parameters> 23 <type>SUBMENU</type> 24 <submenuId>hello</submenuId> 25 <title>Hello world examples!</title> 26 <tooltip>Find all examples here</tooltip> 27 <icon>/images/info.gif</icon> 28 </parameters> 29 </action-factory> 30 </extension> 31 <extension 32 id="net.sf.basedb.clients.web.menu.extensions.helloworldsimple" 33 extends="net.sf.basedb.clients.web.menu.extensions" 34 > 17 35 <index>1</index> 18 36 <about> … … 29 47 </factory-class> 30 48 <parameters> 49 <menuId>hello</menuId> 31 50 <title>Hello world!</title> 32 51 <tooltip>This is to test the extensions system</tooltip> … … 97 116 </factory-class> 98 117 <parameters> 118 <menuId>hello</menuId> 99 119 <title>Hello JSP world!</title> 100 120 <tooltip>Opens a JSP page with the message</tooltip> … … 110 130 <index>5</index> 111 131 <about> 112 <name>Hello JSP world</name>132 <name>Hello X-JSP world</name> 113 133 <description> 114 This example uses a custom JSP page to display the134 This example uses a custom X-JSP page to display the 115 135 "Hello world" message instead of a javascript popup. 136 An X-JSP file is a JSP file that has access to classes in 137 the extension's JAR file. NOTE! This example requires that 138 the XJSP compiler is installed on the server. 116 139 </description> 117 140 </about> … … 121 144 </factory-class> 122 145 <parameters> 146 <menuId>hello</menuId> 123 147 <title>Hello X-JSP world!</title> 124 148 <tooltip>Opens a X-JSP page with the message</tooltip> 125 <onClick>Main.openPopup('$HOME$/hello_world.xjsp?ID=' + getSessionId(), 'Hello JspWorld', 400, 300)</onClick>149 <onClick>Main.openPopup('$HOME$/hello_world.xjsp?ID=' + getSessionId(), 'HelloXJspWorld', 400, 300)</onClick> 126 150 <icon>~/images/xworld.png</icon> 127 151 </parameters> … … 145 169 </factory-class> 146 170 <parameters> 171 <menuId>hello</menuId> 147 172 <title>Hello Servlet world!</title> 148 173 <tooltip>Opens a Servlet generated page with the message</tooltip>
Note: See TracChangeset
for help on using the changeset viewer.