Gerolf Seitz wrote:
i found the "problem":
what i mentioned before with onBeforeRender didn't make it into rc1. sorry
for messing that up.

but now there are two checks for enabled/disabled.
i actually prefer the one with dis-/enabling the label in onBeforeRender,
because this way the onClick attribute doesn't even get rendered,
whereas with the second approach there's an ajax roundtrip which is
basically in vain, since nothing will be done anyway...

Al, if you don't mind, i'd like to remove the check in
AjaxLabelBehavior#onEvent again.

Sure, go right ahead.

I think if you enable a component, you should have to add it to the AjaxRequestTarget anyway (which if you do the round-trip regardless, of course you don't).


Regards,

Al

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to