Use the source ... check out how RenderDisabled works:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/corelib/mixins/RenderDisabled.java?view=markup

Cheers,
Nick.


Kristian Marinkovic wrote:
hi,

how can i access the value of a component parameter within a mixin?

i wrote a Editable mixin that can be applied to a TextField component. If my application state is not EDIT it should short circuit the TextField rendering (setupRender if false) and instead only output the value of the "value" parameter.
if found the InternalComponentResourcesImpl class
that contains a _bindings property with all component bindings... and their values. but because it is private i cannot
access it. is there another way?


g,
kris

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

Reply via email to