Jump to content

patmap

Members
  • Posts

    263
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by patmap

  1. Hi Mr. Farshad I found a very good script for change LTR pages with all element to RTL pages on fly. https://github.com/behrang/extjs-mirror with only adding two line in UniServerModule.CustomFiles files/ExtRTL/ext-mirror.js files/ExtRTL/resources/css/ext-mirror.css this script seach all elements and convert all LEFT style to RIGHT (with calculate from right) and RIGHT style to LEFT. this work very very good on TreeView and DBGrid, but i have a problem with TUnuiButton. only this elelment and any other button types (toolbar buttons) after chnage styles with this script LEFT style added in element again and all buttons have both LEFT and RIGHT styles can you help me for solving this problem ? Best Regards
  2. Hi Mr. Farshad I test this functionality many many time, and some times in ISAPI mode Query['SCRIPT_NAME'] equal with AMethodName and cause a same problem, I change this function source, and test it with VCL mode and ISAPI mode and it seem no problem, function TIdExtSession.MethodURI(AMethodName : string) : string; var Protocol: String ; ScriptName: String; begin ScriptName := StringReplace( Query['SCRIPT_NAME'], '/', '', [rfReplaceAll]); if (ScriptName = AMethodName) or (ScriptName = '' )then Begin Protocol := 'http://' ; If Pos('HTTPS', FCurrentRequest.RawHTTPCommand) > 0 Then Protocol := 'https://' ; Result := Protocol + StringReplace( FCurrentRequest.Host + '/' + AMethodName, '//', '/', [rfReplaceAll]) ; End Else Result := StringReplace( Query['SCRIPT_NAME'] + '/' + AMethodName, '//', '/', [rfReplaceAll] ); end; Best Regards
  3. Hi Mr. Farshad I change this method and i test it with MyDLL.DLL script name and without MyDLL.DLL and it work good . function TIdExtSession.MethodURI(AMethodName : string) : string; var Protocol: String ; begin if AMethodName[1] <> '/' then AMethodName := '/' + AMethodName; if (Query['SCRIPT_NAME'] = '' ) or (Query['SCRIPT_NAME'] = '/') then Begin Protocol := 'http://' ; If Pos('HTTPS', FCurrentRequest.RawHTTPCommand) > 0 Then Protocol := 'https://' ; Result := Protocol + FCurrentRequest.Host + StringReplace('/' + Query['SCRIPT_NAME'] + AMethodName, '//' , '/', [rfReplaceAll]); End Else Result := Query['SCRIPT_NAME'] + AMethodName; end; Best Regards
  4. Hi. Mr. Farshad I test it and work perfect. you can see my demo site. but this not work for GeoTrack.DLL module or for this http://canvas.unigui.com/canvas.dll we must be check if Query['SCRIPT_NAME'] = '' then we use this line Result := 'http://' + FCurrentRequest.Host + Query['SCRIPT_NAME'] + AMethodName; else Result := Query['SCRIPT_NAME'] + AMethodName; Best Regards
  5. Hi Mr. Farshad This is very good. Thanks. you use a rewrite url. But i think this is not a professional job ! all your request send with DLL (See attach.) I found this problem resource: In this ExtPascal.pas unit and Line 659 ( TIdExtSession.MethodURI ) this is a Wrong way for relative path of url. i change this ( for Temporarily. because must me support https too ) Result := 'Http://' + FCurrentRequest.Host + Query['SCRIPT_NAME'] + AMethodName; Can you test it ? Best Regards
  6. Hi, Mr. Farshad But i think this request have a problem : HandleEvent used in htt*://myserver/GeoTracker.dll/HandleEvent I think HandleEvent request added into end of ScriptName of URL and it seem must be added in Full URL(Protocol + Host + ScriptName ) So, This is a opinion. Thank you. Best Regards
  7. Hi, Mr. farshad I did not define any rewrite url ! Only i map my dll with *. or * just this ! Best Regards
  8. Hi, Mr. Farshad I Set http://MyServer/GeoTracker.dll and this work. (You can see my demo site) Now, if i want to use http://MyServer/ can solve this problem ? Best Regards
  9. Hi, Mr. Farshad My Definition: I set( *. ) in Request path ! Best Regards
  10. Hi, Mr. Farshad I start with basic project and send PM message to you my demo site. Best Regards
  11. Hi, Mr. Farshad I debug with Firebug and i see server send this request every 1 sec: http://handleevent/ I think must be send : http://MyDomain/handleevent/ Best Regards
  12. Hi Mr. Farshad I want to use ISAPI project but always show me "Server unavailable, please try later". Can you tell me where is my problem, please. Best Regards
  13. Hi, I think you install both unitools12 and unitools15 , if this right , you must be use one of them. Regards
  14. Hi, I must be define any function in GMap.js and GoogleMap.pas component. Best Regrads
  15. Hi, Update to ver 1.4.2 Add SetZoom function See DrawLine Sample. Best Regards Babak Yaghoobi
  16. You can encrypt in javascript to MD5 or SHA and send to server, then check server side this encypted password. no need to decrypt in server side ! save all passwords with MD5 or SHA, in database or other storages.
  17. patmap

    Alert Box

    Hi, Good work ! Regards
  18. Download: Beta Releases Regards
  19. Update Post #1 1.4.1 2011-10-23 ------------------------ * Update for uniGUI ver 0.87.0.901 * Add XE2 Project * Fixed RemoveMarker * Add ClearLine for Clear Lines and Polygons
  20. Hi, I fixed localized DecimalSeparator to '.' and repost in Post #1 New Version: 1.3.5 Thank from lema Best Regards
  21. Hi, This is good idea, but not in multi thread application !!! If you use multi thread application when you change DecimalSeparator value this effehct in all threads, I change source with local ( Only this class ) change DecimalSeparator and will put here new source. Best Regards
  22. Hi, I fixed it, and repost in Post #1 New Version: 1.3.4 Best Regards
  23. Hi, The final version of XE2 released. and in many sites you can download Lite version (360 MB). Best Regards
  24. patmap

    Download File

    Hi, View DownloadDemo in Demos folder. Regards
×
×
  • Create New...