go to post Ruslan K · Sep 16, 2020 I have also used $ZCVT(text, "I","UTF8") , but <TRANSLATE> error is occured
go to post Ruslan K · Sep 16, 2020 <WIDE CHAR> error occured. I think it is because of I have 8-bit version of cache and the http response in utf-8. How to solve this?
go to post Ruslan K · Jun 14, 2018 This solution works for me.Maybe somebody will need it.Method onloadHandler() is in custom text control class.ClientMethod onloadHandler() [ Language = javascript ]{var comp = this;var elem = this.findElement('control');elem.addEventListener('click', function(){ comp.someMethod(); }); }
go to post Ruslan K · Jun 14, 2018 I have tried to do that in my custom text control class in method onloadHandler() var elem = document.getElementById(this.id); elem.firstChild.addEventListener('change', function(){ zenThis.doSomeWork(); });But this code is not working.
go to post Ruslan K · Oct 19, 2017 Thanks, Amir, for your advice.I decided to change in old program methods for saving and deleting entries. I changed direct access to global on object access and methods %Save() and %DeleteId(). These methods automatically handle new index global. I also call old methods for old index global and other old code.
go to post Ruslan K · Oct 18, 2017 I have two different ways for creating new objects because of there are two different interfaces in the program. There is old interface via terminal with direct access to globals and there is new zen web interface with classes.And some users prefer to work with old terminal interface, so I must to maintain also the old inteface.Can you give me some example with %FileIndices? I didn't find anything http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.SearchPageZen...
go to post Ruslan K · Oct 5, 2017 I found what is the problem.When I have opened new window through zenPage.launchPopupWindow - it is not working ( method onunloadHandler()).But when I have used zenPage.window.open, method onunloadHandler() works very well.
go to post Ruslan K · Oct 5, 2017 I don't know why, but it is not working for me. Did you try this callback and it was working?
go to post Ruslan K · Sep 4, 2017 The problem was, that I did wrong query. When editable property is 1 and we add a parameter to dataCombo, in query it stand second sign of ?. First sign of ? is user's entered search string in dataCombo.For instance: there is a sql "SELECT id, name FROM table WHERE some = ? AND name = ?"The parameter value is second sign of ?. I thought earlier that parameter is first.
go to post Ruslan K · Aug 23, 2017 I tried, in browser it doesn't work.Browser outputs it as - &#65292; if I use ZConvert("... , ...", "O", "HTML") and "as is" if I use plane string - "... , ..."Nothing works.I have refused of idea to use comma in columnHeaders string. I will be use dash sigh like "House - apartment".
go to post Ruslan K · Aug 23, 2017 Why did not Intersystems implement such behavior in dataCombo.columnHeaders like in combobox.displayList?In combobox.displayList we can escape comma "\," and it wirks fine.
go to post Ruslan K · Aug 23, 2017 My version is - Cache for Windows (x86-64) 2017.1 (Build 792) Mon Mar 20 2017 19:36:11 EDTI am running 8-bit version, not UNICODE. My old bases in 8-bit encoding.
go to post Ruslan K · Aug 22, 2017 No, is not working. This comma break string. DropDown column header breaks on this comma. There is only text till your comma - "Number "
go to post Ruslan K · Aug 22, 2017 Is not working. If I put this >>> ,<<< to string, and my string looks like "Number >>> ,<<< apartment", then in dropdownheader there is only first part till space - Number >>>I think, it is impossibe to escape comma in dataCombo columnHeaders. I tried a lot of variants, and nothing
go to post Ruslan K · Aug 22, 2017 How should I place this html entity to string? If I do this way "House number, apartment", it is not working.
go to post Ruslan K · May 9, 2017 This solution works when a global has autoincrement subscript. Then the most recent added row subscript always has greater value and after tblPane.executeQuery() new row is last in tablePane.But my global's subscript is generated on runtime, it depends on input values. And after adding new record to global I call tblPane.executeQuery() and my new row is not last. And I don't know how to find it for selecting.