this message in context:
http://apache-wicket.1842946.n4.nabble.com/Disabled-Auto-link-bookmarkable-page-tp1888129p4649503.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wi
ork.
The tag.setName("span") solution doesn't offer class modification...
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Disabled-Auto-link-bookmarkable-page-tp1888129p4649502.html
Sent from the Users forum mailing list archive at Nab
Ok, Thanks!
2009/7/27 Iain Reddick
> I guess the view is that using a span gives "safe" markup in any situation.
>
> The disableLink() method can be overriden it if you need cleaner markup in
> a particular situation.
>
>
> Cassio wrote:
>
>> But it would change only the "" and "" default markup
I guess the view is that using a span gives "safe" markup in any situation.
The disableLink() method can be overriden it if you need cleaner markup
in a particular situation.
Cassio wrote:
But it would change only the "" and "" default markups and not the
that replace the tag at
org.apache.
But it would change only the "" and "" default markups and not the
that replace the tag at
org.apache.wicket.markup.html.link.AbstractLink.disableLink(final
ComponentTag tag) method.
code:
// Change anchor link to span tag
tag.setName("span");
2009/7/24 Iain Reddick
The wrapping markup used can be set via methods in AbstractLink:
setAfterDisabledLink()
setBeforeDisabledLink()
or, you can set a default at application level:
setDefaultAfterDisabledLink()
setDefaultBeforeDisabledLink()
Cassio wrote:
Hello everybody!
Does anyone know for what reason an dis
Hello everybody!
Does anyone know for what reason an disabled auto link gets nested inside a
span tag?
It's messing the page layout...
Thanks...
Cássio Landim Ribeiro