Re: @SetupRender not called

2012-02-01 Thread Denis Stepanov
you find something to avoid this issue ? It will be interesting >> to add this issue into the release note of the 5.3 release ? in the breaking >> changes part ? What do you thing ? >> >> Manu >> >> -- >> View this message in context: >> http://

Re: @SetupRender not called

2012-02-01 Thread Howard Lewis Ship
> Manu > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/SetupRender-not-called-tp4864848p5447884.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > - &g

Re: @SetupRender not called

2012-02-01 Thread Emmanuel DEMEY
? What do you thing ? Manu -- View this message in context: http://tapestry.1045711.n5.nabble.com/SetupRender-not-called-tp4864848p5447884.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e

Re: @SetupRender not called

2011-10-15 Thread Howard Lewis Ship
We hit the same problem at a client's and found the same fix. I'm going to look into seeing if plastic can at least detect when this situation can happen. On Sat, Oct 15, 2011 at 4:55 AM, Christian Riedel wrote: > Found the cause! > > Tapestry5-jQuery adds, beside others, a custom Import-Worker:

Re: @SetupRender not called

2011-10-15 Thread Christian Riedel
Found the cause! Tapestry5-jQuery adds, beside others, a custom Import-Worker: @Contribute(ComponentClassTransformWorker2.class) @Primary public static void addWorker(OrderedConfiguration configuration, [...] configuration.addInstance("ImportJQueryUIWorker", ImportJQueryUIW

Re: setupRender not called on some components

2011-10-14 Thread Ray Nicholus
No idea where "compassion" came from. I meant to say that I noticed situations where setupRender is never called. On Fri, Oct 14, 2011 at 9:35 AM, Ray Nicholus wrote: > We are using T5.3 beta 19. Within the last few days, I > noticed compassion where setupRender is never called on a rendering

setupRender not called on some components

2011-10-14 Thread Ray Nicholus
We are using T5.3 beta 19. Within the last few days, I noticed compassion where setupRender is never called on a rendering component. This does not happen with all components. It seems like this happens on the affected components almost every time. Occasionally, setupRender IS called on these c

@SetupRender not called

2011-10-03 Thread Christian Riedel
Hi there, my application behaves not as expected. All @SetupRender methods seem to be ignored, they aren't getting executed, which leads to numerous exceptions within all components. In the last couple of days this issue randomly occurred. When I restart the server a couple of time the proble

Re: Re: Re: setupRender not called for components

2010-11-18 Thread Massimo Lusetti
On Thu, Nov 18, 2010 at 12:16 PM, Massimo Lusetti wrote: > On Thu, Nov 18, 2010 at 12:01 PM, Thiago H. de Paula Figueiredo > wrote: > >> I don't think so. Having more than one event handler method for the same >> event is something to be avoided anyway. > > I don't want to argue, plus I can agre

Re: Re: Re: setupRender not called for components

2010-11-18 Thread Massimo Lusetti
On Thu, Nov 18, 2010 at 12:01 PM, Thiago H. de Paula Figueiredo wrote: > I don't think so. Having more than one event handler method for the same > event is something to be avoided anyway. I don't want to argue, plus I can agree with that but the facts are that now is possible and BTW it was pos

Re: Re: Re: setupRender not called for components

2010-11-18 Thread Thiago H. de Paula Figueiredo
On Thu, 18 Nov 2010 06:42:09 -0200, Massimo Lusetti wrote: Wouldn't be nice to have an "ordering" optional parameter to @SetupRender where you can specify the ordering of execution? ... The same maybe applies to @BeginRender and friends too... I don't think so. Having more than one event ha

Re: Re: Re: setupRender not called for components

2010-11-18 Thread Massimo Lusetti
On Thu, Nov 18, 2010 at 9:42 AM, Massimo Lusetti wrote: > On Wed, Nov 17, 2010 at 7:13 PM, Howard Lewis Ship wrote: > >> I'm sure some combination of the above rules is the explanation for why the >> method is not being invoked. > > I personally have run into a similar situation and I ended havi

Re: Re: Re: setupRender not called for components

2010-11-18 Thread Massimo Lusetti
On Wed, Nov 17, 2010 at 7:13 PM, Howard Lewis Ship wrote: > I'm sure some combination of the above rules is the explanation for why the > method is not being invoked. I personally have run into a similar situation and I ended having one @SetupRender annotated method that call various (private) m

Re: Re: Re: setupRender not called for components

2010-11-17 Thread Howard Lewis Ship
f your > component. > > Regards, nillehammer > > - original Nachricht > > Betreff: Re: Re: setupRender not called for components > Gesendet: Mi, 17. Nov 2010 > Von: Stephan Windmüller > > > On Wed, 17. Nov 2010, nille hammer wrote: > > >

Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
:) great ! :) On Wed, Nov 17, 2010 at 1:50 PM, Stephan Windmüller wrote: > On 17.11.2010 13:29, Juan E. Maya wrote: > >> Does ur component extend another one? > > Finally, this was the hint I needed. My component had an (obsolete) > inheritance from BeanDisplay which already had a setupRender met

Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On 17.11.2010 13:29, Juan E. Maya wrote: > Does ur component extend another one? Finally, this was the hint I needed. My component had an (obsolete) inheritance from BeanDisplay which already had a setupRender method. After removing this, all works fine. Thank you both very much! - Stephan ---

