Re: Antwort: [T5] how to read the value of a component parameter within a mixin

2007-09-21 Thread Kristian Marinkovic
hi nick, i've logged this case asTAPESTRY-1764 as a major improvement. i hope it will be considered soon :) g, kris Nick Westgate <[EMAIL PROTECTED]> 20.09.2007 18:27 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: Antwort: [T5] how t

Re: Antwort: [T5] how to read the value of a component parameter within a mixin

2007-09-20 Thread Nick Westgate
I think at this time the only option is to hack around Tapestry. Derive your own TextField in which you can access the value parameter. The usual component resources don't reveal the full bindings API: @Inject ComponentResources _resources; Mixins have only been developed as far as Howar

Antwort: [T5] how to read the value of a component parameter within a mixin

2007-09-20 Thread Kristian Marinkovic
hi nick, i know about RenderDisabled... it decorates the input tag with a disabled attribute. but i need to render only the values not the input tag and whatever else is rendered... :). do you know how to access the parameter values? The only other alternative i see is to use a if and a block compo

Re: [T5] how to read the value of a component parameter within a mixin

2007-09-20 Thread Nick Westgate
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 pa

[T5] how to read the value of a component parameter within a mixin

2007-09-20 Thread Kristian Marinkovic
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 "v