IT2Be
March 21, 2004, 11:29pm
1
I have a form (orders) and in that form a tabpanel with another form (orders_items)…
Both forms use the same script for setting some elements. I check the name of the form via currentcontroller.getName().
On the form orders the result is ‘orders’ like it should be.
On the form orders_items the result is again ‘orders’. This seems wrong to me…
can’t reproduce it ..
i made 2 forms.. both with a button that prints the currentcontroller.getName()
prints exactly what you want.
IT2Be
March 22, 2004, 3:27pm
3
Johan, I was already afraid this could happen so I created my test application called ‘testje’. On mac this replicates my issue 1-1…
Is not a bug, currentcontroller is a global reference to the form showing as main form.
So when retrieved currentcontroller.getName() in a tabpanel form, it wil provide the main form name.