Re: Linking to actions in other Struts modules

Matt Raible <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
Adding this sounds like a good idea.  Please enter an issue in
http://issues.appfuse.org (under the Struts Menu) project.  If you
have a patch as well, that'd be great.

Matt

On 2/6/06, Tim Morrow 2 (sent by Nabble.com) <[email protected]> wrote:
>  The modification was actually trivial.  Rather than the current code of
>
> String action = RequestUtils.computeURL(pageContext, null, null, null,
>                                     menu.getAction(), null, null, false);
>
> (which incidentally is now deprecated)
>
> I changed it to
>
> String action = TagUtils.getInstance().computeURL(pageContext, null, null,
> null,
>                                     menu.getAction(), menu.getModule(),
> null, null, false);
>
> That new call is exactly what the implementation of RequestUtils.computeURL
> is doing (and its specifying null as the module).  Thus, in the case where
> the module attribute is null it behaves exactly as it does today.  When
> specified, it is looked-up and added to the URL by Struts.
>
> Tim
>
> ________________________________
>  View this message in context: Re: Linking to actions in other Struts
> modules
>
>  Sent from the struts-menu-user forum at Nabble.com.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.