From: Julien V. <vi...@us...> - 2004-04-30 22:24:30
|
User: vietj Date: 04/04/30 15:24:25 Added: nukes/src/resources/services contextual-block-service.xml Log: added an example of contextual html block Revision Changes Path 1.1 nukes/nukes/src/resources/services/contextual-block-service.xml Index: contextual-block-service.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE server> <!-- | This block displays its info according to the path : | /a/b/c -> /a/b/_menu | This is looked up in the HTML module. If nothing is found it will displays "No menu" | For more infos look at org/jboss/nukes/core/modules/html/blocks/HtmlContextualBlock.java --> <server> <mbean code="org.jboss.nukes.core.modules.html.blocks.HtmlContextualBlock" name="nukes.blocks:name=contextual" xmbean-dd="" xmbean-code="org.jboss.nukes.component.NukesMBean"> <depends>nukes.modules:name=html</depends> <xmbean> <attribute name="Security"> <security> </security> </attribute> <attribute name="Title">Contextual menu</attribute> <attribute name="Side">0</attribute> <attribute name="Weight">10</attribute> <attribute name="MenuName">_menu</attribute> <attribute name="DefautlContent">No menu</attribute> </xmbean> </mbean> </server> |