Jump to content

thecrgrt

Members
  • Posts

    201
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by thecrgrt

  1. thecrgrt

    ExtJS files

    How much number of ExtJS files were used by UniGUI? There are so many files were included in ExtJS directory, is it possible to reduce a number of files for only neccessary files? I notice Raudas has only an ExtJS base class (ext-all.js), resources (CSS and Images) and locale files. Of course, ext-sync-x.y.z-min.js, ext-unigui-x.y.z-min.js and unicanvas-x.y.z-min.js are neccessary but for others, there are used for what? For example, since UniGUI has not supported for codemirror, why's it there? Some people's asked to me, what are files has been changed? why i need to redeploy all files? IMO, only for neccessary files are easier to deploy. PS. Too many files copying are take a long time, even if each file is so small.
  2. Thank you, "0001059: Call CallBack for all dialog types" is the good resolve to apply for many cases.
  3. You can workaround by creating custom html code and dynamically add it into UniServerModule.ServerMessages.TerminateTemplate. Example: if ((WebMode) and (UserID = '')) then begin UniServerModule.ServerMessages.TerminateTemplate.Text := '<html> ' + '<body bgcolor="#E6E6FA"> ' + '<p style="text-align:center;color:#0000A0">Authentication was needed for this application,</p> ' + '<p style="text-align:center;color:#0000A0">please sign-on using main application.</p> <br>' + '</body> ' + '</html>'; UniApplication.Terminate(); Exit; end; PS. The Close() method of Form is no longer needed when UniApplication.Terminate() was called.
  4. IMO, this feature and same for any Form mamagement are very important, it make UniGUI is more powerfull. It's good to be switching to ExtJS 4 as soon as possible.
  5. Hi all, How do i can to make a word wrap like an insertion of newline(#10) or CR(#13) to text was displayed by using ShowMessage and MessageDlg functions?
  6. I love some Raudus core enhancement, but for overall UniGUI is better. For the UniGUI roadmap that are being finished, UniGUI is the best powerfull framework.
  7. Hi patmap, Good Job for your sharing. Hi Farshade, IMO, it's better if the important protected Ext_ classes were published to easy workaround like a ClientEvents, so we can workaround at Delphi side (instead of create new component) and JS code.
  8. Hi Farshad, That's a good article especially for GDI usage, it's a good thing if it was published as a UniGUI documentation, and as I've said Fast-CGI is more important for this scenario. To Mike, By the way, for real world application developers should take care of a memory used by them-self as first stage. To reduce a memory used per session and to increase overall of ability a real usage of physical memory, and for load balancing we can distributed an application out of process of web server, even if we can make native 64-bit for Delphi, but it was limited for a single web server. It is a good idea to redistribute an application to another process or another machine.
  9. By the way, you can use any methods for it, but Delphi multi-tiered frame work is the easiest way to implement database connection out of process.
  10. I've found the same error, it was related to FBClient.dll version, it's only effected to 64-bit system(there is no problem for 32-bit system) and ISAPI moddules (IIS/Apache and others). You can workaround by get rid of database connection code form ISAPI module and dedicated its into other tier(I mean multi-tiered app.), it could executed in the same machine, of course. If you used Delph version atleast 2009, I was strongly recommended to use DataSnap.
  11. And for ClientEvents, is it possible to have an events handle management for "document"? maybe added to ServerModule.
  12. Thank you, that's good news.
  13. I found the solution, I was created the following script file and added it into CustomFile property of ServerModule if (typeof window.event != 'undefined') // IE document.onkeydown = function() // IE { var t=event.srcElement.type; var kc=event.keyCode; return ((kc != 8) || (t == 'text') || (t == 'textarea') || (t == 'button') || (t == 'submit') || (t == 'password') || (t == '')); } else document.onkeypress = function(e) // FireFox/Others { var t=e.target.type; var kc=e.keyCode; if ((kc != 8) || (t == 'text') || (t == 'textarea') || (t == 'button') || (t == 'submit') || (t == 'password') || (t == '')) return true; else { return false; } } For web-based application, this feature is important, IMO. I hope this feature was added to UniGUI framework. (and also session management when F5 was pressed )
  14. For Intraweb, the back button was automatically disabled
  15. For UniGUI, how do i can disable Backspace key when there is no focus? Because of when Backspace key was pressed the browser is act as back button is pressed.
  16. This feature is usefull for me, thank.
  17. The example was implemented the session contexts were kept together with the same users id. that have been logged-in, and restore its session with the last changed session when logged-in with those users id. In short, it was snap-shot session for logged-in users and were restored for them at next logged-in.
  18. how do you think about "Manipulation of current context" of Raudus? http://samples.raudus.com:88/99-Context-Redmond
  19. http://code.google.com/p/extpascal/wiki/FAQ I've found the some resource for ExtPascal for the feature that your requested, but I don't know how do UniGUI is implemented it? maybe you should try it in this way, or maybe Fashad can tell us, how can we do?
  20. Thank you very much, that so usefull. I'll try it.
  21. Hi Farshad, I hope this not break your valued time. If you do not remember it. I've asked you about the display of Buddhist year. So I've modified some of part of JS code by using Ext.Override into locale file, and everything fine for displaying, but returned value was not correctly. I've noticed that, ExtJS has used a shared code to get value for displaying and returning value of datetime. Of course I can make it separately, but the wrapper does not know about this function. So i've some question: 1. TUniDateTimePicker was inherited from the classes of ExtCalendar? 2. If so, is DateTime value of TUniDateTimePicker is internally managed? or can it modified from this point?
  22. By design of UniGUI, are there workaround methods? How do I can use a shared Form on this way?
×
×
  • Create New...