struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvarado, Juan (c)" <Juan_Alvar...@NielsenMedia.com>
Subject RE: How does LookupDispatchAction lookup.
Date Fri, 20 Dec 2002 15:44:59 GMT
take a look at this posting. It explains to you how it works.

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg51209.html

-----Original Message-----
From: ROSSEL Olivier [mailto:olivier.rossel@airbus.com]
Sent: Friday, December 20, 2002 9:28 AM
To: 'struts-user@jakarta.apache.org'
Subject: How does LookupDispatchAction lookup.


I want to use LookupDispatchAction.
Reading one of Ted's tips, it seems that the value returned by my
submit buttons MUST be stored in a .properties file, and looked up
inside my JSP:

<html:submit property="submit">
 <bean:message key="button.add"/>
</html:submit>

There's no way to have a hard-coded value? or a value
coming from somewhere else?
Then how do I code the getKeyMethodMap?

I would have liked to return such a map:
 "Add Item" => "add"
"Delete Item" => "delete"

Is it possible?



---cut here---


This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

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




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


Mime
View raw message