NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Jeffrey Kuijt on September 20, 2011, 06:52:54 AM
-
Hi,
In WebHandler, embed ProcessLink, before Parent Call I have set the Dutch translation of the jQuery Datepicker. See below.
This is working very well with Date Fields on Forms, but I have several browses with Date Locators and here the Date Options are ignored!
So on Date Locators I get the English default Datepicker.
How can I solve this?
Best regards
Jeffrey
Self.site.DateOptions = 'monthNames: [''januari'', ''februari'', ''maart'', ''april'', ''mei'', ''juni'', ''juli'', ''augustus'', ''september'', ''oktober'', ''november'', ''december'']'&|
',monthNamesShort: [''jan'', ''feb'', ''maa'', ''apr'', ''mei'', ''jun'', ''jul'', ''aug'', ''sep'', ''okt'', ''nov'', ''dec'']'&|
',dayNames: [''zondag'', ''maandag'', ''dinsdag'', ''woensdag'', ''donderdag'', ''vrijdag'', ''zaterdag'']'&|
',dayNamesMin: [''zo'', ''ma'', ''di'', ''wo'', ''do'', ''vr'', ''za'']'&|
',dayNamesShort: [''zon'', ''maa'', ''din'', ''woe'', ''don'', ''vri'', ''zat'']'&|
',closeText: ''Annuleren'''&|
',currentText: ''Vandaag'''&|
',dateFormat: ''dd-mm-yyyy'''&|
',nextText: ''Volgend'''&|
',prevText: ''Vorig'''&|
',showWeek: true'&| !toon weeknummers
',weekHeader: ''wk'''&| !dit wordt boven de weekkolom getoond
',firstDay: 1'&| !kalender begint op maandag i.p.v. zondag
',showOtherMonths: true'&| !toon ook de dagen van andere maanden
',selectOtherMonths: true'&| !selecteer ook de dagen van andere maanden
',buttonText: ''Hulpkalender'''&| !tooltip van het kalendericoontje
''
-
Did you try setting p_options in the webhandler CreateDateInput method?
JAT
chris
-
Did you try setting p_options in the webhandler CreateDateInput method?
JAT
chris
I just tried, but when I set p_options, it remains empty, very strange.
So it doesn't work for the locator date fields, but it does work for the normal form fields.
Perhaps Bruce can help me with this?
Best regards
Jeffrey
-
It should - all date fields use this to create the date field entry control.
I'd be interested in what/where the difference is.
chris
-
yeah, I checked the code, and it's not supported. I'll have to make a tweak to the tempalte generated code for you.
cheers
Bruce
-
yeah, I checked the code, and it's not supported. I'll have to make a tweak to the tempalte generated code for you.
cheers
Bruce
Thanks Bruce,
That would be nice, so that it will be possible to have my Dutch translation on all Datepickers, also with the same options, like start on Monday, show weeknumbers etc.
Best regards
Jeffrey
-
Hi Bruce,
Do you already have a tweak for this issue?
Best regards
Jeffrey
-
not yet.
cheers
Bruce
-
Hi Bruce,
Any news on this?
Still waiting for a possiblity to translate/set the date options on Date Locators.
Best regards and thanks
Jeffrey
-
done for 6.27
cheers
Bruce
-
Hi Bruce,
That's great! Thanks a lot!
Best regards
Jeffrey