To get the message resources working in the sub application I also had a make a change
in RequestUtils.message(PageContext, String, String, String, Object []):
if (resources == null) {
resources = (MessageResources)
pageContext.getAttribute(bundle,
PageContext.REQUEST_SCOPE); // I changed this from
// PageContext.APPLICATION_SCOPE
}
since RequestUtils.selectApplication(HttpServletRequest, ServletContext) sets this is
request scope as follows:
if (resources != null) {
request.setAttribute(Action.MESSAGES_KEY, resources);
Is this also a bug or am I missing the point entirely?
Andrew.
--
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>