[ 
https://issues.apache.org/struts/browse/STR-1183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict updated STR-1183:
-------------------------------

    Fix Version/s: Future

> Add a generalized utililty class to expose information to non-JSP 
> presentation systems
> --------------------------------------------------------------------------------------
>
>                 Key: STR-1183
>                 URL: https://issues.apache.org/struts/browse/STR-1183
>             Project: Struts 1
>          Issue Type: Improvement
>          Components: Core
>         Environment: Operating System: All
> Platform: All
>            Reporter: Anthony Kay
>            Priority: Minor
>             Fix For: Future
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to