Re: T5: dynamically set disabled attribute

2011-11-29 Thread George Christman
variable. Great to know, you answered my question how to map a field with the isDisabled method. Anyhow thanks again. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-dynamically-set-disabled-attribute-tp2414476p5032387.html Sent from the Tapestry - User mailing list archive

Re: T5: dynamically set disabled attribute

2011-11-28 Thread George Christman
; } return true; } This kinda works except I'm not completely sure how to request the id from the form field being disabled/enabled in order to check against the db. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-dynamically-set-disabled-attribute

Re: T5: dynamically set disabled attribute

2011-11-28 Thread Thiago H. de Paula Figueiredo
On Mon, 28 Nov 2011 12:08:10 -0200, George Christman gchrist...@cardaddy.com wrote: Hi Thiago, Hi! thanks for the response. How would you recommend controlling the individual fields dynamically? The same way I've explained before. Put this logic inside isDisabled(). By the way, what

Re: T5: dynamically set disabled attribute

2011-11-28 Thread George Christman
.1045711.n5.nabble.com/T5-dynamically-set-disabled-attribute-tp2414476p5029087.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: T5: dynamically set disabled attribute

2011-11-28 Thread Josh Canfield
.nabble.com/T5-dynamically-set-disabled-attribute-tp2414476p5029087.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e

Re: T5: dynamically set disabled attribute

2011-11-25 Thread George Christman
Eric, were you able to ever get this to work? I'm attempting to accomplish the same thing. -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-dynamically-set-disabled-attribute-tp2414476p5023268.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: T5: dynamically set disabled attribute

2011-11-25 Thread Thiago H. de Paula Figueiredo
this message in context: http://tapestry.1045711.n5.nabble.com/T5-dynamically-set-disabled-attribute-tp2414476p5023268.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: T5: dynamically set disabled attribute

2008-01-18 Thread Eric BIANCHI
I think I'm doing something wrong here Following Howard post, I tried : @Inject private BindingSource _source; public void setupRender () { Binding b = _source.newBinding(Parameter Disabled, _componentSources .getEmbdededComponent(myComponentId).getComponentResources(), prop, disabled);

T5: dynamically set disabled attribute

2008-01-17 Thread Eric BIANCHI
Hello List, Using Tapestry 5, I'd like to dynamically set the disabled attribute of a Field depending of its id. So, on the same form, I could say : component1 has the disabled attribute set to true, component2 has the disabled attribute set to false and so on. I tried the following on

Re: T5: dynamically set disabled attribute

2008-01-17 Thread Howard Lewis Ship
Beginner's level Tapestry: Bind the disabled parameter of each field to a property that returns true when the field should be disabled and false otherwise. Journeyman level Tapestry: An alternative would be to define a special kind of binding for this purpose. I'd need more details, but a