Jump to content

picyka

uniGUI Subscriber
  • Posts

    1068
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by picyka

  1. ServerModule {* MAPS *} Self.CustomFiles.Clear; Self.CustomFiles.Add('https://maps.googleapis.com/maps/api/js?key=' + Self.KeyMaps + '&callback=gmNoop&libraries=geometry,places,visualization'); Self.CustomFiles.Add('../files/maps/uniGmap.css'); Self.CustomFiles.Add('../files/maps/markerwithlabel_packed.js'); Self.CustomFiles.Add('../files/maps/markerclusterer.js'); console: Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading Has anyone resolved this?
  2. Have there been any improvements to your unigui application after the update?
  3. What do you use to convert from html to pdf?
  4. I have a routine here that can generate thousands of PDFs, and the solution to downloading them was simple. Just get all pdf and zip it. Download the zip and be happy.
  5. function afterrender(sender, eOpts) { Ext.create('Ext.tip.ToolTip', { target: sender.getEl(), html: "Concluir operação!" }); }
  6. I have something similar here, I never figured out what that would be.
  7. Hello, in my humble opinion, you should think differently, you can have an api and put the cache in it. And it would solve your problem. The web server needs to consume as little memory as possible.
  8. DevSulAssist_WIN-EM5F97TDNDI_20240116081241.el DevSulAssist_WIN-EM5F97TDNDI_20240116103537.el DevSulAssist_WIN-EM5F97TDNDI_20240116103538.el DevSulAssist_WIN-EM5F97TDNDI_20240116103539.el DevSulAssist_WIN-EM5F97TDNDI_20240116103540.el DevSulAssist_WIN-EM5F97TDNDI_20240116103541.el DevSulAssist_WIN-EM5F97TDNDI_20240116103542.el DevSulAssist_WIN-EM5F97TDNDI_20240116103543.el DevSulAssist_WIN-EM5F97TDNDI_20240116162002.el DevSulAssist_WIN-EM5F97TDNDI_20240116162003.el DevSulAssist_WIN-EM5F97TDNDI_20240116162004.el DevSulAssist_WIN-EM5F97TDNDI_20240116162005.el DevSulAssist_WIN-EM5F97TDNDI_20240116162006.el DevSulAssist_WIN-EM5F97TDNDI_20240116162007.el DevSulAssist_WIN-EM5F97TDNDI_20240116162008.el DevSulAssist_WIN-EM5F97TDNDI_20240116162009.el
  9. Date: 16/01/2024 16:20:07 User: xxx - Desktop Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Versão: 3.0.0.586 IP: xxx URL: xxx Navegador: chrome Navegador Versão: 120 OS: windows SessionID: 11_Q2f5zvltjj10E0DE818 Component: Grid_ConsAtendVeiculo (TUniDBGrid) Parent: UniFrameConsAtendVeiculo1 LastAjaxEvent: dummy Class: Exception Message: Config Option: O130F9->bodyBorder:false<br/>is refering a previous request,<br/>it's not allowed in AJAX request or JS handler.<br/>Use equivalent Public Property or Method instead. ------------------------------------ ------------------------------------ Date: 16/01/2024 16:20:08 User: xxx - Desktop Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Versão: 3.0.0.586 IP: xxx URL: xxx Navegador: chrome Navegador Versão: 120 OS: windows SessionID: 11_Q2f5zvltjj10E0DE818 Component: Grid_ConsAtendVeiculo (TUniDBGrid) Parent: UniFrameConsAtendVeiculo1 LastAjaxEvent: dummy Class: Exception Message: Config Option: O13101->layout:"absolute"<br/>is refering a previous request,<br/>it's not allowed in AJAX request or JS handler.<br/>Use equivalent Public Property or Method instead. ------------------------------------ [16:20] ------------------------------------ Date: 16/01/2024 16:20:08 User: xxx - Desktop Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Versão: 3.0.0.586 IP: xxx URL: xxx Navegador: chrome Navegador Versão: 120 OS: windows SessionID: 11_Q2f5zvltjj10E0DE818 Component: Grid_ConsAtendVeiculo (TUniDBGrid) Parent: UniFrameConsAtendVeiculo1 LastAjaxEvent: dummy Class: Exception Message: Config Option: O13109->bodyBorder:false<br/>is refering a previous request,<br/>it's not allowed in AJAX request or JS handler.<br/>Use equivalent Public Property or Method instead. ------------------------------------ I have been living with this problem for a long time, my scenario is this: My system opens in tabs. In a tab, there is a timer running and loading a grid, so the user can open this tab and other tabs, from my tests on my system that's it, it seems that the system requests together with the timer cause some conflict. This error does not appear to the user, but appears in the log.
  10. Date: 21/12/2023 10:26:26 User: xxxxxxxxxxxxxxxxxxx Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Versão: 3.0.0.576 IP: 000.78.214.200 URL: https://xxxxxxxxxxxxxxxxx Navegador: chrome Navegador Versão: 120 OS: windows SessionID: 0_NzT7iry2Po10DE5E36C Component: UniDBGridServicos (TUniDBGrid) Parent: UniFrameCadFornecedor LastAjaxEvent: actionclick Class: Exception Message: TUniCustomDBGrid.MoveToRow(): Unexpected Row number: 3, 5
  11. Today this error appeared in my log, I have no idea how to resolve it.
  12. Yes OnCreate: Self.UniDBGridAtendimentos.JSInterface.JSAddListener('actionclick', 'function(){this.showMask("Aguarde processando...")}'); Event ColumnActionClick try //code finally Self.UniDBGridAtendimentos.JSInterface.JSCall('hideMask', []); end; If you can automate this, I would appreciate it.
  13. If possible, implement the ShowMask option, sometimes the user clicks on a resource that takes a while to open, they think it is locked.
  14. This is complicated, I already did some tests a while ago, sometimes you have several browser tabs open, and you close the browser directly, and these events do not pass.
  15. Once again he killed the charade. Thanks JSMan
  16. procedure TUniDBGridHelper.ConfigureColumAction(SetEvents : Boolean); var lCoumn: TUniBaseDBGridColumn; begin if Assigned(Self) then begin Self.JSInterface.JSAddListener('actionclick', 'function(itemId){alert(itemId.value); this.showMask("Aguarde processando...")}'); lCoumn := Self.ColumnByName('actions'); if lCoumn <> nil then begin if SetEvents then begin if not Assigned(Self.OnDblClick) then Self.OnDblClick := Self._MyDblClick; if not Assigned(Self.OnKeyDown) then Self.OnKeyDown := Self._MyKeyDown; end; lCoumn.Width := 57; lCoumn.Alignment := taCenter; lCoumn.Title.Caption := 'Ações'; lCoumn.Title.Alignment := taCenter; lCoumn.ActionColumn.Enabled := True; lCoumn.ActionColumn.Buttons.Add; lCoumn.ActionColumn.Buttons[0].ButtonId := 0; lCoumn.ActionColumn.Buttons[0].Hint := 'Editar'; lCoumn.ActionColumn.Buttons[0].ImageIndex := 1; lCoumn.ActionColumn.Buttons.Add; lCoumn.ActionColumn.Buttons[1].ButtonId := 1; lCoumn.ActionColumn.Buttons[1].Hint := 'Excluir'; lCoumn.ActionColumn.Buttons[1].ImageIndex := 16; end else begin lCoumn := Self.ColumnByName('del'); if Assigned(lCoumn) then begin lCoumn.ActionColumn.Enabled := True; with lCoumn.ActionColumn.Buttons[0] do begin Hint := 'Excluir'; ImageIndex := 16; end; end; lCoumn := Self.ColumnByName('edit'); if Assigned(lCoumn) then begin lCoumn.ActionColumn.Enabled := True; with lCoumn.ActionColumn.Buttons[0] do begin Hint := 'Editar'; ImageIndex := 1; end; end; end; end; end; I just need the mask to fire only with ButtonId = 0 or ButtonId = 1
  17. Master, something unexpected always appears. I would be able to display the mask according to the ButtonId I'm looking in the ExtsJs documentation and I didn't find anything about this.
  18. It works, it would be cool if this was a property. Thanks again
×
×
  • Create New...