Re: [Wicket-user] Show a disabled ImageButton

2006-12-06 Thread Igor Vaynberg
we are discussing removing final there on our private list - hopefully it will be a very short discussion, will let you know of the outcome -igor On 12/6/06, NickCanada <[EMAIL PROTECTED]> wrote: Thanks so much for your reply. I'm on a learning curve with all this. So with a standard wicket

Re: [Wicket-user] Show a disabled ImageButton

2006-12-06 Thread NickCanada
Thanks so much for your reply. I'm on a learning curve with all this. So with a standard wicket form button I can override the onComponentTag: protected void onComponentTag(ComponentTag tag){ tag.put("disabled", "disabl

Re: [Wicket-user] Show a disabled ImageButton

2006-12-06 Thread Igor Vaynberg
in standard html you disable sometihng by appending disabled="disabled". i think for core we want to stick with that. if you need something that can express dual state via different images you might have to roll your own using the existing imagebutton as a base. -igor On 12/5/06, NickCanada <[

[Wicket-user] Show a disabled ImageButton

2006-12-05 Thread NickCanada
I have an ImageButton used to submit a form. I extended the RenderedDynamicImageResource class so that I have a transparent background but now I want to show the button in a disabled state. It seems when the FormComponent class launches onDisabled(ComponentTag tag) my ImageButton is not drawn at