Yes, I am not within the action class, I am in a class
which extends the TilesRequestProcessor, but since
TilesRequestProcessor extends RequestProcessor I
figure I should be able to get at my application
resources file?
Thanks,
TR
--- Adam Hardy <[EMAIL PROTECTED]>
wrote:
> Hi TR,
> I assume you are not in the action? Otherwise you
> would use
> MessageResources.getMessage()
>
> On 10/05/2004 08:43 PM El Toro wrote:
> > All,
> >
> > I'm upgrading an existing struts application. The
> > application extends the
> > TilesRequestProcessor->RequestProcessor and
> overrides
> > the processRoles() method. Part of the
> enhancements I
> > am trying to build requires me to pull some values
> > from the application resource file. I'm using the
> > inherited getInternal() method to get my
> > MessageResources object however I can't find any
> of my
> > key-value pairs. Its as if there is no visibility
> to
> > the ApplicationResources.properties file here.
> >
> > Maybe I'm missing something obvious, any help
> would be
> > greatly appreciated. Here is my resources def. in
> my
> > struts-config.xml file, also, I've verified that
> the
> > file is in fact in the correct location
> > (WEB-INF/classes/resources).
> >
> > <message-resources
> > parameter="resources.ApplicationResources"/>
> >
> > Thanks in Advance,
> >
> > TR
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]