I haven't really used it, but look at Environmental:
http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/services/Environment.html

Look at some example uses like in Form:
http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/src-html/org/apache/tapestry/corelib/components/Form.html#line.226

Cheers,
Nick.


Fernando Padilla wrote:
Hi.  I want to write a "SingletonRender" mixin.  That will let a
component be rendered only once during the request... (even if there are
multiple instances of a component, etc )

1) what is the best way to store state, only during the duration of the
render cycle?  I would say Request.setAttribute, but the tapestry
Request object doesn't have that option, what's a good replacement?

2) Is there a mixin for this already?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to