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", "disabled");
}
but with the ImageButton class, onComponentTag is declared as final.
(Wicket 1.2.3)
Is there another way or can this change in future versions?
(thinking also of mouseover stuff...)
Cheers
Nick
igor.vaynberg wrote:
>
> 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
>
>
>
>
>
--
View this message in context:
http://www.nabble.com/Show-a-disabled-ImageButton-tf2762825.html#a7724272
Sent from the Wicket - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user