I’m trying to avoid using globals so I have two scripts:
SCRIPT: startFind()
loads the searchForm in the main tab panel and enters find mode.
The user enters whatever data he whishes in the regular columns of this table. There are not many columns in this table, 11 columns to be precise. In fact in the search form I also have a nested tabpanel with a table view of the same db table (so as to see several find requests that may be issued).
SCRIPT: doSearch()
When the user is happy, clicks on a button that triggers this method.
Basically this method issues controller.search() and parses the results.
Problems:
I do enter find mode, but I cannot trigger the doSearch() method clicking the button.
What am I missing here. Any clues?
mjekl:
Problems:
I do enter find mode, but I cannot trigger the doSearch() method clicking the button.
What am I missing here. Any clues?
What version of Servoy are you using ?
I believe since v3.1.x it’s possible to trigger methods from a form in find mode when you have ‘controller.search’ in the method.
What version of Servoy are you using ?
I believe since v3.1.x it’s possible to trigger methods from a form in find mode when you have ‘controller.search’ in the method.
That’s the problem - version 2.2.8 ! I’m juggling between different versions and end-up hitting a wall now and them. Unfortunately, there’s no revenue to justify changing versions for this simple had-on. So I guess I’m putting all the globals in a search module!