Re: How to make readonly textfield in Struts 2.0.11.2 datetimepicker

2009-06-13 Thread Bharath Kumar
Hi Guys :), I too googled for many hours for this and didnt find any solution, so i tried to do it myself and it worked out luckly :) In my case i hve this datetimepicker in a TD This is the o

Re: How to make readonly textfield in Struts 2.0.11.2 datetimepicker

2009-05-31 Thread Girish Naik
I have achieved this by use of JavaScript as follows: //2009-06-05T00:00:00 var validDate = /^([\d]{4})-([\d]{2})-([\d]{2})T([\d]{2})\:([\d]{2})\:([\d]{2})$/i; var elements = document.getElementsByName('dateOfBirth'); for(var i = 0; i < elements.length; i++){ //alert

Re: How to make readonly textfield in Struts 2.0.11.2 datetimepicker

2009-05-29 Thread Girish Naik
There is no readonly attribute in s:datetimepicker tag. I am using the following tag PFA for the rendered UI for the above tag. Regards, - Girish Naik Mobile:-+91-09740091638 girish.n...@gmail.com Frank Lloyd Wright

Re: How to make readonly textfield in Struts 2.0.11.2 datetimepicker

2009-05-29 Thread Jim Collings
I just did this a while ago. All I had to do was set: readonly="true" on the struts textfield tag. Mine doesn't have an icon though. On Fri, May 29, 2009 at 2:00 PM, Girish Naik wrote: > Hi, > I have used struts2-core-2.0.11.2 in My Application. And intend to use the > Struts date time picker,