Jump to content

Search the Community

Showing results for 'jQuery'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. Yes, as I said also in other posts... We also need to check for compatibility as these plugins use an early version of jQuery.
  2. HI, same problem .. only Loading ... displayed I update UrlReferer but only Restart Application URL is corrent. All links to ext , uni ... are wrong. Or is there any other solution ? link rel=stylesheet href="/uni-1.70.0.1486/css/uni-ext.css" /> <link rel=stylesheet href="/ext-6.6.0/build/classic/theme-classic/resources/theme-classic-all.css" /> <script src="/ext-6.6.0/build/ext-all.js"></script> <script src="/ext-6.6.0/build/classic/theme-classic/theme-classic.js"></script> <script src="/uni-1.70.0.1486/ext-unicommon-min.js"></script> <script src="/uni-1.70.0.1486/ext-sync-min.js"></script> <script src="/ext-6.6.0/build/classic/locale/locale-cs.js"></script> <script src="/uni-1.70.0.1486/jQuery/jquery-1.11.2.min.js"></script> <link rel=stylesheet href="/ext-6.6.0/build/packages/font-awesome/resources/font-awesome-all.css" /> <link rel=stylesheet href="/ext-6.6.0/build/packages/font-pictos/resources/font-pictos-all.css" /> <script src="/uni-1.70.0.1486/jQuery/MaskedInput/jquery.inputmask.min.js"></script> <script src="/uni-1.70.0.1486/jQuery/autoNumeric/autoNumeric-1.9.35.js"></script> <link rel=stylesheet href="/uni-1.70.0.1486/css/uni-xtheme-common.css" /> <link rel=stylesheet href="/uni-1.70.0.1486/css/uni-xtheme-classic.css" /> <script src="/uni-1.70.0.1486/ext-unigui-min.js"></script> Thank you.
  3. Thanks @Sherzod( it works !!! ), but please explain it better. is this to change the unigui source code? Will I have to do this with other components? note: The purpose of this is because I don't want to use the unigui standard library so I can use an updated version of jQuery, InputMask.
  4. This is what I have so far, blue code works, red code fails to fire, please advise - Thanks:- InfoHTMLFrame HTML ... ' <script src="files/jquery.Jcrop.min.js"></script> '+ ' <script src="files/jquery.color.js"></script> '+ ' <link href="files/jquery.Jcrop.css" rel="stylesheet" type="text/css" /> '+ ' <script type="text/javascript"> '+ ' updatePreview = function(c) '+ ' { '+ ' if(parseInt(c.w) > 0) '+ ' { '+ ' ajaxRequest(MainForm.InfoHTMLFrame, "getCroppedImg", ["cx="+c.x, "cy="+c.y, "cw="+c.w, "ch="+c.h]); '+ ' } '+ ' }; '+ ' </script> '+ ... '<img id="myImage" oncontextmenu="return false" src="'+RelativeFileName+'" alt="" onclick="ajaxRequest(MainForm.InfoHTMLFrame, ''_info_img_crop_'', []);" > '+ ... procedure TMainForm.InfoHTMLFrameAjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); var s: String; begin ////////////////////////////////////////////////////////////////////////////// if EventName = '_info_img_crop_' then begin // Start Cropping InfoHTMLFrame.JSInterface.JSCode('$('#1'.getEl().select("img").elements[0]).Jcrop({onSelect : '#1'.updatePreview});'); end; ////////////////////////////////////////////////////////////////////////////// if EventName = 'getCroppedImg' then begin ShowMessage(Params.Values['cx']+', '+Params.Values['cy']+', '+Params.Values['cw']+', '+Params.Values['ch']); end;
  5. Farshad Bey, dün fark ettiğim bir şeyi ileteyim. Delphi'deki inputbox'un karşılığının Unigui'de Prompt komutu olduğunu öğrendim. Ekrandan bilgi girişi istediğim pencerenin sütun başlığı "Information", düğmeler ise OK ve CANCEL olarak geliyor. Locale dosyalarında bunların karşılığı bile yok, değiştiremiyorum. Demek ki kod tarafından bu şekilde hazırlanmış. Unigui sanırım daha çok yurtdışı satışlara yönelik hazırlanmış bir program gibi görünüyor. Biz sizinle yıllar önce Delphi XE2 tanıtımı için Ankara'da Shareton otelinde yapılan lansmanda yüzyüze de tanışmıştık. Emeklerinize saygım sonsuz, gerçekten unigui gibi bir programın eşi benzeri yok ama Türkiye'de üretilen bir programı Türkçe yapabilmek için de bu kadar da çok uğraşmak gerekmemeli. Biz şu anda zaten IntraWEB ile projelerimizi geliştiriyoruz. Mobil taraf içinse CGDEVTOOLS isimli JQuery bileşenlerini kullanıyoruz. Ama hem görünüm olarak çok eskidi, hem de unigui'nin sunduğu imlkanları sunamıyor tabi ki. En basitinden grid kontrolü yok. Sırf bu sebepten dolayı unigui alsak dedik ama bizim müşteri kitlemiz maalesef sınırlı bir eğitim düzeyine sahip, hatta hiç eğitim bile almamış insanlar. OK düğmesinin TAMAM anlamına geldiğini anlatmak bile çok zor. Bu adamlara Türkçe ingilizce karışık bir program veremeyiz. Belki ilerleyen dönemlerde yeniden indirip tekrar test ederim. İlginiz ve desteğiniz için teşekkür ederim.
  6. @jptec hi, did you succeed with the jquery upgrade?
  7. Hi! This is a masked input plugin for the jQuery javascript library. (Hayri Aslan more professionally implemented this feature: http://forums.unigui.com/index.php?/topic/4475-uniexclusive/) Source and usage: http://digitalbush.com/projects/masked-input-plugin/ Demo: http://digitalbush.com/projects/masked-input-plugin/#demo Simple example of use (eg with component UniEdit): 1. It is necessary to download the two files and include in your project 1. jquery 2. jquery.maskedinput.min.js 2. 1. UniEdit1.Text := ''; 2. UniEdit1 -> ClientEvents -> UniEvents -> add function beforeInit: function beforeInit(sender) { Ext.onReady( function () { $("#"+sender.id+"-inputEl").mask("99/99/9999"); }); } Best regards.
  8. The problem is that, I add to custom files jqurey.js and jquery.maskedinput.js As far as uniedit is concern everythink is ok as it sould be. However if I add a UniFormattedNumberEdit on a form/frame and run the project nothing shown on the form. When I remove jquery.js and jquery.maskedinput.js from custom files UniFormattedNumberEdit1 and other components run smoothly I tought that I've solved the problem, unfourtuanatly I couldn't
  9. Deployment Issue - Stand Alone Server on Windows NT Server - Please advise. UniServerModule.ExtRoot:= 'C:\MyLocation\ext\'; (Security access granted to all [read only]). All files copied from development PC C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.2.5.1763 to Server C:\MyLocation\ext App ERRORS, log shows ? DshBrdWeb.exe: 00000AA0: 11:06:30 []:TUniThemeProps: File not found: C:\unim\css\uni-sencha-touch.css DshBrdWeb.exe: 00000AA0: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\touch-2.4.2-complete\resources\css\sencha-touch.css DshBrdWeb.exe: 000019F8: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\unim\css\uni-ext.css DshBrdWeb.exe: 00001AB0: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\ext-unicommon-min.js DshBrdWeb.exe: 000013F4: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\ext-sync-min.js DshBrdWeb.exe: 00001418: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\touch-2.4.2-complete\sencha-touch-all.js DshBrdWeb.exe: 000007A8: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\jQuery\jquery-1.11.2.min.js DshBrdWeb.exe: 00001380: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\unim\touch-unigui-min.js DshBrdWeb.exe: 00000664: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\ext-unicommon-min.js DshBrdWeb.exe: 00000474: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\ext-sync-min.js DshBrdWeb.exe: 0000121C: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\jQuery\jquery-1.11.2.min.js DshBrdWeb.exe: 000018B4: 11:06:30 [HandleFileRequest[10.0.0.141]]:File not found: C:\unim\touch-unigui-min.js DshBrdWeb.exe: 00000A58: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\touch-2.4.2-complete\resources\css\sencha-touch.css DshBrdWeb.exe: 00001B20: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\unim\css\uni-ext.css DshBrdWeb.exe: 00001B34: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\ext-unicommon-min.js DshBrdWeb.exe: 00001B1C: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\ext-sync-min.js DshBrdWeb.exe: 00000EA8: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\touch-2.4.2-complete\sencha-touch-all.js DshBrdWeb.exe: 00001A78: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\jQuery\jquery-1.11.2.min.js DshBrdWeb.exe: 000004D0: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\unim\touch-unigui-min.js DshBrdWeb.exe: 0000146C: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\ext-unicommon-min.js DshBrdWeb.exe: 00001484: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\ext-sync-min.js DshBrdWeb.exe: 000007C0: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\uni\jQuery\jquery-1.11.2.min.js DshBrdWeb.exe: 00001B40: 11:06:39 [HandleFileRequest[10.0.0.141]]:File not found: C:\unim\touch-unigui-min.js
  10. In my code, I see that I use 127.0.0.1 as local client IP, and the jQuery http client. Three options where the first is a Delphi created Windows service. In all cases the returned data is routed to the server via ajaxRequest. case uniMainModule.comType of 2: UniSession.AddJS('$.get("http://127.0.0.1:'+uniMainModule.regPort+'?event='+inttostr(EventID)+'&op='+uniMainModule.initials+'", function( data ){' + ' ajaxRequest(TransForm.form, ["regEvent"], { response : data }); '+ ' }); '); 4: UniSession.AddJS('$.get("http://127.0.0.1:'+uniMainModule.regPort+'/regevent.php?event='+inttostr(EventID)+'&op='+uniMainModule.initials+'", function( data ){' + ' ajaxRequest(TransForm.form, ["regEvent"], { response : data }); '+ ' }); '); 5: UniSession.AddJS('$.get("http://127.0.0.1:'+uniMainModule.regPort+'/cgi-bin/regevent.cgi?event='+inttostr(EventID)+'&op='+uniMainModule.initials+'", function( data ){' + ' ajaxRequest(TransForm.form, ["regEvent"], { response : data }); '+ ' }); '); end; For the local server to respond I had to configure it accepting cross-reference calls to a specific folder where the apps called through the server are located: <VirtualHost *:80> DocumentRoot "c:\apache22\htdocs" Header set Access-Control-Allow-Origin "*" </VirtualHost>
  11. Hello, try to disable jQuery. On uniServerMOdule.Options.soDontLoadjQueryLib := True;
  12. I opened UniServerModule -->CustomFiles and found following files/jdigiclock/css/jquery.jdigiclock.css files/jdigiclock/lib/jquery.jdigiclock.js files/clockdemo/styles.css files/clockdemo/jquery.tzineClock/jquery.tzineClock.css files/clockdemo/jquery.tzineClock/jquery.tzineClock.js From plugin instruction we can see <link rel="stylesheet" type="text/css" href="css/jquery.jdigiclock.css" /> <script type="text/javascript" src="lib/jquery-1.3.2.min.js"></script> // <<< Lib is needed !!! <script type="text/javascript" src="lib/jquery.jdigiclock.js"></script> In UniServerModule -->CustomMeta it is empty So does anyone know where is hidden this lib jquery-1.3.2.min.js in UniGui?
  13. Any Ideas? How to transfer the UniGUI ISAPI DLL path to CSS, JS, ICO and other files requested from the HTML start document? <!DOCTYPE html> <html lang="ru"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>New Application</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=yes"> <meta http-equiv="content-type" content="charset=utf-8"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="-1"> <link REL="SHORTCUT ICON" HREF="/cache/unigui_web_dll/MXO9v3XLiA103366530/favicon.ico"> <---------------- List of necessary files -------------------------------------------------> <link rel=stylesheet href="/uni-1.50.0.1481/css/uni-ext.css" /> <link rel=stylesheet href="/ext-6.6.0/build/classic/theme-classic/resources/theme-classic-all.css" /> <script src="/ext-6.6.0/build/ext-all.js"></script> <script src="/ext-6.6.0/build/classic/theme-classic/theme-classic.js"></script> <script src="/uni-1.50.0.1481/ext-unicommon-min.js"></script> <script src="/uni-1.50.0.1481/ext-sync-min.js"></script> <script src="/ext-6.6.0/build/classic/locale/locale-ru.js"></script> <script src="/uni-1.50.0.1481/jQuery/jquery-1.11.2.min.js"></script> <link rel=stylesheet href="/ext-6.6.0/build/packages/font-awesome/resources/font-awesome-all.css" /> <link rel=stylesheet href="/ext-6.6.0/build/packages/font-pictos/resources/font-pictos-all.css" /> <script src="/uni-1.50.0.1481/jQuery/MaskedInput/jquery.inputmask.min.js"></script> <script src="/uni-1.50.0.1481/jQuery/autoNumeric/autoNumeric-1.9.35.js"></script> <link rel=stylesheet href="/uni-1.50.0.1481/css/uni-xtheme-common.css" /> <link rel=stylesheet href="/uni-1.50.0.1481/css/uni-xtheme-classic.css" /> <script src="/uni-1.50.0.1481/ext-unigui-min.js"></script> <style type="text/css">.x-viewport > .x-body {position:relative !important;}</style> <style type="text/css">body {overflow-y: hidden !important;}</style> <-------------------------------------------------------------------------------------------------> </head> <script> uniVars._extVer="6.6.0";_S_ID="_S_ID=MXO9v3XLiA103366530";uniSyncObj.errShow=true;uniSyncObj.errText="Connection Error";uniSyncObj.errRetryText="Retrying...";uniSyncObj.errTextColor="#0055AA";uniSyncObj.errAfterRetry=1;uniSyncObj.errLogTry=0x7ef4f2fa;uniSyncObj.licOwn="X21gaGdkaSltcDtiaFxkZyleamg=";uniSyncObj.srcArr="MzcwMTQzNDM5OA=="; Ext.application({name:"uniApplication",launch: function(){setTimeout(function(){Ext.get("loading").remove();Ext.get("loading-mask").fadeOut({remove:true});},250);Ext.BLANK_IMAGE_URL="/ext-6.6.0/build/classic/theme-classic/resources/images/tree/s.gif"; Ext.BLANK_IMAGE_SRC="<img src="+Ext.BLANK_IMAGE_URL+">"; TextMetrics=new Ext.util.TextMetrics(Ext.getBody()); var _ajxerr=false;_ifrm_("FRM_MXO9v3XLiA103366530");_showAjaxErr=true;_ajxflerr="Communication Error";Download=Ext.DomHelper.append(document.body,{tag:"iframe",cls:"x-hidden"});try{ O0=new Ext.window.Window({id:"O0_id",retfalse:{},onEsc:Ext.emptyFn,layout:"fit",title:"MainForm",closeToolText:"",maximizable:true,minimizable:true,resizable:true,icon:"/cache/project1_exe/MXO9v3XLiA103366530/favicon.ico",iconCls:"x-uni-icon-contain",uniFMask:{beforeclose:true},width:539,height:276});O0.nm="O0";_cdo_("MainForm");MainForm.ajxS=AjaxSuccess;MainForm.ajxF=AjaxFailure;O0.rootObj=true;MainForm.appRoot="/";_cdo_(null,O0,"window",MainForm); O8=new Ext.form.Panel({id:"O8_id",border:false,uActive:false,tabItems:new Ext.util.MixedCollection(),layout:"absolute"});O8.nm="O8";_cdo_(null,O8,"form",MainForm);O0.add(O8); O10= (function(P0){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O0&Evt=beforeclose&this="+P0.nm+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O0,e:"beforeclose"});});O10.nm="O10";O0.on("beforeclose",O10); O11= (function(P0){_saf_(P0);return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O0&Evt=activate&this="+P0.nm+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O0,e:"activate"});});O11.nm="O11";O0.on("activate",O11); O12= (function(P0){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O0&Evt=deactivate&this="+P0.nm+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O0,e:"deactivate"});});O12.nm="O12";O0.on("deactivate",O12);uniVars._mFrm_=O8;O0.on("deactivate",function(f){_sdf_(f)});ajaxRequest(O0,"cinfo",{ci:_gci_()});Ext.Msg.setAlwaysOnTop(10000000); O13=new Ext.container.Container({id:"O13_id",layout:"absolute",overflowX:"hidden",overflowY:"hidden",width:256,height:242,x:0,y:0});O13.nm="O13";_cdo_("uncntnrpnl1",O13,null,MainForm); O1B=new Ext.uni.Splitter({id:"O1B_id",bodyBorder:false,border:false,orientation:"e",minSize:30,width:6,height:242,x:256,y:0});O1B.nm="O1B";_cdo_("unspltr1",O1B,null,MainForm); O23=new Ext.panel.Panel({id:"O23_id",bodyBorder:false,html:"\x3Ctable border=\"0\" width=\"100%\" height=\"100%\"\x3E\x3Ctr\x3E\x3Ctd id=\"O23_id_td\" style=\"color:#000000;text-align:center\"\x3Eunpnl1\x3C/td\x3E\x3C/tr\x3E\x3C/table\x3E",header:false,layout:"absolute",width:265,height:242,x:262,y:0});O23.nm="O23";_cdo_("unpnl1",O23,null,MainForm);O8.add([O13,O1B,O23]);uniVars._loginFrm=null; O2B=new Ext.container.Viewport({id:"O2B_id",layout:"border",scrollable:true,style:"background:#004080;"});O2B.nm="O2B";_cdo_(null,O2B,"viewport",MainForm);uniVars._vport=O2B;Ext.util.Format.decimalSeparator=",";Ext.util.Format.thousandSeparator=" ";_cwk_();uniVars.gNavigate={e:true,t:true,c:true,gn:{s:0},gp:{s:0},gs:{s:0},gc:{s:0}};_dko_({BS:true,ESC:true}); O33= (function(P0,P1,P2){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O0&Evt=resize&this="+P0.nm+"&w="+P1+"&h="+P2+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O0,e:"resize"});});O33.nm="O33";O0.on("resize",O33); O34= (function(P0,P1,P2){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O0&Evt=move&this="+P0.nm+"&x="+P1+"&y="+P2+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O0,e:"move"});});O34.nm="O34";O0.on("move",O34); O35= (function(P0){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O0&Evt=maximize&this="+P0.nm+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O0,e:"maximize"});});O35.nm="O35";O0.on("maximize",O35); O36= (function(P0){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O0&Evt=minimize&this="+P0.nm+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O0,e:"minimize"});});O36.nm="O36";O0.on("minimize",O36); O37= (function(P0){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O0&Evt=restore&this="+P0.nm+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O0,e:"restore"});});O37.nm="O37";O0.on("restore",O37); O38= (function(P0,P1,P2){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O2B&Evt=resize&this="+P0.nm+"&w="+P1+"&h="+P2+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O2B,e:"resize"});});O38.nm="O38";O2B.on("resize",O38);showBrowserWarning("Your browser is not supported.\x3Cbr /\x3EYou may experience compatibility issues.");O0.show("");O0.retfalse.beforeclose=1;_axy_(O0);O0.uniMask={ldMask:false,maskWaitData:false,maskUseMsg:true};O0.uniMask.targetObj=null; O39= (function(P0,P1){return Ext.Ajax.request({url:"/HandleEvent",params:"Ajax=1&IsEvent=1&Obj=O1B&Evt=moved&this="+P0.nm+"&newSize="+P1+""+_gv_(O8),success:AjaxSuccess,failure:AjaxFailure,obj:O1B,e:"moved"});});O39.nm="O39";O1B.on("moved",O39);O1B.setElProp("cursor","col-resize",3,null,false,"");}catch(e){throw e;alert(e.message)}}}); window.onunload=function(){_cunld_()}; </script> <body> <div id="loading-mask"></div><div id="loading"><div class="loading-indicator">Loading...</div></div> <div id=body></div><noscript>This web application requires JavaScript enabled</noscript></body> </html> Through the variable PATH_INFO from the record EXTENSION_CONTROL_BLOCK? Through another data exchange mechanism between the server and the UniGUI ISAPI DLL module?
  14. This issue you can fix. Above, it was indicated how to disable the built-in jquery library in UniGUI. And you can include the latest version of the library, in many ways you know. This is only by correcting the UniEdit module. You can send a request to the support portal.
  15. @Sherzod can You help here, how to use last version of JQuery, solutions dont work for me?
  16. fading in modal dialog or form modal in unigui. Help??? sample http://getbootstrap.com/javascript/#modals press button (launch demo modal)
  17. Are you loading additional JS libraries, like jQuery for example?
  18. Hi dear farshad, There is many free jquery or js source-code for kanban. if possible, write a new kanban component for unigui (like calendar-panel). thanks and regards
  19. I'm sorry, I have to correct myself. These errors are shown in the Chrome console: ext-all.js:1 Uncaught SyntaxError: Unexpected token '<' theme-classic.js:1 Uncaught SyntaxError: Unexpected token '<' ext-unicommon-min.js:1 Uncaught SyntaxError: Unexpected token '<' ext-sync-min.js:1 Uncaught SyntaxError: Unexpected token '<' locale-nl.js:1 Uncaught SyntaxError: Unexpected token '<' jquery-1.11.2.min.js:1 Uncaught SyntaxError: Unexpected token '<' jquery.inputmask.min.js:1 Uncaught SyntaxError: Unexpected token '<' autoNumeric-1.9.35.js:1 Uncaught SyntaxError: Unexpected token '<' ext-unigui-min.js:1 Uncaught SyntaxError: Unexpected token '<' (index):33 Uncaught ReferenceError: uniVars is not defined at (index):33 :8077/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)
  20. This morning I added debugging to my application so "see" exactly the steps it was taking. When run on my dev box, all works to plan. When I deploy the application to a customer server, things are not the same. When launched in IE 11, this message appears. The webpage you are viewing is trying to close the window. Do you want to close this window? If I answer Yes, the browser quits. If I answer No, the application runs as intended. I then launched Chrome and ran the same application, but when launched, Chrome simply closed with no message at all. So I opened Chrome and turned on debugging. (Ctrl+Shit+J), then launched the uniGUI app. This time, the app loaded as expected, but there was a warning message in the debug window of Scripts may close only the windows that were opened by it. Expanding the debug window I saw the line that caused the error. I pasted the top part of the debug text below. I looked on the web for solutions, but could not find anything that helped. <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Vendor Requistion</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=10.0, user-scalable=yes"> <meta http-equiv="content-type" content="charset=utf-8"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="expires" content="-1"> <link REL="SHORTCUT ICON" HREF="/cache/nas_vendreg_exe/IvxbEVfxWr1026C8C0C/favicon.ico"> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-ext.css" /> <link rel=stylesheet href="/ext-6.5.3/build/classic/theme-classic/resources/theme-classic-all.css" /> <script src="/ext-6.5.3/build/ext-all.js"></script> <script src="/ext-6.5.3/build/classic/theme-classic/theme-classic.js"></script> <script src="/uni-1.50.0.1480/ext-unicommon-min.js"></script> <script src="/uni-1.50.0.1480/ext-sync-min.js"></script> <script src="/uni-1.50.0.1480/jQuery/jquery-1.11.2.min.js"></script> <link rel=stylesheet href="/ext-6.5.3/build/packages/font-awesome/resources/font-awesome-all.css" /> <link rel=stylesheet href="/ext-6.5.3/build/packages/font-pictos/resources/font-pictos-all.css" /> <script src="/uni-1.50.0.1480/jQuery/MaskedInput/jquery.inputmask.min.js"></script> <script src="/uni-1.50.0.1480/jQuery/autoNumeric/autoNumeric-1.9.35.js"></script> <script src="/uni-1.50.0.1480/ext-treenode-plugin.js"></script> <script src="/uni-1.50.0.1480/unicanvas-min.js"></script> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-xtheme-common.css" /> <link rel=stylesheet href="/uni-1.50.0.1480/css/uni-xtheme-classic.css" /> <script src="/uni-1.50.0.1480/ext-unigui-min.js"></script> <style type="text/css">.x-viewport > .x-body {position:relative !important;}</style> <style type="text/css">body {overflow-y: hidden !important;}</style> </head> <script> window.close();;uniVars._extVer="6.5.3";_S_ID="_S_ID=IvxbEVfxWr1026C8C0C";Ext.Ajax.setTimeout(90000);uniSyncObj.errShow=true;uniSyncObj.errText="Connection Error";uniSyncObj.errRetryText="Retrying...";uniSyncObj.errTextColor="#0055AA";uniSyncObj.errAfterRetry=1;uniSyncObj.errLogTry=0x7ef4f2fa;uniSyncObj.licOwn="cmBucTtyZGlvYF5jKGRpXileamg=";uniSyncObj.srcArr="XJoHutVO"; Ext.application({name:"uniApplication",launch: function(){setTimeout(function(){Ext.get("loading").remove();Ext.get("loading-mask").fadeOut({remove:true});},250);Ext.BLANK_IMAGE_URL="/ext-6.5.3/build/classic/theme-classic/resources/images/tree/s.gif"; Ext.BLANK_IMAGE_SRC="<img src="+Ext.BLANK_IMAGE_URL+">"; TextMetrics=new Ext.util.TextMetrics(Ext.getBody());
  21. Hi ... now Logfile tells that unigui is searching on harddisk C./ in Servermodule-Objectinspector i have ExtLocale [Auto] ExtRoot [ext]\ UniRoot [uni]\ datenschutz.dll: 00001310: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\css\uni-ext.css datenschutz.dll: 000004B8: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\classic\theme-classic\resources\theme-classic-all.css datenschutz.dll: 00000814: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\css\uni-xtheme-common.css datenschutz.dll: 0000026C: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\ext-all.js datenschutz.dll: 00001310: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\packages\font-pictos\resources\font-pictos-all.css datenschutz.dll: 00001180: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\packages\font-awesome\resources\font-awesome-all.css datenschutz.dll: 000004A8: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\classic\theme-classic\theme-classic.js datenschutz.dll: 00001310: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\ext-unicommon-min.js datenschutz.dll: 000004A8: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\ext-sync-min.js datenschutz.dll: 00001180: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\classic\locale\locale-de.js datenschutz.dll: 0000026C: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\AlwaysOnTop.js datenschutz.dll: 00000814: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\jQuery\jquery-1.11.2.min.js datenschutz.dll: 000004B8: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\jQuery\MaskedInput\jquery.inputmask.min.js datenschutz.dll: 0000026C: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\packages\font-awesome\resources\font-awesome-all.css datenschutz.dll: 000004B8: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\packages\font-pictos\resources\font-pictos-all.css datenschutz.dll: 00001180: 13:34:24 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\packages\ux\classic\ux.js datenschutz.dll: 00000814: 13:34:25 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\jQuery\autoNumeric\autoNumeric-1.9.35.js datenschutz.dll: 000004A8: 13:34:25 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\unicanvas-min.js datenschutz.dll: 00001310: 13:34:25 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\ext-unigui-min.js datenschutz.dll: 000004A8: 13:34:25 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\packages\ux\classic\ux.js datenschutz.dll: 000004A8: 13:34:25 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\unicanvas-min.js datenschutz.dll: 00001310: 13:34:25 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\ext-unigui-min.js datenschutz.dll: 000004A8: 13:34:25 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\css\uni-xtheme-common.css datenschutz.dll: 000004A8: 13:34:27 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\css\uni-ext.css datenschutz.dll: 00001310: 13:34:27 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\packages\font-awesome\resources\font-awesome-all.css datenschutz.dll: 00001180: 13:34:27 [HandleFileRequest[195.192.8.201]]:File not found: C:\uni\css\uni-xtheme-common.css datenschutz.dll: 00000814: 13:34:27 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\packages\font-pictos\resources\font-pictos-all.css datenschutz.dll: 000004B8: 13:34:27 [HandleFileRequest[195.192.8.201]]:File not found: C:\ext-6.5.3\build\classic\theme-classic\resources\theme-classic-all.css
  22. Добрый день! Хочу подключить flot графики к приложению. HTML <div class="demo-container"> <div id="placeholder" class="demo-placeholder"></div> </div> AfterScript $(function() { if (typeof $.fn.prop != 'function') { $.fn.prop = $.fn.attr; } var data = [{ label: "United States", data: [[1990, 18.9], [1991, 18.7], [1992, 18.4], [1993, 19.3], [1994, 19.5], [1995, 19.3], [1996, 19.4], [1997, 20.2], [1998, 19.8], [1999, 19.9], [2000, 20.4], [2001, 20.1], [2002, 20.0], [2003, 19.8], [2004, 20.4]] }]; var options = { series: { lines: { show: true }, points: { show: false } }, legend: { noColumns: 2 }, xaxis: { autoScale: "exact", tickDecimals: 0 }, yaxis: { autoScale: "loose", autoScaleMargin: 0.2, min: 0 }, zoom: { interactive: true }, selection: { mode: "x" } }; var alreadyFetched = {}; var placeholder = $("#placeholder"); placeholder.bind("plotselected", function (event, ranges) { $("#selection").text(ranges.xaxis.from.toFixed(1) + " to " + ranges.xaxis.to.toFixed(1)); var zoom = true; // $("#zoom").prop("checked"); if (zoom) { $.each(plot.getXAxes(), function(_, axis) { var opts = axis.options; opts.min = ranges.xaxis.from; opts.max = ranges.xaxis.to; }); plot.setupGrid(); plot.draw(); plot.clearSelection(); } }); placeholder.bind("plotunselected", function (event) { $("#selection").text(""); }); var plot = $.plot(placeholder, data, options); $("#clearSelection").click(function () { plot.clearSelection(); }); placeholder.bind("plotpan", function (event, plot) { var axes = plot.getAxes(); }); placeholder.bind("plotzoom", function (event, plot) { var axes = plot.getAxes(); }); // add zoom out button $.fn.unZoom = function (adata) { data = []; //alreadyFetched = {}; $.plot("#placeholder", data, options); data = adata; console.log(data); //function onDataReceived(series) { console.log("Data received"); //console.log(series); // Extract the first coordinate pair; jQuery has parsed it, so // the data is now just an ordinary JavaScript object //var firstcoordinate = "(" + series.data[0][0] + ", " + series.data[0][1] + ")"; // Push the new data onto our existing data array //if (!alreadyFetched[series.label]) { // alreadyFetched[series.label] = true; // data.push(series); //} $.plot("#placeholder", data, options); console.log("PLOT OK"); // } // console.log(window.parent.Ext.getCmp("_URLFrame")); // console.log(window.parent.Ext.getCmp("_HTMLFrame")); // $.ajax({ // url: Ext.getCmp("_HTMLFrame"), // data: {data:data}, // type: "GET", // dataType: "json", // success: onDataReceived // }); }; $("<div class='button' style='right:20px;top:20px'>zoom out</div>") .appendTo(placeholder) .click(function (event) { event.preventDefault(); plot.zoomOut(); }); // and add panning buttons function addArrow(dir, right, top, offset) { $("<img class='button' src='arrow-" + dir + ".gif' style='right:" + right + "px;top:" + top + "px'>") .appendTo(placeholder) .click(function (e) { e.preventDefault(); plot.pan(offset); }); } addArrow("left", 55, 60, { left: -100 }); addArrow("right", 25, 60, { left: 100 }); addArrow("up", 40, 45, { top: -100 }); addArrow("down", 40, 75, { top: 100 }); }); Столкнулся с проблемой, что не могу нормально передать массив данных. Пытаюсь так: procedure TMainForm.UniButton1Click(Sender: TObject); var s,so:string; begin s:='{"label": "Europe (EU27)", "data": [[1999, 3.0], [2000, 8], [2001, 6.0], [2002, 1.2], [2003, 10.3]]}'; // UniSession.AddJS('$.plot("#placeholder",['+s+'],'+so+')'); //ничего не происходит UniSession.AddJS('$.fn.unZoom(['+s+'])'); // UniSession.AddJS('ajaxRequest('+MainForm.UniHTMLFrame1.JSName+',"$.fn.unZoom",['+s+'],false)'); //Synchronous XMLHttpRequest on the main thread is deprecated end; При загрузке страницы скрипт рисует тестовый набор данных (см. AfterScript). Далее, через нажатие кнопки пытаюсь отправить из Unigui JSON данные. Для приёма создал public function $.fn.unZoom. Она принимает массив, пишет в консоль и отображает график. Но, при использовании функции масштабирования я вижу куски исходных графиков (созданных при загрузке скрипта). Т.е. получается, что я создаю новый экземпляр объекта отображения? Как правильно транслировать массив, подскажите, пожалуйста? Basic jQuery-flot.zip
  23. Hello, Has anyone managed to use a newer version of jQuery ?
  24. procedure TMainForm.UniFormCreate(Sender: TObject); var s: String; begin UniHTMLFrame1.HTML.BeginUpdate; UniHTMLFrame1.HTML.Clear; s:= '<html> '+ ' <head><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jquery-jcrop/0.9.15/css/jquery.Jcrop.min.css"</head>'+ ' <body> '+ ...
  25. Hi Aslan Thanks for writing. After trying without success receive information from Telerik support I started to study severla posts in the forums and identifyed that ome solution is using customCSS. I am testing now but something is still not working as I need. What I am doing is including in the added event of Ext events of the chart the function function added(sender, container, pos, eOpts) { sender.addCls('bg-chart'); } AND in the custoCSS of servermodule something like bg-chart { background-color: white; background-image: url('https://www.mysite.com/' + OneOfTheTypesString + '.bmp'); background-repeat: no-repeat; background-position: center; background-size: cover; } When I run I do not get errors but the background do not appear ( as here Demo of core features in jQuery Line Charts widget | Kendo UI for jQuery (telerik.com)) Maybe my error is that intead of writing background-image above I have to write something like chartArea.background . I will test The properties of the KENDOUI are below. The result I need is inthe figure"VCL" attached. What what I am getting with Unigui + Kendo is the other figure KENDOUI chart properties · chartArea · chartArea.background · chartArea.border · chartArea.border.color · chartArea.border.dashType · chartArea.border.width · chartArea.height · chartArea.margin · chartArea.margin.bottom · chartArea.margin.left · chartArea.margin.right · chartArea.margin.top · chartArea.opacity · chartArea.width
×
×
  • Create New...