You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Bulling <sp...@phoenix.hadiko.de> on 2006/04/07 19:51:50 UTC
Another question concerning the For component
Hi folks,
and another question - I'm a blockhead as it seems...
Do I have to add an abstract getter/setter to my page class
if I want to use the value attribute of the For component
or does Tapestry enhance the abstract class for me?
Thanks!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Another question concerning the For component
Posted by Mike Snare <mi...@gmail.com>.
You need to tell tapestry that you want it to enhance the class in this way.
For my part, I prefer to keep any properties not needed by the class
in the page/jwc file to help keep the code size down -- but you're
free to do it via getters/setters if you prefer.
-Mike
On 4/7/06, Andreas Bulling <sp...@phoenix.hadiko.de> wrote:
> Hi folks,
>
> and another question - I'm a blockhead as it seems...
> Do I have to add an abstract getter/setter to my page class
> if I want to use the value attribute of the For component
> or does Tapestry enhance the abstract class for me?
>
> Thanks!
> Andreas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org