Jump to content

cristianotestai

uniGUI Subscriber
  • Posts

    374
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by cristianotestai

  1. Hello, I'm trying to change a css (line-height) of a UniButton or apply a css class as below, but does not work. 1 UniButton1.ClientEvents.ExtEvents function OnAfterrender(sender) { var id = $(this).attr('id') + '-btnInnerEl'; $("#"+id).css('line-height', '15px'); } 2 Using UniSession.AddJS begin UniSession.AddJS(UniButton1.JSName+'-btnInnerEl.addCls("x-line-height");'); end; Any idea? Thanks.
  2. Bom dia! Posso afirmar que o framework UniGui é uma das melhores, se já não for a melhor ferramenta para desenvolvimento de aplicações Web para Delphi. Venho acompanhando a evolução do UniGui desde 2011 e até agora só teve evolução sem nenhum indicio de descontinuação. Vários projetos em produção estão rodando, com exemplos de todos os tipos. O Farshad está fazendo um incrivel trabalho. Abraços Cristiano
  3. Hi, A idea is create your custom dialog form. Regards, Cristiano Testai
  4. Hi, As Farshad said, new themes will be available when the UniGui support ExtJS 5.0 and 6.0. Probably in version 1.0. Best Regards, Cristiano
  5. Hi Mohammed, It would not be that simple, because when I talk stateless, I refer navigation processes on pages with cache and also the issue that all code is 100% server side. Being 100% server side in some cases, some processes that should be instant (100% Client side), depending on the internet bandwidth, they are not. Have navigation between pages would be something that I would love, but as the UniGui is a Single Application Interface, think it will not be possible too. Regards, Cristiano Testai
  6. Hi Farshad, Is there any possibility in the future the UniGui be stateless, like most sites and applications? I dream one day to have my application being stateless and Restfull with UniGui. Best regards, Cristiano Testai
  7. Hi, With ExtJS 6, you’ll be able to use a single JavaScript framework to seamlessly build applications for desktops, tablets, and smartphones. Great!
  8. Hi Farshad, With the url \server i have the form that shows the information of active sessions and requests, etc. I'm needing to add other administrative information in this form. Is there any way i can customizes it, calling other methods and creating new panels to display other information? Thanks, Cristiano
  9. Hi, When i export the report in Report Builder to .pdf or excel it is saved in the "Cache Folder" from the server. I'm following the export example with Report Builder: http://forums.unigui.com/index.php?/topic/3257-reportbuilder-demo/ How should I do to be saved in the default download folder of user session? Thanks.
  10. Hi, I think you can only separate the use of CSS for the design, because the HTML is generated internally. In summary, the designer with UniGui is the creator of the Views(Forms) with good knowledge of CSS. UniGui is a RAD web framework and the main focus is to bring to Delphi developers a powerful tool for developing Web applications. It's a little different you need to build a website with design patterns and separation of the layers, etc. It is not the purpose, and if this is the case, UniGui would not be the best option. As I said, and it's just an opinion, are different aspects. Still, with a little effort, you can be able to create an application or website with a cool design. For me, today, the UniGui is the most amazing web framework for Delphi developers. Regards, Cristiano Testai Brazil
  11. Hello! I believe not wrong, but the component for installation in the IDE should be 32bits, because the IDE is created in 32bit environment. But can be compiled normally to deploy in 64bit. Regards, Cristiano
  12. Hi Delphi Developer! Work in general, but has a issue, it does not work correctly when the combobox is open, showing all options. In this situation, when entering the first letter, is set correctly for the text in the combobox, but pressing enter, the old index is selected. Thank you if you can see this issue. Best regards, Cristiano
  13. Hello, I have 1 UniFrame and i need if possible in client side scripting make it is always centered relative to the main form. When the browser increase or decrease the width/height, the uniframe should automatically be centered. What I need is as i was demonstrating in the post regarding the UniPanel: http://forums.unigui.com/index.php?/topic/2134-help-with-center-page/&do=findComment&comment=25808, where uniframe can not be with Left < 0 relative to MainForm. Thanks for help. Cristiano
  14. Hello, In UniDBCombobox when the style option is set to csDropDown, typing in the combo, is automatically shown the options that start the informed characters. How to perform this same behavior when it is set to csDropDownList? I need to have the same function, but without allowing the user to change the contents of the ComboBox, so inform csDropDownList. This is a common feature in web applications. Any idea or workaround for this? Cristiano
  15. Hi Farshad, Test Case sent in Active BugReports. Best Regards, Cristiano
  16. InvalidTemplate code: <script type="text/javascript"> window.location.reload(); </script> but, occours same behavior with: <html> <script> document.location ="[###url###]"; </script> </html> or <script type="text/javascript"> window.location="[###url###]"; </script> Farshad, if you can connect to my PC, it would very quickly show, but if not, I see to create a small project. Thanks again!
  17. Hi Farshad, I found a situation using Recovery Failure with my project that uses a TUniTimer to check for new messages between users logged. The scenario is as follows: I have a TUniTimer with 2 seconds(interval) , where i see if a particular string variable has some value. If at some point the server crashed for any reason, the browse appears Recovery Mask properly. Returning the server, the session receive a "Invalid Session" correctly. In InvalidSession Template i'm redirecting to the main page of the application. The big problem is that if the server returned in 2 minutes, for example, is performed several times the redirect to the main page of the application, because somehow in the time it was out, every 2 seconds the session was generating a request to the server (TUniTimer), and returning the server, every time from the time it was unavailable, requests were again generated. I understand the functioning of Recovery Failure, but for the same session, only one request (the first that identified the connection loss) should be processed again, because this time of disconnection, nothing can be accomplished. If possible, could show you this bad behavior accessing my PC. Thanks. Cristiano
  18. Hi Farshad, I'm testing some situations with the Connection Failure Recovery: 1) When the application loses connection to the Server for some instability or other reason, the browser shows the Connection Recovery Message with Mask. If at the time of loss of connection, the application was performing a request with an active ScreenMask, the browser continues to show the Screen Mask of the request, along with the Mask of Recovery Connection, where I think these cases should be automatically hides the mask the request because the screen in the browser gets confused. It is possible to hide the Screen Mask of the request if it is active? 2) If the client session has lost the connection to the server where the server is ok, with the Connection Recovery, after reestablish the connection, the request that was being made, it is again performed, as if there were not lost the connection to the server? Example: I'm making a query in the database (server side) and the Client Session has lost the connection at the beginning of the request, after a few seconds of attempted recovery, the connection is reestablished. In this scenario, the request is made again? 3) Now with the scenario where the server crashed temporarily: Is there any way (I think not), that when the server is up again, the "old" active client sessions are reconfigured with new sessions, to automatically connect to the server, simulating a stateless environment? Currently, obviously, when the server is active again, occurs the message Invalid Session. I await your comments, Thanks! Cristiano
  19. Hi, In TerminateTemplate, try the js code below: <script type="text/javascript"> <!-- window.location.reload(); //--> </script>
  20. Hello Lema! Thanks for great work! Best Regards! Cristiano
×
×
  • Create New...