FieldChecks doesn't extend Action, which has that method.  I think that
keeping with servlet spec 2.2 will prevent walking from request to
session to context, too.

On Wed, 2003-02-05 at 21:59, Vic Cekvenich wrote:
> Stuipd answer- Xcuse me:
> getServlet().getContext()?
> 
> David Graham wrote:
> > The last bug we have for 1.1 is stumping me.  
> > o.a.s.validator.FieldChecks validation methods call 
> > Resources.getActionError(request...
> > 
> > Resources.getActionError() calls Resources.getMessageResources(request)
> > 
> > There are several versions of Resources.getMessageResources(), one that 
> > takes a request and one that takes a ServletContext.
> > 
> > We need a version of that method that takes both arguments so it can 
> > look in the context if the module's bundle isn't in the request.  
> > However, I don't see any way of getting a ServletContext to pass in 
> > there starting from FieldChecks' validation methods.
> > 
> > Help?
> > 
> > Dave
> > 
> > 
> > 
> > _________________________________________________________________
> > Protect your PC - get McAfee.com VirusScan Online  
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to