javascript - Add jQuery Calendar plugin to gvNIX sample project -


i trying add jquery calendar plugin, located @ http://keith-wood.name/calendarspicker.html gvnix project sample uses datepicker (i wanted see how works). goal replace datepicker plugin provided k.wood. have calendars other gregorian. unfortunately did not succeed in doing so. here file think should modify gvnix project http://pastebin.com/5uvudzfg

i not javascript developer, not know call new calendar make work.

thank time.

if need write have done. implemented jquery plugin replace current date picker changed dojo, because roo using it. https://dojotoolkit.org/reference-guide/1.9/dojox/date/umalqura.html change load-script load desired dojo.js files , create copy of datetime tag modify new picker. ( being able set new tag need recompile project once ). datepicker working well. stored date in gregorian way.

in load-script

 <spring:url value="/dojox/date/umalqura.js" var="umalqura_url" />    <spring:url value="/dojox/date/umalqura/date.js" var="umalqura_date_url" />    <spring:url value="/dojox/date/umalqura/locale.js" var="umalqura_locale_url" /> ... <script>dojoconfig = {parseonload: true}</script> ...   <script language="javascript" type="text/javascript">dojo.require("dijit.form.datetextbox");</script> 

and in new datetime.tagx

<input id="_${sec_field}_id" name="${sec_field}" data-dojo-type="dijit.form.datetextbox" datepackage = "dojox.date.umalqura" constraints="{datepattern:'eeee dd mmmm yyyy'}" /> 

i did not figure way convert date when displaying because it's in gregorian in database. tried same input register string, dojo convert in gregorian.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -