preface: i'm currently using struts2-core-2.3.1.2, and upgrading isn't an option.
i'm trying to implement HTML5 required fields in my struts2 form. struts won't even render this:
and while it will render these:
the resulting HTML is not what i want:
after extensive googling, this post from over a year ago is the closest i can find to something that addresses my issue. it seems to indicate that this problem has been resolved in the current version of struts2, but as i said, i can't upgrade.
as far as i can see, my options are
dynamically add "required" attributes to the appropriate fields on page load.
roll my own validation
?? is there something i am missing? is there some documentation i've just glossed over?