You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/02/05 20:28:36 UTC
DO NOT REPLY [Bug 16814] New: -
Add a generalized utililty class to expose information to non-JSP presentation systems
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=16814>.
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=16814
Add a generalized utililty class to expose information to non-JSP presentation systems
Summary: Add a generalized utililty class to expose information
to non-JSP presentation systems
Product: Struts
Version: Unknown
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Utilities
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: awkay69@yahoo.com
Per the discussion RE Velocity Tools for Struts and the duplication of code in
RequestUtils for alternative presentation systems, I am proposing the following
enhancement to the struts code base, which will allow the internal configuration
information of Struts to be exposed while minimizing the dependencies that have
to be written into presentation systems like Velocity Tools for Struts.
There was a suggestion (by T. Husted) that RequestUtils is really aimed at the
JSP layer, and after reviewing that interface, I agree that it is not the best
place to put this feature. I would suggest o.a.s.util.ViewUtils or something
similar. This RequestUtils class will end up needing some minor enhancement,
such as adding another overloaded entry into computeURL() that doesn't require a
PageContext.
I plan to do an in-depth analysis of the tag libraries and general configuration
systems of struts to come up with a general interface for ViewUtils, which I
will add to this entry as soon as I'm done.
Any suggestions as to what should be in this interface are more than welcome.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org