Re: About AbstractLink

2011-01-21 Thread Jeremy Thomerson
WebApplication.get().getMarkupSettings().setDefaultBeforeDisabledLink(div); WebApplication.get().getMarkupSettings().setDefaultAfterDisabledLink(/div); On Fri, Jan 21, 2011 at 7:19 AM, Heitor Machado heito...@gmail.com wrote: Hi all, I noticed some days ago that the AbstractLink component

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 ? tanks Heitor

Re: About AbstractLink

2011-01-21 Thread Jeremy Thomerson
On Fri, Jan 21, 2011 at 10:08 AM, Heitor Machado heito...@gmail.com wrote: 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 ? A link doesn't have

Re: About AbstractLink

2011-01-21 Thread Igor Vaynberg
afaik anchors in html do not support a disabled attribute. so the only way to make it really unclickable is to not render it as an anchor. of course you can change that by tweaking Jeremy's example WebApplication.get().getMarkupSettings().setDefaultBeforeDisabledLink(a);

Re: About AbstractLink

2011-01-21 Thread Martin Grigorov
On Fri, Jan 21, 2011 at 5:26 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: afaik anchors in html do not support a disabled attribute. so the only way to make it really unclickable is to not render it as an anchor. of course you can change that by tweaking Jeremy's example

Re: About AbstractLink

2011-01-21 Thread Igor Vaynberg
no, they will replace the span. and iirc em was changed to span a while back as the default -igor On Fri, Jan 21, 2011 at 8:42 AM, Martin Grigorov mgrigo...@apache.org wrote: On Fri, Jan 21, 2011 at 5:26 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: afaik anchors in html do not support a

Re: About AbstractLink

2011-01-21 Thread uudashr
Sent from my BlackBerry® powered by Sinyal Kuat INDOSAT -Original Message- From: Heitor Machado heito...@gmail.com Date: Fri, 21 Jan 2011 14:08:25 To: users@wicket.apache.org Reply-To: users@wicket.apache.org Subject: Re: About AbstractLink Very nice, tanks Jeremy, but the main