lukaszlenart opened a new pull request, #1422: URL: https://github.com/apache/struts/pull/1422
## Summary This PR adds the HTML5 theme to Struts core framework and implements comprehensive unit testing: - Migrated HTML5 theme from showcase to `core/src/main/resources/template/html5/` - Fixed all 32 HTML5 templates to use `attributes` instead of deprecated `parameters` variable - Added `theme.properties` with parent theme configuration - Implemented unit tests for 13 UI components (26 test methods total) - All tests passing (100% success rate) ## Changes ### Theme Implementation - Created 45 HTML5 FreeMarker templates in core - Added `theme.properties` with `parent=simple` configuration - Migrated templates from `parameters` to `attributes` variable ### Unit Tests Added `testGenericHtml5()` and `testGenericHtml5_clearTagStateSet()` methods to: - TextfieldTest, TextareaTest, PasswordTest - CheckboxTest, CheckboxListTest, RadioTest - SelectTest, FileTest, HiddenTest - LabelTest, ComboBoxTest, ResetTest, SubmitTest Excluded: DoubleSelect and UpDownSelect (not supported in HTML5 theme) ### Documentation - Added implementation plan and testing research documents - Updated CLAUDE.md with current guidelines ## Test Results - 26/26 HTML5 theme tests passing - All template path resolution working correctly - Proper theme inheritance from simple theme Closes [WW-5444](https://issues.apache.org/jira/browse/WW-5444) 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
