Pascal Voitot wrote:
> Hello,
> in the new Servlet Component, there is the Container which contains the
> global environment.
> When it receives an action request, it gets the right Action from the
> ComponentManager and launch the handleRequest function.
>
> Should the Container be injected into Action components to retrieve local
> Request/Response objects or may I misunderstand the model?

As I understand it, the strategy envisaged is that you always retrieve 
the container via ThreadLocal. So it is virtually accessible from the 
Actions implementations.

But I might be wrong :)

Jerome.

PS: I think xwiki-action is not wired to anything right now
> regards
> Pascal
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to