That's good news - thanks!
On Jan 2, 9:42 am, "Iustina Vintila" <[email protected]>
wrote:
> Jian,
>
> I have defined a custom widget which contains a Container, configured to
> respond to mouseOver or mouseOut events:
> ui.Form(uid: "headerForm", clocator: [id: "header:HeaderForm", method:
> "post"]) {
> Container(uid: "faultHeader", clocator: [tag: "div", id:
> "menuItemText48"], title: "Fault", respond:["mouseOver", "mouseOut",
> "click", "blur"]) {
>
> }
> }
>
> But the following statement:
> mouseOver "headerForm.faultHeader"
> generates this error:
> groovy.lang.*MissingMethodException*: No signature of method:
> org.tellurium.object.UiObject.*mouseOver*() is applicable for argument
> types: (org.tellurium.widget.Widget$_mouseOver_closure1) values:
> {org.tellurium.widget.widget$_mouseover_closu...@77eb97}
>
> at sun.reflect.GeneratedConstructorAccessor7.newInstance(Unknown
> Source)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at
> org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:535)
> at
> groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2356)
> at
> groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1255)
> at
> groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1185)
> at
> org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:809)
> at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:230)
> at org.tellurium.object.UiObject.methodMissing(UiObject.groovy:95)
> at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at
> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
> at
> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:707)
> at
> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:679)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:930)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
> at
> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778)
> at
> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
> at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
> at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodNSafe(ScriptBytecodeAdapter.java:178)
> at org.tellurium.widget.Widget.mouseOver(Widget.groovy:68)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at
> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
> at
> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
> at
> org.tellurium.redline.object.Menu.clickFirstHeader(Menu.groovy:29)
>
> Could you please have a look and let me know if I am missing something?
>
> Thanks
> Iustina
>
> ______________________
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"tellurium-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tellurium-users?hl=en
-~----------~----~----~----~------~----~------~--~---