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
;
}
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
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
.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
.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
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
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
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);
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
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
10 matches
Mail list logo