Thanks Matt:

I didn't find the location bit until after your message, so I submitted a
patch to test the page for https, http, mailto, & ftp so please ignore.

I submitted a patch for DropDownMenuDisplayer.java which outputs a trailer
message after a menu block.  This allowed me to write the javascript to
'toggle' the menu position based on a cookie set in the toggle function.  

It was a mind bender to write javascript in a properties file.  I would have
submitted the javascript but it was based on an external script for reading
and writing the cookies.  If you want it, I'll rework the js in the
properties file to stand alone.

Thanks again

Edgar

> -----Original Message-----
> From: Raible, Matt [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 10, 2003 10:22 AM
> To: 'Struts Users Mailing List'
> Subject: RE: struts-menu
> 
> 
> Edgar,
> 
> I'm a committer on struts-menu, so hopefully I can help you out.
> 
> I believe using the "location" attribute vs. "page" attribute 
> will strip out your context and use the exact value you 
> specify in "location" rather than pre-pending the context.
> 
> As for remembering the position - which layout are you using? 
>  I can possibly add the remembering functionality, but it 
> will probably involve cookies or something.
> 
> Matt
> 
> > -----Original Message-----
> > From: Edgar Dollin [mailto:[EMAIL PROTECTED]
> > Sent: Monday, March 10, 2003 6:20 AM
> > To: 'Struts Users Mailing List'
> > Subject: struts-menu
> > 
> > 
> > Does anyone know how to suppress the leading '/' in strutsmenu.
> >  
> > Does anyone know how to get the menu to remember it's 
> position if the 
> > target page, i.e. tiles, has the same menu.
> >  
> > Thanks in advance
> >  
> > Edgar
> > 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to