[
https://issues.apache.org/jira/browse/WW-5778?focusedWorklogId=1049898&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1049898
]
ASF GitHub Bot logged work on WW-5778:
--------------------------------------
Author: ASF GitHub Bot
Created on: 24/Oct/26 13:11
Start Date: 24/Oct/26 13:11
Worklog Time Spent: 10m
Work Description: lukaszlenart opened a new pull request, #363:
URL: https://github.com/apache/struts-site/pull/363
Docs for [WW-5778](https://issues.apache.org/jira/browse/WW-5778), companion
to apache/struts#2055.
- `datetextfield-tag.md`: fills the empty Examples section — the html5
native date input (ISO value, `format` ignored, `min`/`max` as dynamic
attributes, `java.util.Date` only), the JavaTemplates split-field layout, and
the themes that don't support the tag.
- `html5-theme.md`: adds `datetextfield` to the list of available templates.
The attribute table and description come from the generated files in
apache/struts, updated by #2055. Merge after #2055, ahead of the 7.5.0
announcement.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Issue Time Tracking
-------------------
Worklog Id: (was: 1049898)
Time Spent: 20m (was: 10m)
> Support datetextfield tag in the html5 theme
> --------------------------------------------
>
> Key: WW-5778
> URL: https://issues.apache.org/jira/browse/WW-5778
> Project: Struts 2
> Issue Type: Task
> Components: Core Tags
> Reporter: Lukasz Lenart
> Assignee: Lukasz Lenart
> Priority: Major
> Fix For: 7.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> h2. Problem
> {{datetextfield}} has a native HTML counterpart, {{input type="date"}}, yet
> the html5 theme (like the simple theme it extends) renders only a
> placeholder: "Tag datetextfield works only with the JavaTemplates Plugin!".
> The only working implementation is in the JavaTemplates plugin's simple theme.
> h2. Proposal
> Implement {{template/html5/datetextfield.ftl}} rendering {{input
> type="date"}}:
> * The submitted and rendered value uses the ISO {{yyyy-MM-dd}} form that
> {{input type="date"}} requires, independent of the tag's required {{format}}
> attribute; define how {{format}} applies in this theme (ignored, or used only
> for display outside the input) and document it
> * Common attributes, dynamic attributes and HTML5 constraint attributes
> ({{min}}, {{max}}, {{required}}) consistent with the other html5 templates
> * Tests with expected-output fixtures, and the tag reference updated to state
> html5 support
> Related: WW-5776 (removal of the tags the html5 theme cannot support)
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)