In server/default/nukes/menu-block-service.xml, see:

<attribute name="Before">
  |     <menu>
  |          <item title="Home" url="index.html" description="Back to the home page."/>
  |      </menu>
  | </attribute>

This gets you links in the menu before any roles based links, that are always 
displayed when the user is logged in. There is an equivalent "After" attribute.

The menu only displays links that the logged in user has available to them, based on 
the user's groups.

You will need to subclass MenuBlock and override the getDisplayed(Page p) method to 
always return true, so that your menu always appears.


If I understand what you are looking to do with the htmlblock, it looks like the 
parameters are:

module=html&op=display&id=1235

Sherman

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

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825504>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