Changeset 1019 for extensions/net.sf.basedb.examples/trunk/META-INF
- Timestamp:
- Apr 3, 2009, 9:14:51 AM (13 years ago)
- Location:
- extensions/net.sf.basedb.examples/trunk/META-INF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.examples/trunk/META-INF/extensions.xml
r682 r1019 1 1 <?xml version="1.0" encoding="UTF-8" ?> 2 <extensions xmlns="http://base.thep.lu.se/extensions.xsd"> 2 <extensions xmlns="http://base.thep.lu.se/extensions.xsd" 3 id-base="net.sf.basedb.examples.extensions."> 3 4 <about> 4 5 <name>Extensions example package</name> … … 12 13 </about> 13 14 <extension 14 id=" net.sf.basedb.clients.web.menu.extensions.helloworld"15 id="menu.helloworld" 15 16 extends="net.sf.basedb.clients.web.menu.extensions" 16 17 > … … 30 31 </extension> 31 32 <extension 32 id=" net.sf.basedb.clients.web.menu.extensions.helloworldsimple"33 id="menu.helloworldsimple" 33 34 extends="net.sf.basedb.clients.web.menu.extensions" 34 35 > … … 57 58 58 59 <extension 59 id=" net.sf.basedb.clients.web.menu.extensions.helloworldfactory"60 id="menu.helloworldfactory" 60 61 extends="net.sf.basedb.clients.web.menu.extensions" 61 62 > … … 70 71 <action-factory> 71 72 <factory-class> 72 net.sf.basedb.examples.extensions. HelloWorldFactory73 net.sf.basedb.examples.extensions.menu.HelloWorldFactory 73 74 </factory-class> 74 75 </action-factory> … … 76 77 77 78 <extension 78 id=" net.sf.basedb.clients.web.menu.extensions.hellouser"79 id="menu.hellouser" 79 80 extends="net.sf.basedb.clients.web.menu.extensions" 80 81 > … … 90 91 <action-factory> 91 92 <factory-class> 92 net.sf.basedb.examples.extensions. HelloUserFactory93 net.sf.basedb.examples.extensions.menu.HelloUserFactory 93 94 </factory-class> 94 95 <parameters> … … 100 101 101 102 <extension 102 id=" net.sf.basedb.clients.web.menu.extensions.hellojspworld"103 id="menu.hellojspworld" 103 104 extends="net.sf.basedb.clients.web.menu.extensions" 104 105 > … … 125 126 </extension> 126 127 <extension 127 id=" net.sf.basedb.clients.web.menu.extensions.helloxjspworld"128 id="menu.helloxjspworld" 128 129 extends="net.sf.basedb.clients.web.menu.extensions" 129 130 > … … 153 154 </extension> 154 155 <extension 155 id=" net.sf.basedb.clients.web.menu.extensions.helloservletworld"156 id="menu.helloservletworld" 156 157 extends="net.sf.basedb.clients.web.menu.extensions" 157 158 > … … 178 179 </extension> 179 180 181 <extension 182 id="toolbar.iteminfo" 183 extends="net.sf.basedb.clients.web.toolbar.item.all" 184 > 185 <index>1</index> 186 <about> 187 <name>Show item info</name> 188 <description> 189 This example creates a toolbar button on all single-item 190 pages that opens a JSP page that displays some information 191 about the item. 192 </description> 193 </about> 194 <action-factory> 195 <factory-class> 196 net.sf.basedb.examples.extensions.toolbar.InfoButtonFactory 197 </factory-class> 198 <parameters> 199 <title>More info...</title> 200 <tooltip>Show some information about $NAME</tooltip> 201 <icon>/images/info.gif</icon> 202 <onClick>Examples.showItemInfo('$TYPE', $ID)</onClick> 203 <script>~/scripts/examples.jsp</script> 204 </parameters> 205 </action-factory> 206 </extension> 207 <extension 208 id="toolbar.filterselected" 209 extends="net.sf.basedb.clients.web.toolbar.list.annotatable" 210 > 211 <index>1</index> 212 <about> 213 <name>Annotation filter</name> 214 <description> 215 This example creates a toolbar button that can apply a 216 special filter for showing only items that has been 217 annotated or only items that has no annotations. 218 </description> 219 </about> 220 <action-factory> 221 <factory-class> 222 net.sf.basedb.examples.extensions.toolbar.InfoButtonFactory 223 </factory-class> 224 <parameters> 225 <title>Annotation filter...</title> 226 <tooltip>Filter items based on if they have been annotated or not</tooltip> 227 <icon>/images/filter.gif</icon> 228 <onClick>Examples.filterAnnotated('$TYPE')</onClick> 229 <script>~/scripts/examples.jsp</script> 230 </parameters> 231 </action-factory> 232 </extension> 233 180 234 </extensions> -
extensions/net.sf.basedb.examples/trunk/META-INF/servlets.xml
r656 r1019 3 3 <servlet> 4 4 <servlet-name>HelloWorld</servlet-name> 5 <servlet-class>net.sf.basedb.examples.extensions. HelloWorldServlet</servlet-class>5 <servlet-class>net.sf.basedb.examples.extensions.servlet.HelloWorldServlet</servlet-class> 6 6 <init-param> 7 7 <param-name>template</param-name>
Note: See TracChangeset
for help on using the changeset viewer.