Jump to content

david600320@hotmail.com

uniGUI Subscriber
  • Posts

    65
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by david600320@hotmail.com

  1. @CastleSoft . In XE2 , still got Same Error ! ( result := TRttiEnumerationType.GetName(a); <--- Error !! ) To install and test your nice component , I edited some lines of code . ex ) result := 'anyString' ; // each one of arrays Now , it works , Cooool !! Many thanks !
  2. I have removed REST.JSON,REST.Json.Types only ! RTTI is still remained in uses . thanks ,
  3. Thanks for you . After I removed RESTComponent , Error I removed it ( REST.JSON,REST.Json.Types , ) compiled again , but Error
  4. Thanks for shareing !! In my case ( Delphi XE2 ) , Error for being compiled .
  5. Hi Fenix , I hope you can support it in your UniSF components . Thanks.
  6. Hi Fenix , Your SFComponents are really looking good to build Unigui App . I guess you are good at Bootstrap dealing with Unigui components . It would be better if you could support such as a FloatingPanel component with Bootstrap.( i don't know the name exactly ) For example , On desktop , Bootstrap shows all panels as much as it can show as full screen and On mobile when it is resizing as smaller size , All panels are re-arranged again and fitted again along with the width of screen size. If you can support it , i will be able to be one of your members . Best regards,
  7. Hi, mohammad ! I have read and tried it what you gave us as a good example of responsive interface in Unigui . It is no problem to run on Desktop , Tablet even mobile . thanks for sharing that ! Meanwhile , Actually , I totally agree with you . I don't want to use Bootstrap to make app . but I (or maybe we) want to run app in the way of Bootstrap in Unigui !! For example , ( Running in Bootstrap example , or ExtJS 6.xx example ) 1. On Desk top , it shows itself in a full screen as designed . 2. when resizing on Mobile or Tablet as smaller size , it changes itself cutting like piece cake and shows well one by one every scrolling . That's why i am waiting for using Extjs6.xx in Unigui . Mohammad , How can i make responsive app like above with Unigui current version ? - It is easy to make your unigui app responsive, you don't need to use bootstrap. - Please , I wish you can share your wisdom to solve that !
  8. Hi !! Forget above about my stupid question . For a while , I forgot and misunderstood each roles between UniServerModule and UniMainModule . I solved this problem . ( I just added some codes for opening database in servermodule for Server ) As a result , I can build any applications which needs to be communicated ( set/get any values ) between Unigui and HTML in URLFrame . Actually , if you want to build like above using URLFRame , you have to refresh it URLFrame to confirm any result on html . but No developers want it for opening again . Ajax has nice solution to avoid such as above problems . if you handle a little through OnHttpcommand in UniServerModule , You can deal with it very easily without refreshing again . We have been given it by Farshard almost he is like Monster !! . For many years , He has been trying to finish for what we wanted for a long time. ( Meanwhile , Some guys who are doing illegal must stop and pay as much as Farshard 's Sweat, labor ) Many thanks again for UNIGUI , really really nice framework for developing web application using Delphi !!
  9. Hi , What am i wrong ? if ARequestInfo.URI = '/test' then begin //** 500 Internal Server Error cResponseText := Dataset2Json2String( ); // this function is example in UniMainmodule AResponseInfo.ContentType := 'text/html'; AResponseInfo.ContentText := cResponseText ; Handled := true; end; <No problem> On getting a string from any function no relation with DB through in UniMainmodule , it's ok . No problem !! . <my problem> But , Trying to get something from function relation with DB in UniMainModule , Occurred - 500 Internal server error - What am i wrong ? and Is there any idear to get something( String or record ) from functions in UniMainModule onto UniServerModule ? May thanks for your kindness .
  10. Hi again !! - That's my fault - ( function StrToFile() has a problem not to show string exactly ); *** URLFrame is so much better than I thought it would be **** Many thanks for Farshad Mohajeri !!
  11. Hi !! Q. How can i get a Params.Values[] ? - I shoud get a value for searching . - URLFrame , ajax( jQuery) , Unigui Stand alone Server . Delphi XE2 < HTML in UNIFrame > $.ajax({ url : '/test?username=1111&password=2222' , type : "POST", async : false, data : formData , // <--- correct ? var formData = {}; formData['search_key'] = search_key ; /* condition for searching */ dataType : "text", // <--- correct ? success : function(response) { console.log( response ) ; json_obj = response ; }, error : function(errorData,error){ console.log( 'errorData=' + errorData ) ; } }); <Server side> if ARequestInfo.URI = '/test' then begin //** I can't get params.values['search_me'] rs := '' ; rs := rs + ' ARequestInfo.Document = ' + ARequestInfo.Document ; <- ok rs := rs + ' ARequestInfo.Params.Values search_key=' + ARequestInfo.Params.Values['search_key'] ; <- nothing !! StrToFile( 'log.txt' , rs ) ; AResponseInfo.ContentType := 'text/html'; AResponseInfo.ContentText := cResponseText ; Handled := true; end; test_urlframe_ajax.zip thanks for your helps !!
  12. Hi , Delphi developer !! How are you ? I am testing of AjaxRequest() to get something on a Html file designed by bootstrap . BTW , I can't get any event from the html . I need your help !! > Delphi XE2 , Unigui 1.0.0.1386 , chrome latest After I put an uniHTMLFrame named HTMLFrame on the MainForm 1. HTMLFrame.HTML.LoadFromFile('index.html'); <----- designed html by bootstrap 2. added Five buttons for testing AjaxRequest() 3. added <script> function myfunc(){}</script> <!-- LOOK AT ME !! buttons for testing calling server ------------------------------------------------> - Two buttons works ! - <button type="button" class="btn btn-default" onclick="alert('OK'); ">alert</button> <button type="button" class="btn btn-default" onclick="javascript: myfunc('OK'); "> myfunc </button> - below Others not work for me - <button type="button" class="btn btn-default" onclick="ajaxRequest(MainForm.form , 'clickme', [] );" >call_form</button> <button type="button" class="btn btn-default" onclick="ajaxRequest(MainForm.window , 'clickme', [] );" >call_window</button> <button type="button" class="btn btn-default" onclick="ajaxRequest(MainForm.HTMLFrame , 'clickme', [] );">call_HTMLFrame</button> sg_dashboard.zip Best regards, David.
  13. Hi, Delphi Developer , As you said I just run Chrome without administrator rights . It works !! . Thanks for your help . ( Even though It was Sunday yesterday !! ) Best regards.
  14. - XE2 , Unigui Professinonal 1.0.0.1382 . Chrome 51.0.2987.110 . WIndows 10 . Stand Alone Server 1) On IE , works 2) On Chrome, not work . ( On dragging a file from Windows-Explorer onto Blue-Screen , Cursor changes itself in crNoDrop . ) help me ,Friends !! who has successed to upload mult-files using MuploadSample from FarShard on Chrome ?
  15. Hi guys , I need your helps . I have no any problems before reinstalling with 1.00 RC latest version . How can i solve this problem above ?
  16. - XE2 , Unigui Latest Professinonal Version . error [dcc Fatal Error] uldFlobal.pas(535) : F1026 File not found : 'Windows.dcu'
  17. Thanks a lot !! On Unigui 1.00 , It works . Thanks again to nice team and Framework !!
  18. [Test case] 1. Add a new Mobile project . 2. Add a New Form. 3. Add a Button on the mainForm . 4. On click Button , It shows a from with Tabpannel. 5. On closing a Form , Ajax Error !! I sent a Test case File . Thanks for your helps !! Mobile_TabPanel_Testcase.zip
  19. Hi guys ! - Delphi XE2 ,Unigui version 0.99.96.1332 Who is using Tabpanel ? [my simple test case] 1. MainForm with a Button which calls another form . 2. another form has a Tabpanel . On closing Another form , Ajax Error !! ( O56 is not Defined ) and never works . Thanks for your helps .
  20. Thanks ganzqgy , works fine !! , With your helps , I can be able to finish my testcase for using JQuery mobile in uniURLFrame . Have a nice day and God bless you !!
  21. Hi ganzqgy > your codes are very useful . so I could understand how to send/set something into uniURLFrmae.html . < your code > UniSession.JSCode('name_'+MainForm.UniURLFrame1.name+'_'+MainForm.UniURLFrame1.JSName+'.myinput4.innerHTML="..."'); MainForm.UniURLFrame1.iframe.contentWindow.document.getElementById("中文").innerHTML="..."; MainForm.UniURLFrame1.iframe.contentWindow.fun(1,1,22,62);//function MainForm.UniURLFrame1.iframe.contentWindow.vvv = '';//var vvv Q. BTW , Can i get any values from innerHTML or innerTEXT into uniGui again ? to be like below . ex) MainForm.uniEdit1.Text := someGetfunc ( MainForm.UniURLFrame1.iframe.contentWindow.document.getElementById("中文").innerHTML ) ; many thanks for specially Delphi Developer and ganzqgy !!
×
×
  • Create New...