It is a Object-Oriented Scripting Language (OOP) that works with objects and classes and is similar to C# programming language. 6 Object-oriented programming specificsĮnforce Script is the language that is used by the Enfusion engine first introduced in DayZ Standalone.in it.Īdding to your suggestion…names for widgets, and events and macros to interact with this widgets. This is a wish, it doesn’t work and I need to put _parent etc. In general I would expect that I could use sc_redir where I could use the iframe like : sc_redir(myapp,mypars,‘id-iframe-widget1’) It still has the disadvantage I have to find out the iframe name in the generated form but… So press static, i show the static dossier of the selected patient, press dynamic, i show the dynamic dossier of the selected patient. I found out that just using variables not always do the job and sometimes you need to pass them directly using the url or within the sc_redir. I also need to send some parameters to this dossier like the patient id. In a grid I tried to pass the content of a field, other then the one with the ajax-onclick, as an global So i.e. Depending on the press of the button I want the second column to feed with the selected application. In the left i have static data about a patient and two buttons: static dossier and dynamic dossier. Simple sample: I have a container with two columns. There are thousands of power users of the jQuery library and an immense community wich probably have the answer for every base thing you might need with JS. Parent.$('#id-iframe-widget1').attr('src', './control/control.php?test=abc') ("id-iframe-widget1").src='./control/control.php?test=abc' Table of Users: CREATE TABLE Users ( iduser INT NOT NULL AUTOINCREMENT, name VARCHAR (20), age INT, email VARCHAR (20), city VARCHAR (20), PRIMARY KEY ( ID ) ) b. your script uses an id / object that don’t exists). To do so, we will send the parameters by URL using the GET array. If you do something wrong in javascript, it stops the execution of script, jquery validates most simple erros of javascript and let the script continue. Scriptcase already import it in the generated applications. I’ll let you know the progress.Īlbert, when you decide to read something about javascript I recommend you to skip pure javascript. I’ll try to create a small concept, pehaps a demo app if it works. But it’s clear I need to put more time into this. Point is that I’m not a javascript guru and so far I tried to keep as far away as possible. It should change the iframe to a dynamic scriptcase module, but I want to display it first to see if the concept works.īut I must be doing something wrong here… These variables can be used at any application event. So I added the following code to the oninit event:Įcho 'function disp_a(xfrm,xuri) ' These are variables that are stored in the application session, these variables can be used to pass parameters through the applications in the project. If you need those values in the SQL statement (i.e. My purpose is to refresh the first IFrame when the user changes the selection in the second IFrame application. In case you need those values on different places, store them in an array and pass the array to the grid. The creation of an array in PHP can be done in two ways. The first IFrame shows the current time and it changes on every click. I created a javascript button and added the following code to it: I put a control in container 1 and a form in container 2. Ok, a question for the javascript guys I guess.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |