Pixologe -

I am a relative beginner at Wicket, but FWIW your ideas sound reasonable and
helpful.

I have a link with an image, and would like to display an alternate image if
the link is disabled.  I understand that it should be a span element so that
clicking has no effect.

Can you, Igor, or anyone, explain to me, or point me to resources, that
would show me how to do this?

Thanks,
Keith Bennett



pixologe wrote:
> 
> Thanks for inspiration, igor. :)
> Well, it would not help the mentioned problem of not being able to change
> the style of an element depending on its child elements. However, as I
> thought about this, I realized that I could do some global changes in the
> weird templates and stylesheets I got, so CSS could differentiate by
> a.myClass and span.myClass. As these changes would cause a lot of
> side-effects in the files, I think I'll better stick with the
> AttributeAppender I've currently got in there.
> 
> Still I think that having markup in Java strings as well as using [em] to
> mark disabledness are not the best ideas - but let's not discuss this any
> longer :)
> 
> Cheers.
> 

-- 
View this message in context: 
http://www.nabble.com/Markup-for-disabled-Link---Proposal-%28add-behavior-instead-of-markup%29-tp19570584p24540451.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to