On 2/16/06, Paul Benedict <[EMAIL PROTECTED]> wrote:
>Right now ActionContext exposes toooooooooo much, in my opinion, for
a public API.

As mentioned elsewhere, the next step would be to define an "API
object" for the use of Taglibs and other UI technologies. The Velocity
Tools for Struts has already created an API that can do everything the
Struts Taglibs do, and more.

* http://jakarta.apache.org/velocity/tools/

The idea would be that the Action would push the "API object" out to
the response rersource (JSP, Velocity Template), so that the response
resource would not need to know where Struts hides everything.
Everything a UI would need to know would be in the API object. The
concept goes back several years to the "ConfigHelper", but was lost in
the module hullabaloo.

* http://shorl.com/gytulalumuna

Happily, the Velocity gang ran with the idea, and came up with the
Velocity Tools.

But, before starting down the "UI API object" road, we first wanted to
get a numbered build out.

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to