-
Posts
867 -
Joined
-
Last visited
-
Days Won
28
Content Type
Profiles
Forums
Events
Everything posted by erich.wanker
-
'Server unavailable, please try later' just in IE
erich.wanker replied to erich.wanker's topic in General
0.93.1.1000 .... -
Hello ... a strange and hard to find issue... 'Server unavailable, please try later' just happend in IE 10 and 11 .. sometimes .. not reproduceable .. in different situations .. .. BUT NOT in Firefox and Chrome ... has anyone a idea how i can locate the error? ... ThanX for suggestions
-
i found a solution.. aktuell_session:=UniApplication.UniSession.SessionID; aktuell_ip:=UniApplication.RemoteAddress; aktuell_session:='[sessionID:'+aktuell_session+'] '; aktuell_ip:='[DeviceIP:'+aktuell_ip+'] '; if mainform.logger=true then UniServerModule.Logger.AddLog(mainform.aktuell_username,mainform.aktuell_session+mainform.aktuell_ip);
-
Hello, i try to log Session-ID and IP - but doesn´t work ? procedure TMainForm.UniFormCreate(Sender: TObject); begin UniServerModule.SessionManager.Sessions.GetSession(aktuell_session,aktuell_ip); aktuell_session:='[SessionID:'+aktuell_session+'] '; aktuell_ip:='[DeviceIP:'+aktuell_ip+'] '; UniServerModule.Logger.AddLog(aktuell_session+aktuell_ip+' -> starts'); any Ideas what´s wrong ? ThanX
-
Hi, the HTML Text of TUniHTMLFrame: strukturframe.HTML.Append('<p class=" strukturhoverpanel myUnselectable standardtext textpunkte" '); strukturframe.HTML.Append(' onclick="ajaxRequest(data_struktur.steuerung,''Panelclick'' , ['''+unimainmodule.ZSTRUCTURE.fieldbyname('STRUCTURE_NR').AsString+''' , '''+unimainmodule.ZSTRUCTURE.fieldbyname('OBJECT_TYPE').AsString+''' ])"'); strukturframe.HTML.Append(' ondblclick="ajaxRequest(data_struktur.steuerung,''Doppelclick'' , ['''+unimainmodule.ZSTRUCTURE.fieldbyname('STRUCTURE_NR').AsString+''' , '''+unimainmodule.ZSTRUCTURE.fieldbyname('OBJECT_TYPE').AsString+''' ])";>'+s+''); .... The "data_struktur.steuerung" code procedure Tdata_struktur.steuerungAjaxEvent( Sender: TComponent; EventName: string; Params: TStrings); var a,b,c:String; i:Integer; begin UniServerModule.Logger.AddLog('2.Ajax-Event:'+EventName); if EventName ='Panelclick' then einfacherklick(strtoint((Params[4]))); if EventName ='Doppelclick' then doppelklick(strtoint((Params[4]))); ... i want to start 2 different delphi procedures ... if normal click then start procedure "einfachklick" .. and if doubleclick then start "doppelklick" ThanX for suggestions Erich
-
Hello.. i have a little problem: TUniHTMLFrame.HTML.Append('... onclick="ajaxRequest(.... TUniHTMLFrame.HTML.Append('... ondblclick="ajaxRequest(..... if i make a click - i get 1 ajax-event for onclick .. if i make a doubleclick - 1 get 3 ajax-events.. 1x click 1x click 1x doubleclick .. .. how can i handle it - to get 1 event for a doubleclick ? .. any ideas? ThanX
-
Hello .. is it possible to change the favicon and Title (Browser-Tab) at runtime? ... i want to change the icon and title of browserTab - depending on the menuepoint of my ungui-application ... and is it possible to use a png? ThaX for suggestions :-)
-
Hello DelphiDeveloper.. i stored the JS code in CustomMeta .. ThanX again for your help ... :-) Nice greetings from Austria ...
-
Hello folks.. i like to create a click-sound - but doesnt work :-( i have UniButton1.onClick: UniSession.AddJS('beep();'); and in serverModule / CustomCSS i have: <script type="text/javascript"> function beep() { var snd = new Audio("data:audio/wav;base64,//uQRAAAAWMSLwUIYAAsYkXgoQwAEaYLWfkWgAI0wWs/ItAAAGDgYtAgAyN+QWaAAihwMWm4G8QQRDiMcCBcH3Cc+CDv/7xA4Tvh9Rz/y8QADBwMWgQAZG/ILNAARQ4GLTcDeIIIhxGOBAuD7hOfBB3/94gcJ3w+o5/5eIAIAAAVwWgQAVQ2ORaIQwEMAJiDg95G4nQL7mQVWI6GwRcfsZAcsKkJvxgxEjzFUgfHoSQ9Qq7KNwqHwuB13MA4a1q/DmBrHgPcmjiGoh//EwC5nGPEmS4RcfkVKOhJf+WOgoxJclFz3kgn//dBA+ya1GhurNn8zb//9NNutNuhz31f////9vt///z+IdAEAAAK4LQIAKobHItEIYCGAExBwe8jcToF9zIKrEdDYIuP2MgOWFSE34wYiR5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1H+vpF4NSDckSIkk7Vd+sxEhBQMRU8j/12UIRhzSaUdQ+rQU5kGeFxm+hb1oh6pWWmv3uvmReDl0UnvtapVaIzo1jZbf/pD6ElLqSX+rUmOQNpJFa/r+sa4e/pBlAABoAAAAA3CUgShLdGIxsY7AUABPRrgCABdDuQ5GC7DqPQCgbbJUAoRSUj+NIEig0YfyWUho1VBBBA//uQZB4ABZx5zfMakeAAAAmwAAAAF5F3P0w9GtAAACfAAAAAwLhMDmAYWMgVEG1U0FIGCBgXBXAtfMH10000EEEEEECUBYln03TTTdNBDZopopYvrTTdNa325mImNg3TTPV9q3pmY0xoO6bv3r00y+IDGid/9aaaZTGMuj9mpu9Mpio1dXrr5HERTZSmqU36A3CumzN/9Robv/Xx4v9ijkSRSNLQhAWumap82WRSBUqXStV/YcS+XVLnSS+WLDroqArFkMEsAS+eWmrUzrO0oEmE40RlMZ5+ODIkAyKAGUwZ3mVKmcamcJnMW26MRPgUw6j+LkhyHGVGYjSUUKNpuJUQoOIAyDvEyG8S5yfK6dhZc0Tx1KI/gviKL6qvvFs1+bWtaz58uUNnryq6kt5RzOCkPWlVqVX2a/EEBUdU1KrXLf40GoiiFXK///qpoiDXrOgqDR38JB0bw7SoL+ZB9o1RCkQjQ2CBYZKd/+VJxZRRZlqSkKiws0WFxUyCwsKiMy7hUVFhIaCrNQsKkTIsLivwKKigsj8XYlwt/WKi2N4d//uQRCSAAjURNIHpMZBGYiaQPSYyAAABLAAAAAAAACWAAAAApUF/Mg+0aohSIRobBAsMlO//Kk4soosy1JSFRYWaLC4qZBYWFRGZdwqKiwkNBVmoWFSJkWFxX4FFRQWR+LsS4W/rFRb/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////VEFHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAU291bmRib3kuZGUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMjAwNGh0dHA6Ly93d3cuc291bmRib3kuZGUAAAAAAAAAACU="); snd.play(); } </script> what is wrong with this? ThanX for suggestions Erich
-
Hello folks :-) I animate a UniPanel with: UniSession.AddJS(detailbox.JSName + '.animate({ duration: 200, to: { x: 571, y: 139, opacity: 100}});'); BUT: I have a scrollbox ... and the "detailbox" position should be "linked" to the scrollbox.. I search something like: UniSession.AddJS(detailbox.JSName + '.animate({ duration: 200, to: { x: 571, y: 139 - scrollbox.position , opacity: 100}});'); Has anyone a idea? ThanX for Help Erich
-
Hello folks i have a TUniDBLookupComboBox on a form ... with this control -the user should select a existing record BUT: it is also possible to typing a text in this TUniDBLookupComboBox ... but the user should just select a existing record .. and not to write into the TUniDBLookupComboBox.. AND: is this possible? : If a user enters a char - the TUniDBLookupComboBox should show just the records beginning with this char ... ThanX for helping Erich
-
Hello folks, i want to draw a circle in a uniCanvas ... but following code doesn´t work ? aktuell_uniCanvas:=TuniCanvas.Create(self); aktuell_uniCanvas.Parent:=aktuell_panel; aktuell_uniCanvas.Left:=1; aktuell_uniCanvas.Top:=1; aktuell_uniCanvas.Width:=20; aktuell_uniCanvas.Height:=20; aktuell_uniCanvas.Pen.Color := clred; aktuell_uniCanvas.Brush.Color := clred; aktuell_uniCanvas.BitmapCanvas.Ellipse(1,1,20,20); or aktuell_uniCanvas.Cirlcle(1,1,10); .. How can i draw a circle? ThanX Erich
-
uniURLFrame: change background color of loaded page
erich.wanker replied to erich.wanker's topic in General
Hello Del Dev thanx for suggestion .. i tryed out - but didn´t work ... i dont know if the included page is the problem .. the included page has this definition according chrome-dev-tools: body { background-color: #E1E1E1; background-position: top center; background-repeat: repeat-x; background-image:url(....) } . -
hi, i want to change the background color of differnt pages in a uniURLFrame... i tryed out: procedure Ttestweppage.UniURLFrame1FrameLoaded(Sender: TObject); begin UniSession.AddJS(UniURLFrame1.JSName+'.contentDocument.body.style.background = #ffffff;'); UniSession.AddJS(UniURLFrame1.JSName+'.contentDocument.body.style.background-image:none = none;'); end; ..but doesn´t work Has anyone a tipp ? ThanX Erich
-
Hello folks, i want to calculate a lot of tables every 15 minutes .... short description: A firebird-database has a lot of tables ... and a table for statistics should be updated every 15 minutes ... the job contains a lot of calculations and different sql statements ... takes about 2 minutes with a standard win32 application on a standard Server-System. So - i am thinking about a second uniGui.dll - which will make this job ... Is it possible to tell apache-webserver to start a "statistic.dll" every 15 minutes? (Session timeout 14 min) .. where are a lot of ways to create a windows-service or a schedule-based solution with a win32bit application BUT - i prefere a apache-uniGUI solution .. so nothing should be installed or configurated in the OperatingSystem - just in the Apache-Webserver... Has anyone ideas how to realise this? Thanx Erich
-
Hello folks... i found an error in the logfile: Exception raised while destroying session: ... Adress 04F7D01C i compile the unigui.dll in delphi XE4 when - i stop apache - copy the dll in my apache/htdoc folder and start apache webserver again ... HOW can i find the raised exception? .. any Ideas .. ThanX
-
Hello folks :-) .. i have a question about changing a icon in a html-generated list: the list has 2 different object-types .. a folder OR a object record every of the 2 object-types has 2 states: selected or unselected - so i have 4 icons posibilitys for 1 record.. folder, selected folder, object, selected object. I CREATE A LIST OF RECORDS LIKE: (with css-hover and onclick-funktion) The Result looks like ( i put 3 example-pictures in one image) AND NOW THE PROBLEM with my "ONCLICK" - what is starting if i get a AjaxRequest ..: ..it works on Chrome .. but is very dirty and slow .. and IE produces random an AjaxError .. i think the "document.getElementById" -Loop is the problem.. If i click on a record - i get the recordnumber via ajaxRequest.... and after the click - i start my "dirty search and change"-procedure: i hope - someone has the time to read my "description" and has a idea how i can solve this ... Thanx and nice greetings from Gastein-valley Erich
-
with: strukturframe.HTML.Append('src="'+uniServerModule.FilesFolderURL+'images/'+'folder_black_voll.gif'); i get the correct URL
-
hello .. has anyone the same effect? i get as result a URL like: http://www.domain.at:81/%20/unigui.dll/files/images/... my used code is: trukturframe = UniHTMLFrame strukturframe.HTML.Append('<img onclick="ajaxRequest(data_struktur.steuerung,''Doppelclick'' , ['''+unimainmodule.ZSTRUCTURE.fieldbyname('STRUCTURE_NR').AsString+''' , '''+unimainmodule.ZSTRUCTURE.fieldbyname('OBJECT_TYPE').AsString+''' ])"; src="'); if x=1 then strukturframe.HTML.Append(uniServerModule.FilesFolderURL+'images/'+'folder_black_voll.gif'); the %20 allways is in the URL ... ?? Any Ideas ? Erich
-
Hello folks :-) is where a way to set the max. Size of a log-file .. or create a new file if the current file is big enouth ... or delete logfiles if the file is older as x days ? ... ThanX for suggestions Erich
-
DIV vs. uniPanel - and the overhead of extjs ...
erich.wanker replied to erich.wanker's topic in Feature Requests
Hello Farshad Mohajeri :-) nice greetings from Austria ... and thanx for implementation :-) .... i wish you all the best and send you my honor for your work! Hello ZigZig thank you for your suggestion and your support ... i can not reproduce your suggestion .. if i use " function OnBeforeInit(sender){sender.xtype = 'container';}" .. nothing changes .. the html overhead is the same as before ? -
Hello ... a small question: i use a lot of uniPanels in my Testapp... i use it like DIV-Layers to place things .. move things .. hover area .. and as buttons ;-) ... A simple uniPanle with no bordes, no text...: <div class="x-panel x-abs-layout-item x-panel-default" style="border: none; left: 48px; top: 760px; width: 207px; height: 61px;" id="O691_id"><div id="O691_id-body" class="x-panel-body x-panel-body-default x-panel-body-default x-abs-layout-ct x-docked-noborder-top x-docked-noborder-right x-docked-noborder-bottom x-docked-noborder-left" style="width: 207px; height: 61px; left: 0px; top: 0px;"><div id="O691_id-overflowPadderEl" style="font-size: 1px; width: 1px; height: 1px; display: none;"></div></div></div> ... a lot of overhead for just a DIV .. ;-) is where a way to reduce the informtaion or is a simpleUniPanel a component for the future ? ThanX for informations Erich
-
unvisible uniPanel with visible uniPanel-childs
erich.wanker replied to erich.wanker's topic in General
..and a other idea.. is where a way to delete all "extjs"- css class definitions of a unipanel? .. so the unipanel is a neutral and transparent html div-layer... The uniPanel has two div-layers... <div class="x-panel x-abs-layout-item x-panel-default" style="border: none; left: 0px; top: 642px; width: 605px; height: 62px;" id="O374F_id"> <div class="x-panel-body x-panel-body-default x-panel-body-default x-abs-layout-ct x-docked-noborder-top x-docked-noborder-right x-docked-noborder-bottom x-docked-noborder-left" style="width: 605px; height: 62px; left: 0px; top: 0px; background-color: rgb(235, 235, 235);"> </div> </div> can i delete with client-events the standard-definitions - so the uniPanel is transparent because there is no color definition ? Thanx for help :-) Erich -
Hello folks .. I have a uniImage on a form ... as backgroundimage on the uniImage - i have a big uniPanel "A" in uniPanel "A" - i have a lot of small unipanels .. ( the small unipanels MUST HAVE unipanel a as parent..) UniPanel A should be transparent - and the small unipanels should be visible .. so the backgroundimage can be see And the same problem with a uniScrollbox .. i want a transparent uniScrollbox without borders .. just with scrollbar .. with lot of visible uniPanels in it ... i found no solution with css: visibility or transparence ... Hope - anyone can help me ;-) ThanX Erich Wanker