Let's give credit where credit is due:
http://www.michaelmcgrady.com/button/
----- Original Message -----
From: "Michael Jouravlev" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Friday, June 17, 2005 1:57 PM
Subject: Re: HTML:LINK
Yep, a lot of work. SimpleDispatchAction indeed looks much simpler:
http://wiki.apache.org/struts/StrutsCatalogDispatchActionImproved
On 6/17/05, Zarar Siddiqi <[EMAIL PROTECTED]> wrote:
Link looks like:
<html:link action="/whatever.do?action=Do Something">hi</html:link>
Make sure you have following in ApplicationResources.properties:
whatever.dispatch=Do Something
When you load the method Map, make sure something like this happens:
public Map getKeyMethodMap() {
// stuff
map.put("whatever.dispatch", "Do Something");
// stuff
return map;
}
Zarar
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]