Re: Disabled Auto link bookmarkable page

2012-05-25 Thread Pres
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

Re: Disabled Auto link bookmarkable page

2012-05-25 Thread Pres
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

Re: Disabled Auto link bookmarkable page

2009-07-27 Thread Cassio
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

Re: Disabled Auto link bookmarkable page

2009-07-27 Thread 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 markups and not the that replace the tag at org.apache.

Re: Disabled Auto link bookmarkable page

2009-07-24 Thread Cassio
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

Re: Disabled Auto link bookmarkable page

2009-07-24 Thread 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

Disabled Auto link bookmarkable page

2009-07-24 Thread Cassio
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