NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 26, 2012, 03:22:15 AM

Title: Does not generate the Date picker
Post by: Alberto on March 26, 2012, 03:22:15 AM
Hi,
My app is not generating the Date Picker button, is there anything I have to add or set for the date picker to be generated?
Thanks
Title: Re: Does not generate the Date picker
Post by: Alberto on March 31, 2012, 05:44:03 AM
Please, any idea?
Title: Re: Does not generate the Date picker
Post by: Bruce on April 01, 2012, 05:57:46 AM
not a lot to go on..
Are you using the "date" form field?
is the field read-only?

Also - it's possible to turn off the button as one of the "date options" - either globally in the webHandler, in the form procedure, or indeed in an external javaScript file. Have you done any of those perhaps?

cheers
Bruce
Title: Re: Does not generate the Date picker
Post by: Alberto on April 02, 2012, 10:35:25 AM
Thanks Bruce,
I'm using "date"
it is not read only
I´m using NTWS 5
I dont see any "date option" in the form or in the web handler.
May you please guide me?
Thanks

[attachment deleted by admin]
Title: Re: Does not generate the Date picker
Post by: Bruce on April 02, 2012, 11:45:54 PM
hard to know where to start Alberto.
what browser are you using?
does the date lookup appear in the examples?

cheers
Bruce
Title: Re: Does not generate the Date picker
Post by: Alberto on April 03, 2012, 02:30:11 AM
I´m using firefox and the weird thing is that the examples and some of my others apps does show the date picker!
Dont know what to do.
Thanks
Title: Re: Does not generate the Date picker
Post by: Bruce on April 03, 2012, 11:50:07 PM
I guess the starting point is if you can make an example for us that duplicates the effect.

cheers
Bruce
Title: Re: Does not generate the Date picker
Post by: Alberto on April 04, 2012, 03:03:21 AM
Attached goes datetest.zip
datetest.app and agrinter.ini (which sets the port)
Its all shrink as I could.
Regards

[attachment deleted by admin]
Title: Re: Does not generate the Date picker
Post by: Bruce on April 04, 2012, 06:01:51 AM
Hi Alberto,

>> I dont see any "date option" in the form or in the web handler.

look in your embed code in the webHandler.
you're setting;
Self.site.DateOptions = ...

the problem is this this option;
',beforeShowDay: noWeekendsOrHolidays'

this comment may be a clue :
noWeekendsOrHolidays es una funcion que debe estar definida en el xhtml del form donde se ingresa la fecha

cheers
Bruce