If you look in the main decorator, you'll see the logic for this.

            <c:set var="currentMenu" scope="request"><decorator:getProperty 
property="meta.menu"/></c:set>
            <c:if test="${currentMenu == 'AdminMenu'}">
            <div id="sub">
                <menu:useMenuDisplayer name="Velocity" 
config="cssVerticalMenu.vm" permissions="rolesAdapter">
                    <menu:displayMenu name="AdminMenu"/>
                </menu:useMenuDisplayer>
            </div>
            </c:if>

The rest of the logic is in cssVerticalMenu.vm in src/main/resources.

Matt

On Jul 1, 2010, at 4:23 PM, Juan Antonio wrote:

> Thank you very much.
> 
> Where it's all of this explained? I am lost :(
> 
> ----- Original Message ----- From: "Matt Raible" <m...@raibledesigns.com>
> To: <users@appfuse.dev.java.net>
> Sent: Thursday, July 01, 2010 11:45 PM
> Subject: Re: [appfuse-user] text in tab overflows the size.
> 
> 
> You need a meta tag that matches the menu name in order for it to be 
> highlighted. For example:
> 
> <meta name="menu" content="AdminMenu"/>
> 
> On Jul 1, 2010, at 3:39 PM, Juan Antonio wrote:
> 
>> Ok, it works. :P
>> 
>> Another question,
>> why when I click on the new tabs i add, they don't look like selected, i 
>> mean, the background changes, when selected?
>> 
>> ----- Original Message ----- From: "Matt Raible" <m...@raibledesigns.com>
>> To: <users@appfuse.dev.java.net>
>> Sent: Thursday, July 01, 2010 11:25 PM
>> Subject: Re: [appfuse-user] text in tab overflows the size.
>> 
>> 
>> You might try setting the menu's "width" attribute in menu-config.xml.
>> 
>> On Jul 1, 2010, at 3:14 PM, Juan Antonio wrote:
>> 
>>> 
>>> Hello everybody.
>>> 
>>> I trying to fix a little problem with the tabs. Some, not so much, long text
>>> overflows the size tab. I believed that I know how to fix it, but I can't.
>>> 
>>> I am trying with firefox 3.5, but I think in ie 8 it's worst, so I don't
>>> try. :D
>>> 
>>> Any fix in the css?
>>> 
>>> Thanks.
>>> -- 
>>> View this message in context: 
>>> http://appfuse.547863.n4.nabble.com/text-in-tab-overflows-the-size-tp2275718p2275718.html
>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to