You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Olga <ba...@list.ru> on 2011/09/12 17:53:38 UTC

Request can't identify

Hello, it is my first project, because i have this question.

I make Login page using Spring+Ibatis. In my service i have 
    @Inject
    private Request request;
but when i call request in function is null. Can you help me and tell me
which annotation, properties etc i must to add to my project.

Thanks.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Request-can-t-identify-tp4794670p4794670.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Request can't identify

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Also, tapestry annotations only work in the tapestry module package,
i.e. <base-package>.{components,pages,mixins} etc.

Make sure your tapestry filter points to the right package and you have them set up correctly.


On Sep 12, 2011, at 1:06 PM, Steve Eynon wrote:

> You may want to check you imports and check you're using the Tapestry
> @Inject (assuming you're on T5.2.x)
> 
> import org.apache.tapestry5.ioc.annotations.Inject;
> 
> Steve.
> 
> 
> On 13 September 2011 01:01, Howard Lewis Ship <hl...@gmail.com> wrote:
>> A little more source would be helpful, as would the version of
>> Tapestry you are using.
>> 
>> On Mon, Sep 12, 2011 at 8:53 AM, Olga <ba...@list.ru> wrote:
>>> Hello, it is my first project, because i have this question.
>>> 
>>> I make Login page using Spring+Ibatis. In my service i have
>>>    @Inject
>>>    private Request request;
>>> but when i call request in function is null. Can you help me and tell me
>>> which annotation, properties etc i must to add to my project.
>>> 
>>> Thanks.
>>> 
>>> --
>>> View this message in context: http://tapestry.1045711.n5.nabble.com/Request-can-t-identify-tp4794670p4794670.html
>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@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
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Request can't identify

Posted by Steve Eynon <st...@alienfactory.co.uk>.
You may want to check you imports and check you're using the Tapestry
@Inject (assuming you're on T5.2.x)

import org.apache.tapestry5.ioc.annotations.Inject;

Steve.


On 13 September 2011 01:01, Howard Lewis Ship <hl...@gmail.com> wrote:
> A little more source would be helpful, as would the version of
> Tapestry you are using.
>
> On Mon, Sep 12, 2011 at 8:53 AM, Olga <ba...@list.ru> wrote:
>> Hello, it is my first project, because i have this question.
>>
>> I make Login page using Spring+Ibatis. In my service i have
>>    @Inject
>>    private Request request;
>> but when i call request in function is null. Can you help me and tell me
>> which annotation, properties etc i must to add to my project.
>>
>> Thanks.
>>
>> --
>> View this message in context: http://tapestry.1045711.n5.nabble.com/Request-can-t-identify-tp4794670p4794670.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Request can't identify

Posted by Howard Lewis Ship <hl...@gmail.com>.
A little more source would be helpful, as would the version of
Tapestry you are using.

On Mon, Sep 12, 2011 at 8:53 AM, Olga <ba...@list.ru> wrote:
> Hello, it is my first project, because i have this question.
>
> I make Login page using Spring+Ibatis. In my service i have
>    @Inject
>    private Request request;
> but when i call request in function is null. Can you help me and tell me
> which annotation, properties etc i must to add to my project.
>
> Thanks.
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Request-can-t-identify-tp4794670p4794670.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org