[
https://issues.apache.org/jira/browse/WW-5778?focusedWorklogId=1049904&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1049904
]
ASF GitHub Bot logged work on WW-5778:
--------------------------------------
Author: ASF GitHub Bot
Created on: 24/Oct/26 13:32
Start Date: 24/Oct/26 13:32
Worklog Time Spent: 10m
Work Description: lukaszlenart merged PR #363:
URL: https://github.com/apache/struts-site/pull/363
Issue Time Tracking
-------------------
Worklog Id: (was: 1049904)
Time Spent: 1h (was: 50m)
> 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: 1h
> 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)