Hi Stephan,

sorry I did not realize that this was your workaround. To find a possible 
reason, I have experimented a bit changing return type, visibillity, parameter 
list of setupRender and even moved my component around different packages. I 
did not manage to setupRender not being called. Either it worked as expected or 
I got an Exception.

The only way I managed a setupRender-Method not being called was having two of 
them in my component. Meaning I have one method following the naming convention 
and another one annotaded. It seems like the annotated one wins. You've said 
earlier that this is not the case for your component. So based on the current 
level of information I have no idea what could be the problem. I therefore 
kindly ask you to post full code (tml and java) of your component.

Regards, nillehammer

----- original Nachricht --------

Betreff: Re: Re: setupRender not called for components
Gesendet: Mi, 17. Nov 2010
Von: Stephan Windmüller<stephan.windmuel...@tu-dortmund.de>

> On Wed, 17. Nov 2010, nille hammer wrote:
> 
> > > | <t:if test="setupRender"/>
> > > | 
> > > | 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 false, if you do
> > not want anything rendered. Take a look at the rendering phases:
> > http://tapestry.apache.org/tapestry5.1/guide/rendering.html
> 
> You got me wrong. I am using this empty(!) tag and the method it calls
> for doing the things I want to do in setupRender.
> 
> As mentioned in my original e-mail, setupRender is not called.
> 
> Regards
>  Stephan
> 

--- original Nachricht Ende ----


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

Reply via email to