In 5.1.1. the JSEvent returns formName = null when the form’s view is set to Table view(locked).
List view, List view (locked), Record view and Record view (locked) do return the correct formName.
Table view(locked)
SEvent(type = action, source = ScriptButton[sv_2d00d33f_a66e_4916_bd78_aee3292517e7:null], formName = null , elementName = , timestamp = Fri May 14 15:50:23 CEST 2010,modifiers = 16,x =0,y = 0,data = null) {data:null}
Other
JSEvent(type = action, source = ScriptButton[sv_2d00d33f_a66e_4916_bd78_aee3292517e7:null], formName = art_article_lst , elementName = , timestamp = Fri May 14 16:00:49 CEST 2010,modifiers = 16,x =0,y = 0,data = null) {data:null}
Irene
can you open a case in our support system about this ( http://www.servoy.com/s ) ? Is this onAction event on button ?
I’ve just tested ‘onAction’ on a locked table view, this works just fine!
I’m a colleague of Irene and taking over for now, as she has a day off
When using this code as onAction on a button:
function onAction(event) {
var vForm = event.getFormName();
return vForm;
}
vForm returns null when the the form is set to table view. All other form views (record/list) work just fine.
ok, we managed to reproduce the issue, we are looking into it ( the issue is just for buttons - showClick == true)
ok, we fixed this issue, however not sure it will make it in 5.1.2, probably just in 5.1.3
Harjo
April 6, 2010, 11:15am
7
I strongly hope this could make it into 5.1.2
Also we are facing this problem a lot, and it breaks our own framework completly
Harjo:
I strongly hope this could make it into 5.1.2
Also we are facing this problem a lot, and it breaks our own framework completly
ok, we’ll include this in 5.1.2 as well
Hi,
Another (perhaps related issue).
The table view form (NOT separate foundset) does not keep in sync with forms based on the same table (also NOT separate foundset).
Irene
pilgrim:
Hi,
Another (perhaps related issue).
The table view form (NOT separate foundset) does not keep in sync with forms based on the same table (also NOT separate foundset).
Irene
This doesn’t seem related at all. Please open another topic for this. Also, you should give more details about the behavior you experience (some steps to reproduce it, for example).
lvostinar:
ok, we managed to reproduce the issue, we are looking into it ( the issue is just for buttons - showClick == true)
it also just applies to buttons in the body part…
mboegem:
lvostinar:
ok, we managed to reproduce the issue, we are looking into it ( the issue is just for buttons - showClick == true)
it also just applies to buttons in the body part…
yes, it is for buttons in table