You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Entropy <bl...@gmail.com> on 2017/03/02 18:11:05 UTC

Disabled links in 6.24

Using Wicket 6.24, when i disable links, they get SPAN and EM tags instead. 
This throws off our CSS guy.  We would like to not do those.  How would I go
about that?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Disabled links in 6.24

Posted by Claudia Hirt <hi...@gmx.de>.
Oh sorry, i think this was to fast. I had the opposite of this problem with wicket 7 where the <em> tag is not rendered anymore for disabled links. So be aware that you have to remove your handling using setBeforeDisabledLink when you plan to migate to wicket 7. 

> Am 02.03.2017 um 19:35 schrieb Entropy <bl...@gmail.com>:
> 
> I'll ask our CSS guy if that works for him.  He tends to like use to not use
> unnecessary tags, so ideally, I'd like to get rid of the SPAN altogether. 
> Thanks for the quick response.
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677233.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Disabled links in 6.24

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

This has been discussed several times in the mailing lists.
Use Google / markmail.org to search the archives!

Upgrading to Wicket 7.x would make yours and your CSS guy lifes much easier!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Mar 2, 2017 at 7:46 PM, Entropy <bl...@gmail.com> wrote:

> Oh!  Duh, setRenderBodyTagOnly().  Forgot about that.
>
> --
> View this message in context: http://apache-wicket.1842946.
> n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677235.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Disabled links in 6.24

Posted by Entropy <bl...@gmail.com>.
Oh!  Duh, setRenderBodyTagOnly().  Forgot about that.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677235.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Disabled links in 6.24

Posted by Entropy <bl...@gmail.com>.
I'll ask our CSS guy if that works for him.  He tends to like use to not use
unnecessary tags, so ideally, I'd like to get rid of the SPAN altogether. 
Thanks for the quick response.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677233.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Disabled links in 6.24

Posted by Claudia Hirt <hi...@gmx.de>.
Hi, 
I faced the same problem migrating to wicket 6. i simpy solved this with css-selector a:not([href]). 

> Am 02.03.2017 um 19:11 schrieb Entropy <bl...@gmail.com>:
> 
> Using Wicket 6.24, when i disable links, they get SPAN and EM tags instead. 
> This throws off our CSS guy.  We would like to not do those.  How would I go
> about that?
> 
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228.html
> Sent from the Users forum mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Disabled links in 6.24

Posted by Entropy <bl...@gmail.com>.
I found setAfterDisabledLink and setBeforeDisabledLink.  Setting those the ""
gets rid of the EM, but there is still an extra span.  How do I suppress
that?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Disabled-links-in-6-24-tp4677228p4677232.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org