Re: Issue getting autocompleter value in javascript

2009-01-29 Thread sheva j
> Hi, I am using struts2.0.11 for my project. I am using struts xml validation. I need to validate a date field(I am not using struts date picker) in dd/MM/ format, but struts is validating against MM/dd/ format. Is that possible to validate against dd/MM/ format? If

Re: Issue getting autocompleter value in javascript

2008-09-29 Thread sheva j
Hi, Thanks for your reply. I got the point. Below two lines of code, will give the selected value of autocompleter to js. var selectedValue = dojo.widget.byId('auto'); var value1 = selectedValue.textInputNode.value; Thank you again. On 9/29/08, Struts Two <[EMAIL PROTECTED]> wr

Re: Issue getting autocompleter value in javascript

2008-09-29 Thread Struts Two
autocompleter is a dojo widget, you should try to get its value through dojo api for widgets not dom api. Your javascript will not work (as you have already noticed). regards, - Original Message From: sheva j <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Monday, September 29,