Re: Re: Re: setupRender not called for components

2010-11-17 Thread nille hammer
ender not called for components Gesendet: Mi, 17. Nov 2010 Von: Stephan Windmüller > On Wed, 17. Nov 2010, nille hammer wrote: > > > > | > > > | > > > | public boolean isSetupRender() { > > > | // Do stuff > > > | return false; > > &g

Re: Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
i guess we r missing something in ur code. Does ur component extend another one? do u have more than one setupRender in ur component (or parent classes)? could u post the component code? (please not pieces, it's hard to see the big picture) On Wed, Nov 17, 2010 at 1:01 PM, Stephan Windmüller wro

Re: Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On Wed, 17. Nov 2010, nille hammer wrote: > > | > > | > > | public boolean isSetupRender() { > > | // Do stuff > > | return false; > > | } > I don't know whether this will solve your problem, but you don't need > to put in an extra t:if to prevent your component from rendering. I > sugge

Re: Re: setupRender not called for components

2010-11-17 Thread nille hammer
Hi Stephan, > | > | > | public boolean isSetupRender() { > | // Do stuff > | return false; > | } I don't know whether this will solve your problem, but you don't need to put in an extra t:if to prevent your component from rendering. I suggest doing the checks in setupRender and return

Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On Wed, 17. Nov 2010, Juan E. Maya wrote: > Stephan, r u sure the component is being render at all? Yes, of course. Currently I am using a construct like | | | public boolean isSetupRender() { | // Do stuff | return false; | } at the beginning of my component for this. Everything else

Re: setupRender not called for components

2010-11-17 Thread Juan E. Maya
Stephan, r u sure the component is being render at all? could please post the code where u use the component? On Wed, Nov 17, 2010 at 10:34 AM, Stephan Windmüller wrote: > On 17.11.2010 10:29, niksami wrote: > >> That's strange... > > Yep. :) > >> TML code inside t:container, > > Container is a d

Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On 17.11.2010 10:29, niksami wrote: > That's strange... Yep. :) > TML code inside t:container, Container is a div: http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";> > called into the page with t:yourComponentName Yes. Regards Stephan -

Re: setupRender not called for components

2010-11-17 Thread niksami
That's strange... Did you do everything else what component needs to work? TML code inside t:container, called into the page with t:yourComponentName etc? -- View this message in context: http://tapestry.1045711.n5.nabble.com/setupRender-not-called-for-components-tp3268695p3268748.html

Re: setupRender not called for components

2010-11-17 Thread Stephan Windmüller
On 17.11.2010 10:09, niksami wrote: > Components can have only one setupRender(), for initalisation of variables, > etc. Try to have only one setupRender(), and of course you don't have > onActivate() inside the component. There is only one setupRender()-method in my component and no onActivate.

Re: setupRender not called for components

2010-11-17 Thread niksami
Components can have only one setupRender(), for initalisation of variables, etc. Try to have only one setupRender(), and of course you don't have onActivate() inside the component. -- View this message in context: http://tapestry.1045711.n5.nabble.com/setupRender-not-called-for-compo

setupRender not called for components

2010-11-17 Thread Stephan Windmüller
Hi! The documentation states that each component may have a setupRender method: http://tapestry.apache.org/tapestry5.1/guide/rendering.html This works for pages, but the methods of my components are not called, even when I name them setupRender() _and_ annotate them with @SetupRender. What am I