Ignore:
Timestamp:
Apr 15, 2008, 2:28:10 PM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #103: Create example extensions

Added X-JSP example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.examples/trunk/META-INF/extensions.xml

    r656 r661  
    105105  </extension>
    106106  <extension
     107    id="net.sf.basedb.clients.web.menu.extensions.helloxjspworld"
     108    extends="net.sf.basedb.clients.web.menu.extensions"
     109    >
     110    <index>5</index>
     111    <about>
     112      <name>Hello JSP world</name>
     113      <description>
     114        This example uses a custom JSP page to display the
     115        "Hello world" message instead of a javascript popup.
     116      </description>
     117    </about>
     118    <action-factory>
     119      <factory-class>
     120        net.sf.basedb.clients.web.extensions.menu.FixedMenuItemFactory
     121      </factory-class>
     122      <parameters>
     123        <title>Hello X-JSP world!</title>
     124        <tooltip>Opens a X-JSP page with the message</tooltip>
     125        <onClick>Main.openPopup('$HOME$/hello_world.xjsp?ID=' + getSessionId(), 'HelloJspWorld', 400, 300)</onClick>
     126        <icon>~/images/xworld.png</icon>
     127      </parameters>
     128    </action-factory>
     129  </extension>
     130  <extension
    107131    id="net.sf.basedb.clients.web.menu.extensions.helloservletworld"
    108132    extends="net.sf.basedb.clients.web.menu.extensions"
    109133    >
    110     <index>5</index>
     134    <index>6</index>
    111135    <about>
    112136      <name>Hello Servlet world</name>
Note: See TracChangeset for help on using the changeset viewer.