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" <users@tapestry.apache.org> An Tapestry users <users@tapestry.apache.org> Kopie Thema Re: Antwort: [T5] how to read the value of a component parameter within a mixin 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 Howard has used them, and there are definite limitations in all public APIs and core component hierarchy and APIs. One of the reasons is that Howard is making private APIs public only as use cases are proven. You have a good use care, so please log a JIRA about it. ;-) Cheers, Nick. Kristian Marinkovic wrote: > 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 component... and if you have a big form this gets quite annoying :) > > g, > > kris > > > > > > 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. > > --------------------------------------------------------------------- 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]