You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2012/05/15 19:59:16 UTC

[jira] [Commented] (WICKET-4559) Component#getMarkupId() generates id that gets hidden by AdBlock

    [ https://issues.apache.org/jira/browse/WICKET-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13276060#comment-13276060 ] 

Sven Meier commented on WICKET-4559:
------------------------------------

Note that in deployment configuration the ids will not contain the component id, so "buttonad" becomes "idad".

What's your suggestion? You could give your component a different id than "button", wouldn't that fix it?
                
> Component#getMarkupId() generates id that gets hidden by AdBlock
> ----------------------------------------------------------------
>
>                 Key: WICKET-4559
>                 URL: https://issues.apache.org/jira/browse/WICKET-4559
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.21
>            Reporter: Jakub Valenta
>         Attachments: wicket_bug_adblock_project.tar.gz, wicket_bug_adblock_screenshot.png
>
>
> Component#getMarkupId() generates ids containing string "ad". Element with such id (e.g., "buttonad") is then hidden by the AdBlock plugin (because it matches AdBlock's CSS selector #buttonad).
> Since AdBlock is quite a common plugin, this issue might affect most of the applications using Wicket.
> Test project and screenshot is attached.
> --
> Wicket 1.4.21
> Firefox 12, AdBlock 2.0.3
> Linux 3.3.5, x86_64

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira