DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21821>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21821 taglibs requesting certain RequestUtil methods fail if page access not through ActionServlet Summary: taglibs requesting certain RequestUtil methods fail if page access not through ActionServlet Product: Struts Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Custom Tags AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Any taglib tag classes that call certain o.a.s.util.RequestUtil methods (message, retrieveMessageResource, pageUrl...) that require the use of request scoped module config will fail in a calling view (jsp) if the view was not accessed via the ActionServlet (e.g. via an action-mapping). This is easily more than 10 taglib tag classes, currently. If this is not a feature of taglibs and users should be able to use taglibs without putting the request through the ActionServlet prior, then this should be corrected in the taglib classes... perhaps by storing the config module and def. message resource for the current module in the request scope with a call to RequestUtils.selectModule(...) in appropriate taglib classes. To avoid restoring these objects in request scope multiple times in the request, the selectModule method could be modified to check prior existance and skip getting and storing the objects again. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]