[ https://issues.apache.org/jira/browse/WICKET-6725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021442#comment-17021442 ]
Emond Papegaaij commented on WICKET-6725: ----------------------------------------- [~svenmeier] Even with the hidden attribute, a stylesheet was still required to make sure the elements stayed invisible. I went for simplicity and used a class to style the element. I could have used the hidden attribute in CSS as a selector, but I think our users are more comfortable with styling classes. > 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)