This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 and html5 input tags Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Struts 2 and html5 input tags" Watch "Struts 2 and html5 input tags" New topic
Author

Struts 2 and html5 input tags

Nancy C Johnson
Greenhorn

Joined: Aug 07, 2012
Posts: 4
How would I code <input type=email into Struts sytnax? I don't see anything but S:textfield
Thank You

Nancy Johnson
Manjesh Patil
Ranch Hand

Joined: Sep 24, 2010
Posts: 38

Struts2 as of now does not seems to be supporting HTML5. you have to use s:textfield only.
here is the list of HTML elelments that struts2 tags can render....


http://struts.apache.org/2.0.6/docs/ui-tag-reference.html



regards
Manjesh
Nancy C Johnson
Greenhorn

Joined: Aug 07, 2012
Posts: 4
Thank you. Do you think Struts 2 will begin to support HTML5 tags in the near future?

Thank you.

Nancy Johnson
Manjesh Patil
Ranch Hand

Joined: Sep 24, 2010
Posts: 38

I wish some plugin would come up though I do not see any roadmap for struts2 on their official site.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Struts 2 and html5 input tags
 
Similar Threads
struts and validator
All HTML Tags Available for Struts?
page redirecting problem!
Action errors
WSAD 5.1 and Struts Validation