You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Christian Koller <ch...@net-m.ch> on 2010/06/23 16:37:58 UTC
decorateClientInfrastructure not called anymore
Hello everyone
Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT the decorate methods in the module class are not called anymore.
Is there a new concept to decorate a service or is it a bug?
Please let me know if you know something.
Thanks
chris
Re: decorateClientInfrastructure not called anymore
Posted by Howard Lewis Ship <hl...@gmail.com>.
Actually, decorators are used when you know, and compile time, what
interface the service implements and you want to provide a specific
object, implementing that interface, as the interceptor (the wrapper
around the core service implementation).
Advice is used when you want to dynamically analyze the service
interface, whatever it is, adding ComponentMethodAdvice to individual
methods.
Making specific changes to a known interface is easier using
decoration, such as extending a known existing service to add new
features. On the other hand, wide-ranging concerns (such as logging
or transaction management or security) can be handled best using
advice.
Unfortunately, they don't mix, due to the evolution of the underlying
APIs (decoration was implemented first, advice came a couple of years
later). The end result is that all decoration executes before any
advice, with the core service implementation being at the end of the
chain.
On Thu, Jun 24, 2010 at 3:24 AM, Kristian Marinkovic
<kr...@porsche.co.at> wrote:
> Hi Christian,
>
> Advices have been introduced in 5.1 to replace decorators.
> please see:
> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>
> the 5.2-SNAPSHOT documentation does not state that decorators are
> not supported anymore. the last time i was playing with 5.2 (some weeks
> ago)
> my decorators worked.
>
> g,
> kris
>
>
>
> Von: Christian Koller <ch...@net-m.ch>
> An: users@tapestry.apache.org
> Datum: 23.06.2010 16:38
> Betreff: decorateClientInfrastructure not called anymore
>
>
>
> Hello everyone
>
> Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
> the decorate methods in the module class are not called anymore.
> Is there a new concept to decorate a service or is it a bug?
>
> Please let me know if you know something.
> Thanks
> chris
>
--
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
RE: decorateClientInfrastructure not called anymore
Posted by Jim O'Callaghan <jc...@yahoo.co.uk>.
Raised https://issues.apache.org/jira/browse/TAP5-1196 as a possible
improvement.
Regards,
Jim.
-----Original Message-----
From: Howard Lewis Ship [mailto:hlship@gmail.com]
Sent: 30 June 2010 21:05
To: Tapestry users
Subject: Re: decorateClientInfrastructure not called anymore
Yes, it's an issue. Probably, if there is no @Match annotation, then
the implicit service id (from the method name) should be required to
exist.
On Wed, Jun 30, 2010 at 4:53 AM, Jim O'Callaghan <jc...@yahoo.co.uk>
wrote:
> Shouldn't decorator methods fail with a message that 'decorated xyz
service
> doesn't exist'? It would make it a lot easier to find things like this
...
>
> Regards,
> Jim.
>
> -----Original Message-----
> From: Christian Koller [mailto:christian.koller@net-m.ch]
> Sent: 30 June 2010 12:38
> To: Tapestry users
> Subject: decorateClientInfrastructure not called anymore
>
> Hi all
>
> Maybe someone has the same problem. Here the solution:
>
> The name of the service has changed from PageTemplateLocator to
> ComponentTemplateLocator
> and this means also decorate method has a new name:
> decorateComponentTemplateLocator
>
> This method is called in 5.2.
>
> Furthermore ClientInfrastructure is deprecated now and this is possibly
the
> reason why the decoration method is not called anymore.
>
> br
> chris
>
> On 24.06.2010, at 14:22, Christian Koller wrote:
>
>> Hi
>>
>> 14:20:08.279 [main] INFO o.a.tapestry5.ioc.RegistryBuilder - Adding
> module definition for class
> net.netm.portals.tapestry.example.services.TapestryExampleModule
>> 14:20:08.821 [main] INFO n.n.p.t.e.s.TapestryExampleModule - adding
> coercion
>>
>> thats what I see in the stack on startup. No errors or something.
>>
>>
>> On 24.06.2010, at 14:06, Christophe Cordenier wrote:
>>
>>> Hi
>>>
>>> Are your services loaded ? Is your module class correctly loaded (see
> stack
>>> on startup)
>>>
>>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>>
>>>> Hi
>>>>
>>>> I tried to decorate ClientInfrastructure. With the old tapestry version
> it
>>>> was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT
>>>> afterwards the method wasn't called anymore.
>>>>
>>>> Also i tried with the PageTemplateLocator
>>>> public PageTemplateLocator decoratePageTemplateLocator(final
>>>> PageTemplateLocator original) {
>>>> System.out.println("decoratePageTemplateLocator");
>>>> return null;
>>>> }
>>>>
>>>> The message "decoratePageTemplateLocator" was never printed out.
>>>>
>>>> br
>>>> chris
>>>>
>>>>
>>>>
>>>> On 24.06.2010, at 13:38, Christophe Cordenier wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> Which service are you trying to decorate ?
>>>>>
>>>>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>>>>
>>>>>> Hi kris
>>>>>>
>>>>>> Thank you for your response.
>>>>>> I'll try out Advisors now. Still decoration isn't working for me.
>>>>>> Has someone faced the same problem?
>>>>>>
>>>>>> thx
>>>>>> chris
>>>>>>
>>>>>>
>>>>>> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
>>>>>>
>>>>>>> Hi Christian,
>>>>>>>
>>>>>>> Advices have been introduced in 5.1 to replace decorators.
>>>>>>> please see:
>>>>>>> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>>>>>>>
>>>>>>> the 5.2-SNAPSHOT documentation does not state that decorators are
>>>>>>> not supported anymore. the last time i was playing with 5.2 (some
> weeks
>>>>>>> ago)
>>>>>>> my decorators worked.
>>>>>>>
>>>>>>> g,
>>>>>>> kris
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Von: Christian Koller <ch...@net-m.ch>
>>>>>>> An: users@tapestry.apache.org
>>>>>>> Datum: 23.06.2010 16:38
>>>>>>> Betreff: decorateClientInfrastructure not called anymore
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hello everyone
>>>>>>>
>>>>>>> Since we updated the version of tapestry from 5.1.0.5 to
> 5.2.0-SNAPSHOT
>>>>>>> the decorate methods in the module class are not called anymore.
>>>>>>> Is there a new concept to decorate a service or is it a bug?
>>>>>>>
>>>>>>> Please let me know if you know something.
>>>>>>> Thanks
>>>>>>> chris
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Christophe Cordenier.
>>>>>
>>>>> Developer of wooki @wookicentral.com
>>>>
>>>> Christian Koller
>>>> Sofwareentwickler
>>>>
>>>> net mobile Schweiz AG
>>>> Seestrasse 45
>>>> CH ñ 8702 Zollikon
>>>>
>>>> Tel: + 41 (0) 44 918 99 99
>>>> Fax: + 41 (0) 44 918 99 98
>>>> Direkt: + 41 (0) 44 918 99 72
>>>>
>>>> Mail: christian.koller@net-m.ch
>>>> Web: www.net-m.ch
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Christophe Cordenier.
>>>
>>> Developer of wooki @wookicentral.com
>>
>> Christian Koller
>> Sofwareentwickler
>>
>> net mobile Schweiz AG
>> Seestrasse 45
>> CH ñ 8702 Zollikon
>>
>> Tel: + 41 (0) 44 918 99 99
>> Fax: + 41 (0) 44 918 99 98
>> Direkt: + 41 (0) 44 918 99 72
>>
>> Mail: christian.koller@net-m.ch
>> Web: www.net-m.ch
>>
>
> Christian Koller
> Sofwareentwickler
>
> net mobile Schweiz AG
> Seestrasse 45
> CH ñ 8702 Zollikon
>
> Tel: + 41 (0) 44 918 99 99
> Fax: + 41 (0) 44 918 99 98
> Direkt: + 41 (0) 44 918 99 72
>
> Mail: christian.koller@net-m.ch
> Web: www.net-m.ch
>
>
>
> ---------------------------------------------------------------------
> 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: decorateClientInfrastructure not called anymore
Posted by Howard Lewis Ship <hl...@gmail.com>.
Yes, it's an issue. Probably, if there is no @Match annotation, then
the implicit service id (from the method name) should be required to
exist.
On Wed, Jun 30, 2010 at 4:53 AM, Jim O'Callaghan <jc...@yahoo.co.uk> wrote:
> Shouldn't decorator methods fail with a message that 'decorated xyz service
> doesn't exist'? It would make it a lot easier to find things like this ...
>
> Regards,
> Jim.
>
> -----Original Message-----
> From: Christian Koller [mailto:christian.koller@net-m.ch]
> Sent: 30 June 2010 12:38
> To: Tapestry users
> Subject: decorateClientInfrastructure not called anymore
>
> Hi all
>
> Maybe someone has the same problem. Here the solution:
>
> The name of the service has changed from PageTemplateLocator to
> ComponentTemplateLocator
> and this means also decorate method has a new name:
> decorateComponentTemplateLocator
>
> This method is called in 5.2.
>
> Furthermore ClientInfrastructure is deprecated now and this is possibly the
> reason why the decoration method is not called anymore.
>
> br
> chris
>
> On 24.06.2010, at 14:22, Christian Koller wrote:
>
>> Hi
>>
>> 14:20:08.279 [main] INFO o.a.tapestry5.ioc.RegistryBuilder - Adding
> module definition for class
> net.netm.portals.tapestry.example.services.TapestryExampleModule
>> 14:20:08.821 [main] INFO n.n.p.t.e.s.TapestryExampleModule - adding
> coercion
>>
>> thats what I see in the stack on startup. No errors or something.
>>
>>
>> On 24.06.2010, at 14:06, Christophe Cordenier wrote:
>>
>>> Hi
>>>
>>> Are your services loaded ? Is your module class correctly loaded (see
> stack
>>> on startup)
>>>
>>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>>
>>>> Hi
>>>>
>>>> I tried to decorate ClientInfrastructure. With the old tapestry version
> it
>>>> was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT
>>>> afterwards the method wasn't called anymore.
>>>>
>>>> Also i tried with the PageTemplateLocator
>>>> public PageTemplateLocator decoratePageTemplateLocator(final
>>>> PageTemplateLocator original) {
>>>> System.out.println("decoratePageTemplateLocator");
>>>> return null;
>>>> }
>>>>
>>>> The message "decoratePageTemplateLocator" was never printed out.
>>>>
>>>> br
>>>> chris
>>>>
>>>>
>>>>
>>>> On 24.06.2010, at 13:38, Christophe Cordenier wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> Which service are you trying to decorate ?
>>>>>
>>>>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>>>>
>>>>>> Hi kris
>>>>>>
>>>>>> Thank you for your response.
>>>>>> I'll try out Advisors now. Still decoration isn't working for me.
>>>>>> Has someone faced the same problem?
>>>>>>
>>>>>> thx
>>>>>> chris
>>>>>>
>>>>>>
>>>>>> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
>>>>>>
>>>>>>> Hi Christian,
>>>>>>>
>>>>>>> Advices have been introduced in 5.1 to replace decorators.
>>>>>>> please see:
>>>>>>> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>>>>>>>
>>>>>>> the 5.2-SNAPSHOT documentation does not state that decorators are
>>>>>>> not supported anymore. the last time i was playing with 5.2 (some
> weeks
>>>>>>> ago)
>>>>>>> my decorators worked.
>>>>>>>
>>>>>>> g,
>>>>>>> kris
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Von: Christian Koller <ch...@net-m.ch>
>>>>>>> An: users@tapestry.apache.org
>>>>>>> Datum: 23.06.2010 16:38
>>>>>>> Betreff: decorateClientInfrastructure not called anymore
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hello everyone
>>>>>>>
>>>>>>> Since we updated the version of tapestry from 5.1.0.5 to
> 5.2.0-SNAPSHOT
>>>>>>> the decorate methods in the module class are not called anymore.
>>>>>>> Is there a new concept to decorate a service or is it a bug?
>>>>>>>
>>>>>>> Please let me know if you know something.
>>>>>>> Thanks
>>>>>>> chris
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>> Christophe Cordenier.
>>>>>
>>>>> Developer of wooki @wookicentral.com
>>>>
>>>> Christian Koller
>>>> Sofwareentwickler
>>>>
>>>> net mobile Schweiz AG
>>>> Seestrasse 45
>>>> CH ñ 8702 Zollikon
>>>>
>>>> Tel: + 41 (0) 44 918 99 99
>>>> Fax: + 41 (0) 44 918 99 98
>>>> Direkt: + 41 (0) 44 918 99 72
>>>>
>>>> Mail: christian.koller@net-m.ch
>>>> Web: www.net-m.ch
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Christophe Cordenier.
>>>
>>> Developer of wooki @wookicentral.com
>>
>> Christian Koller
>> Sofwareentwickler
>>
>> net mobile Schweiz AG
>> Seestrasse 45
>> CH ñ 8702 Zollikon
>>
>> Tel: + 41 (0) 44 918 99 99
>> Fax: + 41 (0) 44 918 99 98
>> Direkt: + 41 (0) 44 918 99 72
>>
>> Mail: christian.koller@net-m.ch
>> Web: www.net-m.ch
>>
>
> Christian Koller
> Sofwareentwickler
>
> net mobile Schweiz AG
> Seestrasse 45
> CH ñ 8702 Zollikon
>
> Tel: + 41 (0) 44 918 99 99
> Fax: + 41 (0) 44 918 99 98
> Direkt: + 41 (0) 44 918 99 72
>
> Mail: christian.koller@net-m.ch
> Web: www.net-m.ch
>
>
>
> ---------------------------------------------------------------------
> 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
RE: decorateClientInfrastructure not called anymore
Posted by Jim O'Callaghan <jc...@yahoo.co.uk>.
Shouldn't decorator methods fail with a message that 'decorated xyz service
doesn't exist'? It would make it a lot easier to find things like this ...
Regards,
Jim.
-----Original Message-----
From: Christian Koller [mailto:christian.koller@net-m.ch]
Sent: 30 June 2010 12:38
To: Tapestry users
Subject: decorateClientInfrastructure not called anymore
Hi all
Maybe someone has the same problem. Here the solution:
The name of the service has changed from PageTemplateLocator to
ComponentTemplateLocator
and this means also decorate method has a new name:
decorateComponentTemplateLocator
This method is called in 5.2.
Furthermore ClientInfrastructure is deprecated now and this is possibly the
reason why the decoration method is not called anymore.
br
chris
On 24.06.2010, at 14:22, Christian Koller wrote:
> Hi
>
> 14:20:08.279 [main] INFO o.a.tapestry5.ioc.RegistryBuilder - Adding
module definition for class
net.netm.portals.tapestry.example.services.TapestryExampleModule
> 14:20:08.821 [main] INFO n.n.p.t.e.s.TapestryExampleModule - adding
coercion
>
> thats what I see in the stack on startup. No errors or something.
>
>
> On 24.06.2010, at 14:06, Christophe Cordenier wrote:
>
>> Hi
>>
>> Are your services loaded ? Is your module class correctly loaded (see
stack
>> on startup)
>>
>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>
>>> Hi
>>>
>>> I tried to decorate ClientInfrastructure. With the old tapestry version
it
>>> was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT
>>> afterwards the method wasn't called anymore.
>>>
>>> Also i tried with the PageTemplateLocator
>>> public PageTemplateLocator decoratePageTemplateLocator(final
>>> PageTemplateLocator original) {
>>> System.out.println("decoratePageTemplateLocator");
>>> return null;
>>> }
>>>
>>> The message "decoratePageTemplateLocator" was never printed out.
>>>
>>> br
>>> chris
>>>
>>>
>>>
>>> On 24.06.2010, at 13:38, Christophe Cordenier wrote:
>>>
>>>> Hi
>>>>
>>>> Which service are you trying to decorate ?
>>>>
>>>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>>>
>>>>> Hi kris
>>>>>
>>>>> Thank you for your response.
>>>>> I'll try out Advisors now. Still decoration isn't working for me.
>>>>> Has someone faced the same problem?
>>>>>
>>>>> thx
>>>>> chris
>>>>>
>>>>>
>>>>> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
>>>>>
>>>>>> Hi Christian,
>>>>>>
>>>>>> Advices have been introduced in 5.1 to replace decorators.
>>>>>> please see:
>>>>>> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>>>>>>
>>>>>> the 5.2-SNAPSHOT documentation does not state that decorators are
>>>>>> not supported anymore. the last time i was playing with 5.2 (some
weeks
>>>>>> ago)
>>>>>> my decorators worked.
>>>>>>
>>>>>> g,
>>>>>> kris
>>>>>>
>>>>>>
>>>>>>
>>>>>> Von: Christian Koller <ch...@net-m.ch>
>>>>>> An: users@tapestry.apache.org
>>>>>> Datum: 23.06.2010 16:38
>>>>>> Betreff: decorateClientInfrastructure not called anymore
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hello everyone
>>>>>>
>>>>>> Since we updated the version of tapestry from 5.1.0.5 to
5.2.0-SNAPSHOT
>>>>>> the decorate methods in the module class are not called anymore.
>>>>>> Is there a new concept to decorate a service or is it a bug?
>>>>>>
>>>>>> Please let me know if you know something.
>>>>>> Thanks
>>>>>> chris
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Christophe Cordenier.
>>>>
>>>> Developer of wooki @wookicentral.com
>>>
>>> Christian Koller
>>> Sofwareentwickler
>>>
>>> net mobile Schweiz AG
>>> Seestrasse 45
>>> CH ñ 8702 Zollikon
>>>
>>> Tel: + 41 (0) 44 918 99 99
>>> Fax: + 41 (0) 44 918 99 98
>>> Direkt: + 41 (0) 44 918 99 72
>>>
>>> Mail: christian.koller@net-m.ch
>>> Web: www.net-m.ch
>>>
>>>
>>
>>
>> --
>> Regards,
>> Christophe Cordenier.
>>
>> Developer of wooki @wookicentral.com
>
> Christian Koller
> Sofwareentwickler
>
> net mobile Schweiz AG
> Seestrasse 45
> CH ñ 8702 Zollikon
>
> Tel: + 41 (0) 44 918 99 99
> Fax: + 41 (0) 44 918 99 98
> Direkt: + 41 (0) 44 918 99 72
>
> Mail: christian.koller@net-m.ch
> Web: www.net-m.ch
>
Christian Koller
Sofwareentwickler
net mobile Schweiz AG
Seestrasse 45
CH ñ 8702 Zollikon
Tel: + 41 (0) 44 918 99 99
Fax: + 41 (0) 44 918 99 98
Direkt: + 41 (0) 44 918 99 72
Mail: christian.koller@net-m.ch
Web: www.net-m.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
decorateClientInfrastructure not called anymore
Posted by Christian Koller <ch...@net-m.ch>.
Hi all
Maybe someone has the same problem. Here the solution:
The name of the service has changed from PageTemplateLocator to ComponentTemplateLocator
and this means also decorate method has a new name: decorateComponentTemplateLocator
This method is called in 5.2.
Furthermore ClientInfrastructure is deprecated now and this is possibly the reason why the decoration method is not called anymore.
br
chris
On 24.06.2010, at 14:22, Christian Koller wrote:
> Hi
>
> 14:20:08.279 [main] INFO o.a.tapestry5.ioc.RegistryBuilder - Adding module definition for class net.netm.portals.tapestry.example.services.TapestryExampleModule
> 14:20:08.821 [main] INFO n.n.p.t.e.s.TapestryExampleModule - adding coercion
>
> thats what I see in the stack on startup. No errors or something.
>
>
> On 24.06.2010, at 14:06, Christophe Cordenier wrote:
>
>> Hi
>>
>> Are your services loaded ? Is your module class correctly loaded (see stack
>> on startup)
>>
>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>
>>> Hi
>>>
>>> I tried to decorate ClientInfrastructure. With the old tapestry version it
>>> was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT
>>> afterwards the method wasn't called anymore.
>>>
>>> Also i tried with the PageTemplateLocator
>>> public PageTemplateLocator decoratePageTemplateLocator(final
>>> PageTemplateLocator original) {
>>> System.out.println("decoratePageTemplateLocator");
>>> return null;
>>> }
>>>
>>> The message "decoratePageTemplateLocator" was never printed out.
>>>
>>> br
>>> chris
>>>
>>>
>>>
>>> On 24.06.2010, at 13:38, Christophe Cordenier wrote:
>>>
>>>> Hi
>>>>
>>>> Which service are you trying to decorate ?
>>>>
>>>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>>>
>>>>> Hi kris
>>>>>
>>>>> Thank you for your response.
>>>>> I'll try out Advisors now. Still decoration isn't working for me.
>>>>> Has someone faced the same problem?
>>>>>
>>>>> thx
>>>>> chris
>>>>>
>>>>>
>>>>> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
>>>>>
>>>>>> Hi Christian,
>>>>>>
>>>>>> Advices have been introduced in 5.1 to replace decorators.
>>>>>> please see:
>>>>>> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>>>>>>
>>>>>> the 5.2-SNAPSHOT documentation does not state that decorators are
>>>>>> not supported anymore. the last time i was playing with 5.2 (some weeks
>>>>>> ago)
>>>>>> my decorators worked.
>>>>>>
>>>>>> g,
>>>>>> kris
>>>>>>
>>>>>>
>>>>>>
>>>>>> Von: Christian Koller <ch...@net-m.ch>
>>>>>> An: users@tapestry.apache.org
>>>>>> Datum: 23.06.2010 16:38
>>>>>> Betreff: decorateClientInfrastructure not called anymore
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hello everyone
>>>>>>
>>>>>> Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
>>>>>> the decorate methods in the module class are not called anymore.
>>>>>> Is there a new concept to decorate a service or is it a bug?
>>>>>>
>>>>>> Please let me know if you know something.
>>>>>> Thanks
>>>>>> chris
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Christophe Cordenier.
>>>>
>>>> Developer of wooki @wookicentral.com
>>>
>>> Christian Koller
>>> Sofwareentwickler
>>>
>>> net mobile Schweiz AG
>>> Seestrasse 45
>>> CH ñ 8702 Zollikon
>>>
>>> Tel: + 41 (0) 44 918 99 99
>>> Fax: + 41 (0) 44 918 99 98
>>> Direkt: + 41 (0) 44 918 99 72
>>>
>>> Mail: christian.koller@net-m.ch
>>> Web: www.net-m.ch
>>>
>>>
>>
>>
>> --
>> Regards,
>> Christophe Cordenier.
>>
>> Developer of wooki @wookicentral.com
>
> Christian Koller
> Sofwareentwickler
>
> net mobile Schweiz AG
> Seestrasse 45
> CH ñ 8702 Zollikon
>
> Tel: + 41 (0) 44 918 99 99
> Fax: + 41 (0) 44 918 99 98
> Direkt: + 41 (0) 44 918 99 72
>
> Mail: christian.koller@net-m.ch
> Web: www.net-m.ch
>
Christian Koller
Sofwareentwickler
net mobile Schweiz AG
Seestrasse 45
CH ñ 8702 Zollikon
Tel: + 41 (0) 44 918 99 99
Fax: + 41 (0) 44 918 99 98
Direkt: + 41 (0) 44 918 99 72
Mail: christian.koller@net-m.ch
Web: www.net-m.ch
decorateClientInfrastructure not called anymore
Posted by Christian Koller <ch...@net-m.ch>.
Hi
14:20:08.279 [main] INFO o.a.tapestry5.ioc.RegistryBuilder - Adding module definition for class net.netm.portals.tapestry.example.services.TapestryExampleModule
14:20:08.821 [main] INFO n.n.p.t.e.s.TapestryExampleModule - adding coercion
thats what I see in the stack on startup. No errors or something.
On 24.06.2010, at 14:06, Christophe Cordenier wrote:
> Hi
>
> Are your services loaded ? Is your module class correctly loaded (see stack
> on startup)
>
> 2010/6/24 Christian Koller <ch...@net-m.ch>
>
>> Hi
>>
>> I tried to decorate ClientInfrastructure. With the old tapestry version it
>> was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT
>> afterwards the method wasn't called anymore.
>>
>> Also i tried with the PageTemplateLocator
>> public PageTemplateLocator decoratePageTemplateLocator(final
>> PageTemplateLocator original) {
>> System.out.println("decoratePageTemplateLocator");
>> return null;
>> }
>>
>> The message "decoratePageTemplateLocator" was never printed out.
>>
>> br
>> chris
>>
>>
>>
>> On 24.06.2010, at 13:38, Christophe Cordenier wrote:
>>
>>> Hi
>>>
>>> Which service are you trying to decorate ?
>>>
>>> 2010/6/24 Christian Koller <ch...@net-m.ch>
>>>
>>>> Hi kris
>>>>
>>>> Thank you for your response.
>>>> I'll try out Advisors now. Still decoration isn't working for me.
>>>> Has someone faced the same problem?
>>>>
>>>> thx
>>>> chris
>>>>
>>>>
>>>> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
>>>>
>>>>> Hi Christian,
>>>>>
>>>>> Advices have been introduced in 5.1 to replace decorators.
>>>>> please see:
>>>>> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>>>>>
>>>>> the 5.2-SNAPSHOT documentation does not state that decorators are
>>>>> not supported anymore. the last time i was playing with 5.2 (some weeks
>>>>> ago)
>>>>> my decorators worked.
>>>>>
>>>>> g,
>>>>> kris
>>>>>
>>>>>
>>>>>
>>>>> Von: Christian Koller <ch...@net-m.ch>
>>>>> An: users@tapestry.apache.org
>>>>> Datum: 23.06.2010 16:38
>>>>> Betreff: decorateClientInfrastructure not called anymore
>>>>>
>>>>>
>>>>>
>>>>> Hello everyone
>>>>>
>>>>> Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
>>>>> the decorate methods in the module class are not called anymore.
>>>>> Is there a new concept to decorate a service or is it a bug?
>>>>>
>>>>> Please let me know if you know something.
>>>>> Thanks
>>>>> chris
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Christophe Cordenier.
>>>
>>> Developer of wooki @wookicentral.com
>>
>> Christian Koller
>> Sofwareentwickler
>>
>> net mobile Schweiz AG
>> Seestrasse 45
>> CH ñ 8702 Zollikon
>>
>> Tel: + 41 (0) 44 918 99 99
>> Fax: + 41 (0) 44 918 99 98
>> Direkt: + 41 (0) 44 918 99 72
>>
>> Mail: christian.koller@net-m.ch
>> Web: www.net-m.ch
>>
>>
>
>
> --
> Regards,
> Christophe Cordenier.
>
> Developer of wooki @wookicentral.com
Christian Koller
Sofwareentwickler
net mobile Schweiz AG
Seestrasse 45
CH ñ 8702 Zollikon
Tel: + 41 (0) 44 918 99 99
Fax: + 41 (0) 44 918 99 98
Direkt: + 41 (0) 44 918 99 72
Mail: christian.koller@net-m.ch
Web: www.net-m.ch
Re: decorateClientInfrastructure not called anymore
Posted by Christophe Cordenier <ch...@gmail.com>.
Hi
Are your services loaded ? Is your module class correctly loaded (see stack
on startup)
2010/6/24 Christian Koller <ch...@net-m.ch>
> Hi
>
> I tried to decorate ClientInfrastructure. With the old tapestry version it
> was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT
> afterwards the method wasn't called anymore.
>
> Also i tried with the PageTemplateLocator
> public PageTemplateLocator decoratePageTemplateLocator(final
> PageTemplateLocator original) {
> System.out.println("decoratePageTemplateLocator");
> return null;
> }
>
> The message "decoratePageTemplateLocator" was never printed out.
>
> br
> chris
>
>
>
> On 24.06.2010, at 13:38, Christophe Cordenier wrote:
>
> > Hi
> >
> > Which service are you trying to decorate ?
> >
> > 2010/6/24 Christian Koller <ch...@net-m.ch>
> >
> >> Hi kris
> >>
> >> Thank you for your response.
> >> I'll try out Advisors now. Still decoration isn't working for me.
> >> Has someone faced the same problem?
> >>
> >> thx
> >> chris
> >>
> >>
> >> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
> >>
> >>> Hi Christian,
> >>>
> >>> Advices have been introduced in 5.1 to replace decorators.
> >>> please see:
> >>> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
> >>>
> >>> the 5.2-SNAPSHOT documentation does not state that decorators are
> >>> not supported anymore. the last time i was playing with 5.2 (some weeks
> >>> ago)
> >>> my decorators worked.
> >>>
> >>> g,
> >>> kris
> >>>
> >>>
> >>>
> >>> Von: Christian Koller <ch...@net-m.ch>
> >>> An: users@tapestry.apache.org
> >>> Datum: 23.06.2010 16:38
> >>> Betreff: decorateClientInfrastructure not called anymore
> >>>
> >>>
> >>>
> >>> Hello everyone
> >>>
> >>> Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
> >>> the decorate methods in the module class are not called anymore.
> >>> Is there a new concept to decorate a service or is it a bug?
> >>>
> >>> Please let me know if you know something.
> >>> Thanks
> >>> chris
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
> >
> >
> > --
> > Regards,
> > Christophe Cordenier.
> >
> > Developer of wooki @wookicentral.com
>
> Christian Koller
> Sofwareentwickler
>
> net mobile Schweiz AG
> Seestrasse 45
> CH ñ 8702 Zollikon
>
> Tel: + 41 (0) 44 918 99 99
> Fax: + 41 (0) 44 918 99 98
> Direkt: + 41 (0) 44 918 99 72
>
> Mail: christian.koller@net-m.ch
> Web: www.net-m.ch
>
>
--
Regards,
Christophe Cordenier.
Developer of wooki @wookicentral.com
decorateClientInfrastructure not called anymore
Posted by Christian Koller <ch...@net-m.ch>.
Hi
I tried to decorate ClientInfrastructure. With the old tapestry version it was called, then i changed only the tapestry version to 5.2.0-SNAPSHOT
afterwards the method wasn't called anymore.
Also i tried with the PageTemplateLocator
public PageTemplateLocator decoratePageTemplateLocator(final PageTemplateLocator original) {
System.out.println("decoratePageTemplateLocator");
return null;
}
The message "decoratePageTemplateLocator" was never printed out.
br
chris
On 24.06.2010, at 13:38, Christophe Cordenier wrote:
> Hi
>
> Which service are you trying to decorate ?
>
> 2010/6/24 Christian Koller <ch...@net-m.ch>
>
>> Hi kris
>>
>> Thank you for your response.
>> I'll try out Advisors now. Still decoration isn't working for me.
>> Has someone faced the same problem?
>>
>> thx
>> chris
>>
>>
>> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
>>
>>> Hi Christian,
>>>
>>> Advices have been introduced in 5.1 to replace decorators.
>>> please see:
>>> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>>>
>>> the 5.2-SNAPSHOT documentation does not state that decorators are
>>> not supported anymore. the last time i was playing with 5.2 (some weeks
>>> ago)
>>> my decorators worked.
>>>
>>> g,
>>> kris
>>>
>>>
>>>
>>> Von: Christian Koller <ch...@net-m.ch>
>>> An: users@tapestry.apache.org
>>> Datum: 23.06.2010 16:38
>>> Betreff: decorateClientInfrastructure not called anymore
>>>
>>>
>>>
>>> Hello everyone
>>>
>>> Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
>>> the decorate methods in the module class are not called anymore.
>>> Is there a new concept to decorate a service or is it a bug?
>>>
>>> Please let me know if you know something.
>>> Thanks
>>> chris
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
> --
> Regards,
> Christophe Cordenier.
>
> Developer of wooki @wookicentral.com
Christian Koller
Sofwareentwickler
net mobile Schweiz AG
Seestrasse 45
CH ñ 8702 Zollikon
Tel: + 41 (0) 44 918 99 99
Fax: + 41 (0) 44 918 99 98
Direkt: + 41 (0) 44 918 99 72
Mail: christian.koller@net-m.ch
Web: www.net-m.ch
Re: decorateClientInfrastructure not called anymore
Posted by Christophe Cordenier <ch...@gmail.com>.
oups i should read the title :)
2010/6/24 Christophe Cordenier <ch...@gmail.com>
> Hi
>
> Which service are you trying to decorate ?
>
> 2010/6/24 Christian Koller <ch...@net-m.ch>
>
> Hi kris
>>
>> Thank you for your response.
>> I'll try out Advisors now. Still decoration isn't working for me.
>> Has someone faced the same problem?
>>
>> thx
>> chris
>>
>>
>> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
>>
>> > Hi Christian,
>> >
>> > Advices have been introduced in 5.1 to replace decorators.
>> > please see:
>> > http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>> >
>> > the 5.2-SNAPSHOT documentation does not state that decorators are
>> > not supported anymore. the last time i was playing with 5.2 (some weeks
>> > ago)
>> > my decorators worked.
>> >
>> > g,
>> > kris
>> >
>> >
>> >
>> > Von: Christian Koller <ch...@net-m.ch>
>> > An: users@tapestry.apache.org
>> > Datum: 23.06.2010 16:38
>> > Betreff: decorateClientInfrastructure not called anymore
>> >
>> >
>> >
>> > Hello everyone
>> >
>> > Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
>> > the decorate methods in the module class are not called anymore.
>> > Is there a new concept to decorate a service or is it a bug?
>> >
>> > Please let me know if you know something.
>> > Thanks
>> > chris
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
> --
> Regards,
> Christophe Cordenier.
>
> Developer of wooki @wookicentral.com
>
--
Regards,
Christophe Cordenier.
Developer of wooki @wookicentral.com
Re: decorateClientInfrastructure not called anymore
Posted by Christophe Cordenier <ch...@gmail.com>.
Hi
Which service are you trying to decorate ?
2010/6/24 Christian Koller <ch...@net-m.ch>
> Hi kris
>
> Thank you for your response.
> I'll try out Advisors now. Still decoration isn't working for me.
> Has someone faced the same problem?
>
> thx
> chris
>
>
> On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
>
> > Hi Christian,
> >
> > Advices have been introduced in 5.1 to replace decorators.
> > please see:
> > http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
> >
> > the 5.2-SNAPSHOT documentation does not state that decorators are
> > not supported anymore. the last time i was playing with 5.2 (some weeks
> > ago)
> > my decorators worked.
> >
> > g,
> > kris
> >
> >
> >
> > Von: Christian Koller <ch...@net-m.ch>
> > An: users@tapestry.apache.org
> > Datum: 23.06.2010 16:38
> > Betreff: decorateClientInfrastructure not called anymore
> >
> >
> >
> > Hello everyone
> >
> > Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
> > the decorate methods in the module class are not called anymore.
> > Is there a new concept to decorate a service or is it a bug?
> >
> > Please let me know if you know something.
> > Thanks
> > chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Regards,
Christophe Cordenier.
Developer of wooki @wookicentral.com
decorateClientInfrastructure not called anymore
Posted by Christian Koller <ch...@net-m.ch>.
Hi kris
Thank you for your response.
I'll try out Advisors now. Still decoration isn't working for me.
Has someone faced the same problem?
thx
chris
On 24.06.2010, at 12:24, Kristian Marinkovic wrote:
> Hi Christian,
>
> Advices have been introduced in 5.1 to replace decorators.
> please see:
> http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
>
> the 5.2-SNAPSHOT documentation does not state that decorators are
> not supported anymore. the last time i was playing with 5.2 (some weeks
> ago)
> my decorators worked.
>
> g,
> kris
>
>
>
> Von: Christian Koller <ch...@net-m.ch>
> An: users@tapestry.apache.org
> Datum: 23.06.2010 16:38
> Betreff: decorateClientInfrastructure not called anymore
>
>
>
> Hello everyone
>
> Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
> the decorate methods in the module class are not called anymore.
> Is there a new concept to decorate a service or is it a bug?
>
> Please let me know if you know something.
> Thanks
> chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
RE: decorateClientInfrastructure not called anymore
Posted by Kristian Marinkovic <kr...@porsche.co.at>.
Hi Christian,
Advices have been introduced in 5.1 to replace decorators.
please see:
http://tapestry.apache.org/tapestry5.1/tapestry-ioc/advice.html
the 5.2-SNAPSHOT documentation does not state that decorators are
not supported anymore. the last time i was playing with 5.2 (some weeks
ago)
my decorators worked.
g,
kris
Von: Christian Koller <ch...@net-m.ch>
An: users@tapestry.apache.org
Datum: 23.06.2010 16:38
Betreff: decorateClientInfrastructure not called anymore
Hello everyone
Since we updated the version of tapestry from 5.1.0.5 to 5.2.0-SNAPSHOT
the decorate methods in the module class are not called anymore.
Is there a new concept to decorate a service or is it a bug?
Please let me know if you know something.
Thanks
chris