Hi,
in Wicket 6.x AbstractLink#disableLink() convertes <a> to <span>. This
has changed for Wicket 7, see:
https://issues.apache.org/jira/browse/WICKET-4904
You have to subclass the link and override #disableLink() - this might
be laborious for PagingNavigationLink though.
As an alternative try to add a behavior to all links (via an
IComponentInstantiationListener) and revert the tag name to <a>.
Have fun
Sven
On 04.08.2015 12:15, [email protected] wrote:
Hi all,
when implementing a DataTable, the link to the currently selected page
is rendered using a <span> element rather than an <a> element (like the
other pagination links).
I can't find a way to change this behavior, nor where wicket decides
which tag to render.
Can anyone point me into the right direction?
Example can be found here:
http://www.wicket-library.com/wicket-examples/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.DataTablePage?0
thanks,
robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]