Yes. It works now. I can see additional items in menu-blocks and can see Home (html 
page link) in user and logout state. 

But I still can not see the second peterue.html from html links in menu-blocks. I have 
checked the location of peterue.html file and it is in the same directory as 
index.html. Is there any setting I have not configured? e.g. jmx-console?

cheers.


The following is the updated menu-block-service.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE server>
  | 
  | <server>
  |    <mbean
  |       code="org.jboss.nukes.core.modules.core.blocks.MenuBlock"
  |       name="nukes.blocks:name=menu"
  |       xmbean-dd=""
  |       xmbean-code="org.jboss.nukes.component.NukesMBean">
  |       <constructor>
  |          <arg type="boolean" value="true"/>
  |       </constructor>
  |       <depends>nukes.modules:name=core</depends>
  |       <xmbean>
  |          <attribute name="Title">Main Menu</attribute>
  |          <attribute name="Side">0</attribute>
  |          <attribute name="Weight">0</attribute>
  |          <attribute name="Before">
  |             <menu>
  |                <item title="Home" url="index.html" description="Back to the home 
page."/>
  |                <item title="peterue" url="peterue.html" description="Back to the 
home page."/>
  |              </menu>
  |          </attribute>
  |          <attribute name="Security">
  |             <security>
  | 
  |                <!-- ************* -->
  |                <!-- * ANONYMOUS * -->
  |                <!-- ************* -->
  | 
  |                <!-- displays any html content -->
  |                <!--permission
  |                   component-pattern="html::"
  |                   instance-pattern=".*::"
  |                   level="READ"/-->
  |                
  |                <permission pattern=".*:.*:" level="READ"/>
  |                <permission pattern="module:(journal|downloads|faq|bb):main" 
level="READ"/>
  |                <permission group="Users" pattern=".*:.*:" level="READ"/>
  |                <permission group="Users" 
pattern="module:(youraccount|journal|downloads|faq|bb):main" level="READ"/>
  |                <permission group="Users" pattern="module:user:(logout|memberlist)" 
level="READ"/>
  |                <permission group="Admins" pattern=".*:.*:.*" level="ADMIN"/>
  |             </security>
  |          </attribute>
  |       </xmbean>
  |    </mbean>
  | </server>

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826956#3826956";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826956>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to