struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas De Loof" <nicolas.del...@cgey.com>
Subject Re: [struts-menu] how to use URL rewriting ?
Date Thu, 19 Jun 2003 15:17:48 GMT
Thanks a lot.

Nico.

> I wrote a MenuDispalyer that can be configured in a properties file.
> It will not solve your problem but it show how you can write your own
> MenuDisplayer to add replacement variable you need.
> It will require you to retrieve the session id from the pageContext and then
> pass it as a parameter for message resource replacement.
>
> If you are interested by my code look at the patch section of the
> sourceforge account of Struts-Menu where I posted it as
> RecursiveMenuDisplayer. Then look at
> RecusrsiveMenuDisplayer.getDisplayString(String key, String content,
> MenuComponent menu)
> to see how the variable are prepared.
>
> Malik.
>
> Thursday, June 19, 2003 4:10 PM , Nicolas De Loof
> <nicolas.deloof@cgey.com> a écrit :
> > The problem we have is that URL are set in menu-config.xml, and
> > struts-menu use it to set links in DHTML menu.
> >
> > Thank you for your help.
> >
> > Nico.
> >
> >
> > > Try <html:rewrite
> > > http://jakarta.apache.org/struts/userGuide/dev_html.html
> > >
> > > > From: "Nicolas De Loof" <nicolas.deloof@cgey.com>
> > > > Reply-To: "Struts Users Mailing List"
> > > > <struts-user@jakarta.apache.org> To: "Struts Users Mailing List"
> > > > <struts-user@jakarta.apache.org> Subject: [struts-menu] how to
> > > > use URL rewriting ? Date: Thu, 19 Jun 2003 15:53:56 +0200
> > > >
> > > > Hi all,
> > > >
> > > > our application uses URL rewriting to track session (for some
> > > > obscure reasons...)
> > > > We use struts-menu taglib, and it doesn't "urlrewrite" links in
> > > > menu items.
> > > >
> > > > From what I've seen in struts-menu sources, it is not possible
> > > > because MenuDisplayer doesn't have any HttpResponse
> > > > param. Do you know any struts-menu extension or patch that uses
> > > > response.encodeURL() ?
> > > >
> > > > Nico.
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> > > > struts-user-help@jakarta.apache.org
> > > >
> > >
> > > _________________________________________________________________
> > > MSN 8 with e-mail virus protection service: 2 months FREE*
> > > http://join.msn.com/?page=features/virus
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message