You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Viktor Szathmary <ph...@imapmail.org> on 2003/01/30 21:33:46 UTC
delegate bean lifecycle
hi,
i have a component with a Form. the component has a IValidationDelegate
helper bean (lifecycle Request) and displays the errors from that. i need
to use this component many times on the same page... the problem is that
the delegate is shared among all the instances of the component, so if
validation fails on one of the forms, all of them display the error
msgs... how do i avoid this?
(imho this is just another example where exposing all the pooling
behavior to the application developer is making things more confusing -
if the app. developer can think of components as never recycled, things
would be simpler here as well... but i guess i'm the only one who feels
this way :)
thanks,
viktor
--
http://fastmail.fm - Choose from over 50 domains or use your own