struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Hilterbrand" <Bryan.Hilterbr...@bullwinkle.net>
Subject Re: getting MessageResources within ActionForm.reset()
Date Sat, 21 Sep 2002 18:29:06 GMT
Why don't you do your initialization in the action method?

Bryan

----- Original Message ----- 
From: "Taylor, Jason" <jtaylor@cobaltgroup.com>
To: <struts-user@jakarta.apache.org>
Sent: Saturday, September 21, 2002 12:06 PM
Subject: getting MessageResources within ActionForm.reset()


Since the ActionServlet.getResources() method is now deprecated, you need a
request and an Action object to get Resources.  That's fine so long as
you're operating within the Action class, but if you're in the ActionForm
object and you want to get Resources, you can't because
Action.getResources(HttpServletRequest) has protected access.  
 
Am I missing something or is this a job for struts-dev?
 
-JT



--
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