You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/05 04:15:00 UTC

[jira] [Commented] (WICKET-6725) CSP: display:none in Component.renderPlaceholderTag

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

ASF subversion and git services commented on WICKET-6725:
---------------------------------------------------------

Commit d266b17059122c8675d5174851ab132adeb91661 in wicket's branch refs/heads/master from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=d266b17 ]

[WICKET-6725] dublicated class attribute is eliminated


> CSP: display:none in Component.renderPlaceholderTag
> ---------------------------------------------------
>
>                 Key: WICKET-6725
>                 URL: https://issues.apache.org/jira/browse/WICKET-6725
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket-core
>            Reporter: Emond Papegaaij
>            Assignee: Emond Papegaaij
>            Priority: Major
>             Fix For: 9.0.0-M5
>
>
> org.apache.wicket.*Component*#renderPlaceholderTag : should rather add some special css class, or javascript which can set display none programmatically (and can also be nonced)
> {code:java}
> response.write("<");
> response.write(name);
> response.write(" id=\"");
> response.write(getAjaxRegionMarkupId());
> response.write("\" style=\"display:none\" data-wicket-placeholder=\"\"></");
> response.write(name);
> response.write(">");
> {code}
> (org.apache.wicket.extensions.ajax.markup.html.AjaxIndicatorAppender#afterRender has the same issue)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)