This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit fa44dcedf90c60d54ba243f8c28ea74a6d4596ab
Author: Lukasz Lenart <[email protected]>
AuthorDate: Thu Nov 19 08:09:49 2026 +0100

    WW-5772 WW-5774 docs: note the static scripts the transfer-select and 
combobox tags need
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 source/core-developers/static-content.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/source/core-developers/static-content.md 
b/source/core-developers/static-content.md
index def9e0192c..5ae76d0c79 100644
--- a/source/core-developers/static-content.md
+++ b/source/core-developers/static-content.md
@@ -29,6 +29,13 @@ CSS & JavaScript files on your own, which can be a good 
thing when you want to u
 > If you disable this feature, but you use the `xhtml`, or `css_xhtml` theme, 
 > make sure the JavasScript and CSS files
 > shipped inside the core jar are extracted to your web application directory 
 > or served in some other way.
 
+Since Struts 7.5.0 the `combobox`, `optiontransferselect`, 
`inputtransferselect` and `updownselect` tags render no
+inline event handlers or per-tag scripts, so they work under a Content 
Security Policy without `'unsafe-inline'`.
+Their markup now depends on the matching static scripts: `combobox.js` (new in 
7.5.0), `optiontransferselect.js`
+and `inputtransferselect.js`. If you serve your own copies of the static 
files, update them together with
+the upgrade, and make `combobox.js` available as well.
+{:.alert .alert-warning}
+
 ## Custom Static Content Loaders
 
 Static content is served by an implementation of 
`org.apache.struts2.dispatcher.StaticContentLoader`. To write your own

Reply via email to