You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Philip Mark Donaghy <ph...@yahoo.com> on 2005/12/27 23:09:13 UTC

[m1] Using the collapse attribute of item in navigation.xml

We are using Maven 1 for the Jetspeed website. When I use the value true the menu item is always collapsed, otherwise it is always expanded. Navigating around the site  does not change the menu. Is there a missing tag in the xdoc, that makes the menu interactive? I am using maven 1.0.2.
 
 Thanks,
Philip
 
    
 
---------------------------------
 
		
---------------------------------
Yahoo! for Good - Make a difference this year. 

Re: [m1] Using the collapse attribute of item in navigation.xml

Posted by Arnaud HERITIER <ah...@gmail.com>.
Yes you cannot use relative paths in the navigation.xml because the links
are used in every page thus you can't know from where the relative path is.

Arnaud

On 12/28/05, Philip Mark Donaghy <ph...@yahoo.com> wrote:
>
> Thanks Arnaud,
>
> I found the problem. We were using relative paths in the href attributes.
> But apparently the first slash is required to expand and collapse menus.
>
> <item name="Pi" href="/pi.html" collapse="true"/>
>
> NOT:
>
> <item name="Pi" href="pi.html" collapse="true"/>
>
> Philip
>
> Arnaud HERITIER <ah...@gmail.com> wrote: Did you check if the link you
> use on the collapsed/expanded link is good.
> I remember that there was a problem if the link wasn't found : it was
> impossible to collapse/expand the item.
>
> Arnaud
>
> On 12/27/05, Philip Mark Donaghy
> wrote:
> >
> > We are using Maven 1 for the Jetspeed website. When I use the value true
> > the menu item is always collapsed, otherwise it is always expanded.
> > Navigating around the site  does not change the menu. Is there a missing
> tag
> > in the xdoc, that makes the menu interactive? I am using maven 1.0.2.
> >
> > Thanks,
> > Philip
> >   ------------------------------
> >
> > ------------------------------
> > Yahoo! for Good - Make a difference this year.
> >
> >
> > ---------- Forwarded message ----------
> > From: Philip Mark Donaghy
>
> > To: user@maven.apache.org
> > Date: Mon, 26 Dec 2005 11:20:21 -0800 (PST)
> > Subject: [m1] Using the collapse attribute of item in navigation.xml
> > When I use the value true the menu item is always collapsed, otherwise
> it
> > is always expanded. Navigating around the site  does not change the
> menu. Is
> > there a missing tag in the xdoc? I am using maven 1.0.2.
> >
> > Thanks,
> > Philip
> >
> > ------------------------------
> > Yahoo! DSLSomething to write home about. Just $16.99/mo. or less
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
>
>
>
> ---------------------------------
> Yahoo! Photos
> Ring in the New Year with Photo Calendars. Add photos, events, holidays,
> whatever.
>

Re: [m1] Using the collapse attribute of item in navigation.xml

Posted by Philip Mark Donaghy <ph...@yahoo.com>.
Thanks Arnaud,
 
 I found the problem. We were using relative paths in the href attributes. But apparently the first slash is required to expand and collapse menus.
 
 <item name="Pi" href="/pi.html" collapse="true"/>
 
 NOT:
 
 <item name="Pi" href="pi.html" collapse="true"/>
 
 Philip

Arnaud HERITIER <ah...@gmail.com> wrote: Did you check if the link you use on the collapsed/expanded link is good.
I remember that there was a problem if the link wasn't found : it was
impossible to collapse/expand the item.

Arnaud

On 12/27/05, Philip Mark Donaghy 
 wrote:
>
> We are using Maven 1 for the Jetspeed website. When I use the value true
> the menu item is always collapsed, otherwise it is always expanded.
> Navigating around the site  does not change the menu. Is there a missing tag
> in the xdoc, that makes the menu interactive? I am using maven 1.0.2.
>
> Thanks,
> Philip
>   ------------------------------
>
> ------------------------------
> Yahoo! for Good - Make a difference this year.
>
>
> ---------- Forwarded message ----------
> From: Philip Mark Donaghy 

> To: user@maven.apache.org
> Date: Mon, 26 Dec 2005 11:20:21 -0800 (PST)
> Subject: [m1] Using the collapse attribute of item in navigation.xml
> When I use the value true the menu item is always collapsed, otherwise it
> is always expanded. Navigating around the site  does not change the menu. Is
> there a missing tag in the xdoc? I am using maven 1.0.2.
>
> Thanks,
> Philip
>
> ------------------------------
> Yahoo! DSLSomething to write home about. Just $16.99/mo. or less
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>





		
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

Re: [m1] Using the collapse attribute of item in navigation.xml

Posted by Arnaud HERITIER <ah...@gmail.com>.
Did you check if the link you use on the collapsed/expanded link is good.
I remember that there was a problem if the link wasn't found : it was
impossible to collapse/expand the item.

Arnaud

On 12/27/05, Philip Mark Donaghy <ph...@yahoo.com> wrote:
>
> We are using Maven 1 for the Jetspeed website. When I use the value true
> the menu item is always collapsed, otherwise it is always expanded.
> Navigating around the site  does not change the menu. Is there a missing tag
> in the xdoc, that makes the menu interactive? I am using maven 1.0.2.
>
> Thanks,
> Philip
>   ------------------------------
>
> ------------------------------
> Yahoo! for Good - Make a difference this year.<http://us.rd.yahoo.com/mail_us/taglines/charity/*http://brand.yahoo.com/cybergivingweek2005/>
>
>
> ---------- Forwarded message ----------
> From: Philip Mark Donaghy <ph...@yahoo.com>
> To: user@maven.apache.org
> Date: Mon, 26 Dec 2005 11:20:21 -0800 (PST)
> Subject: [m1] Using the collapse attribute of item in navigation.xml
> When I use the value true the menu item is always collapsed, otherwise it
> is always expanded. Navigating around the site  does not change the menu. Is
> there a missing tag in the xdoc? I am using maven 1.0.2.
>
> Thanks,
> Philip
>
> ------------------------------
> Yahoo! DSL<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=37474/*http://promo.yahoo.com/broadband/+%0A>Something to write home about. Just $16.99/mo. or less
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>