Re: [announce] Wicket 1.5-RC1 is released!

2011-01-23 Thread Heitor Machado
Intercomponent event mechanism is REALY, REALY NICE !!!

About AbstractLink

2011-01-21 Thread Heitor Machado
Hi all,

I noticed some days ago that the AbstractLink component when disabled,
render itself as a span.
Is there some especific motivation for that ?

I´m asking because I think that a component/element does not have to change
itself in that way, its suposed to be a responsability of its holder, and
any way, why a span ? All applications should render a span instead of an
anchor when that anchor was disabled? Could I perhaps change it´s css class
and strip its actions ? Or nor even render it ?

Of course we can override the disableLink of AbstractLink (this is the
method that does the magic), but it becomes a problem because now we *have*
to do it.
One of the characteristics that I like most in wicket is freedom, I can use
whatever css and javascript the way I want, I can model my application in
any way I like it, and this is a point of advantage of wicket over other
frameworks, wicket is not pervasive, and the way that method is wrote is
very pervasive.


Re: About AbstractLink

2011-01-21 Thread Heitor Machado
Very nice, tanks Jeremy, but the main question is not about SPANs X DIVs, or
whatever. And even with this nice snipet, should all disabled links in my
app appear with DIVs ? Without exceptions ?