On Fri, Jan 25, 2013 at 3:10 AM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Thu, 24 Jan 2013 14:03:52 -0200, Matías Blasi <matias.bl...@gmail.com>
> wrote:
>
>  Hi all!
>>
>
> Hi!
>
>
>  I'm a little stuck with trying to inject the Tapestry Session Service
>> (org.apache.tapestry.services.**Session)
>>
>
> Session is not a service nor something that can injected right now.
> @Inject Request and use its getSession(boolean create) method.
>
>
>  If we cannot @Inject the Session, should it be in the .services
>> interfaces package?
>>
>
> Not every service is injectable. Not everything that is injectable is a
> service.


I would love to reorganize the Tapestry package structure, but doing so
would break backwards compatibility in a large way. Instead, we've taken to
using lots of documentation annotations to be more precise about how
interfaces are meant to be used.



>
>
> --
> Thiago H. de Paula Figueiredo
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org>
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Reply via email to