Page History
...
When a user types a value into a text field (which is bound to a specific column of the database table) and clicks out, the Servoy Application Server issues a SQL update command to the database to modify the selected record. The resulting change is also broadcast|display/DOCS/Data+Broadcasting||||||||||||||\ to all connected clients.
...
The fundamental unit of data binding in both the GUI and the API is the Servoy Foundset|display/DOCS/Foundsets+Concepts||||||||||||||\ object.
Client Cache
...
Code Block |
---|
/**/** * Record after-insert trigger. * * @param {JSRecord} record record that is inserted * * @properties={typeid:24,uuid:"92834B20-1CAC-472F-B022-DD97FEFEA792"} */ function afterRecordInsert(record) { if(record.projects_to_projects_users.newRecord()){ // create a link record record.projects_to_projects_users.user_id = globals.currentUserID; // associate to current user databaseManager.saveData(); } } |
Editing Tables in Servoy
Panel | ||
---|---|---|
| ||
I remember I was thinking that there were some gray areas when it comes to datasets and foundsets, and generally how Servoy is generating the SQL from these depending on relations etc. I noticed that there were often questions about that in the forum, and no definitive answers of course (but at least pointers to what approach gives you what), and in my company too, people are coming to me quite often with some of the following questions:
Seems like a lot of topics in one, really, but of course not necessarily all of these topics need to be addressed, or addressed at the same time, but I really think that these are things that need more explanations/clarifications/demonstrations. |
...
title | Some stuff on convertors |
---|
Wiki Markup |
---|
\[\] Paul: hey
\[\] Paul: Ff een Q:
\[\] Paul: Als je met modules werkt, dan kunnen meedrere modules een tableevetn gedefinieerd hebben. die worden allemaal aangeroepen, toch, maar in een willekeurige volgorde, correct?
\[\] Paul: En tweede Q: hoe zit dat met column level stuff? Da's nooit solution specifiek? dus als je een global method converter aned aan een column, dan met er gewoon een method met die naam in de solution zitten, anders wordt ie geignored, of krijg je dan een exception?
\[\] Jan Blok: 1) klopt
\[\] Jan Blok: 2) de method moet bestaan ja, zo niet ignore
\[\] Paul: hey |
Wiki Markup |
---|
\[\] Paul: Ff een Q: |
Wiki Markup |
---|
\[\] Paul: Als je met modules werkt, dan kunnen meedrere modules een tableevetn gedefinieerd hebben. die worden allemaal aangeroepen, toch, maar in een willekeurige volgorde, correct? |
Wiki Markup |
---|
\[\] Paul: En tweede Q: hoe zit dat met column level stuff? Da's nooit solution specifiek? dus als je een global method converter aned aan een column, dan met er gewoon een method met die naam in de solution zitten, anders wordt ie geignored, of krijg je dan een exception? |
Wiki Markup |
---|
\[\] Jan Blok: 1) klopt |
...