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

Emond Papegaaij commented on WICKET-6725:
-----------------------------------------

As Maxim said, the stylesheet is also required for forms, but it is also 
absolutely necessary for this. The hidden attribute simply doesn't do it's job. 
It breaks our application, and if it breaks ours, it will breaks other's.

The stylesheet can be replaced our disabled via ResourceSettings if you want to 
roll your own styling. 

> 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)

Reply via email to