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
<stephan.windmuel...@tu-dortmund.de> wrote:
> 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
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkzjxA4ACgkQi8rkj8W4fFWYKACggVLJI9yOK8XlEEuRZABoZiLN
> 2QgAoLDDenlmkvDeFOEwAukRTI6WoTSK
> =SdKM
> -----END PGP SIGNATURE-----
>
>

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

Reply via email to