> I don't understand. Are you saying that I should use setEnabled(false) or > are you saying that I should use: > > final AttributeModifier rof = new AttributeModifier("readonly", false, new > Model("readonly"));
new AttributeModifier("readonly", true, new Model("readonly") { public boolean isEnabled(Component c) { return shouldTheAttributeBeAdded(); } } and don't add the attribute in your markup. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]