new image(...) {
oncomponenttag(tag) {
if (link.isenabled()==false) { tag.put("class","foo"); }
}
}
-igor
On Sun, Mar 30, 2008 at 11:27 AM, Matthew Young <[EMAIL PROTECTED]> wrote:
> I have a link like this:
>
> <a wicket:id="link"><img src="face.png"/></a>
>
> When link.isEnable() == false, I need to add style attribute to the <img>
> tag. Is it possible to do this without turning the <img> into a child
> component of the link?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]