For ex: I have two forms formA and formMain both linked to the same table.
formMain contains a tab panel which contains just formA (unrelated)
onSearchCmd of formA is assigned to call a method “methodA”
From formA if I go to find mode and press enter key, the method “methodA” is called properly.
But from formMain if I go to find mode and press enter key, the method “methodA” is NOT called instead it proceeds as if formA has not assigned onSearchCmd.
Strange that the above does not occur in my office computer but only occurs in my home computer. Both has the following configurations:
Servoy Developer
Version 3.0b3-build 364
Java version 1.5.0_04-b05 (Windows XP)
Dear servoyians any idea on this? Thanks a lot!
Hi Faheem (is that your name?)
I have similar problems with onSearchCmd (I am on Version 3.5.5, Mac OS X 10.4.11). What is your state according this problem?
Thanks, Robert
faheemhameed:
Dear servoyians any idea on this? Thanks a lot!
Yes can call me Faheem.
I am using Version 3.5.1. I was not concentrating on this issue. But I did a test case for onSearchCmd and it seems to work. I am going to make sure that all my find forms have onSearchCmd method assigned.
Thanks !!!
Sorry… when I tested with all other find forms, I found out some of the forms have this issue and other don’t
some time I get the following error (very annoying):
org.mozilla.javascript.JavaScriptException: java.lang.ClassCastException: com.servoy.j2db.dataprocessing.aw
faheemhameed:
some time I get the following error (very annoying):
org.mozilla.javascript.JavaScriptException: java.lang.ClassCastException: com.servoy.j2db.dataprocessing.aw
I sometimes get a similar error, see this thread:
http://forum.servoy.com/viewtopic.php?t … highlight=
I really hope Servoy people can shed some light on this.
Regards, Robert
org.mozilla.javascript.JavaScriptException: java.lang.ClassCastException: com.servoy.j2db.dataprocessing.aw
Please try this with the latest version of servoy, if problem persist, please file a support case explaining how you get to this error.