Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Readonly attribute for dateTimePicker

 
Sergio Rossini
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using Struts 2.1.6 and datetimepicker tag.
Everything is fine, but I need to set the attribute readOnly for the input for date.
The tag datetimepicker does not have this attribute and I am not getting the input because it is load through ajax method of dojo.
The code

turns into

The attributes onkeypress or onfocus at datetimepicker could help with some javascript but they gone in final html.
I've searched for the web but I can't find anything conclusive.
Anyone for help?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic