Thanks very much Jian for the quick fix! I'll try it out when I'm back in the office on Thurs.
Jade I'm having trouble finding the latest On Aug 31, 1:45 pm, Jian Fang <[email protected]> wrote: > Fixed on trunk/core, please update from our Maven repo or download it from: > > http://maven.kungfuters.org/content/repositories/snapshots/org/tellur... > > Please let us know if you have any further problems. > > Thanks, > > Jian > > > > On Tue, Aug 31, 2010 at 2:24 PM, Jian Fang <[email protected]> wrote: > > Look a bit closer and I see the problem here: > > > "events":[Ljava.lang.String;@58f41393 > > > Seems the toJSON method in the List object has a bug there. I will fix it > > soon. > > > Thanks again, > > > Jian > > > On Tue, Aug 31, 2010 at 1:49 PM, Jian Fang <[email protected]>wrote: > > >> But the json parse error is an issue there, I will look into it. > > >> Thanks for reporting this. > > >> Jian > > >> On Tue, Aug 31, 2010 at 1:25 PM, Jian Fang <[email protected]>wrote: > > >>> Hi Jade, > > >>> Why you need to use List for a selector? Shouldn't the Selector object > >>> satisfy your need? > >>> That is to say, your UI module could be like > > >>> ui.Form(uid: "DegreeInformationForm", clocator: [tag: > >>> "form", method: "post", action: "${postAction}", class: > >>> "ds-interactive-divview-form", id: > >>> "aspect_vireo_admin_View_div_view-form"]) > >>> { > >>> Selector(uid: "degree", clocator: > >>> [id:"aspect_vireo_admin_View_field_degree" ] > >>> } > > >>> Then you could call selectByLabel, selectByValue, or selectByIndex. > > >>> Thanks, > > >>> Jian > > >>> On Mon, Aug 30, 2010 at 12:24 PM, Jade <[email protected]> wrote: > > >>>> Hi, > > >>>> We have an ajax powered list that is clickable. In order to manipulate > >>>> the list, the user first selects it. This replaces the "fake HTML" > >>>> with select list HTML. > > >>>> However, the list has a json parse error until I remove the respond: > >>>> ["click"] option. But, then the list cannot be clicked and manipulated > >>>> in the code. > > >>>> Here's the module as I'd like to define it: > >>>> String postAction = "\"${VireoTestConfig.getWebApp()}/vireo/admin/ > >>>> detail?update=true\"" > > >>>> public void defineModule() { > >>>> ui.Form(uid: "DegreeInformationForm", clocator: [tag: > >>>> "form", > >>>> method: "post", action: "${postAction}", class: "ds-interactive-div > >>>> view-form", id: "aspect_vireo_admin_View_div_view-form"]) { > >>>> List(uid: "degree", clocator: [tag: "select", id: > >>>> "aspect_vireo_admin_View_field_degree"], separator: "option", respond: > >>>> ["click"]) { > >>>> Container(uid: "{all}", clocator: [:]) > >>>> } > >>>> } > > >>>> ERROR: Command execution failure. Please search the Tellurium User > >>>> Group athttp://groups.google.com/group/tellurium-usersfor error > >>>> details from the log window. The error message is: JSON.parse > > >>>> com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExcepti > >>>> onOrError(HttpCommandProcessor.java: > >>>> 97) > > >>>> com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcess > >>>> or.java: > >>>> 91) > >>>> sun.reflect.GeneratedMethodAccessor62.invoke(Unknown > >>>> Source) > > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > >>>> l.java: > >>>> 43) > >>>> java.lang.reflect.Method.invoke(Method.java:616) > >>>> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite > >>>> $PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java: > >>>> 229) > > >>>> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethod > >>>> Site.java: > >>>> 52) > > >>>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite > >>>> .java: > >>>> 129) > > >>>> org.telluriumsource.component.connector.CustomSelenium.getBundleResponse(Cu > >>>> stomSelenium.groovy: > >>>> 257) > >>>> sun.reflect.GeneratedMethodAccessor61.invoke(Unknown > >>>> Source) > > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > >>>> l.java: > >>>> 43) > >>>> java.lang.reflect.Method.invoke(Method.java:616) > > >>>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java: > >>>> 88) > > >>>> groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1058) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) > > >>>> groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java: > >>>> 149) > >>>> groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown > >>>> Source) > > >>>> org.telluriumsource.component.dispatch.Dispatcher.methodMissing(Dispatcher. > >>>> groovy: > >>>> 56) > >>>> sun.reflect.GeneratedMethodAccessor60.invoke(Unknown > >>>> Source) > > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > >>>> l.java: > >>>> 43) > >>>> java.lang.reflect.Method.invoke(Method.java:616) > > >>>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java: > >>>> 88) > > >>>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java: > >>>> 813) > > >>>> groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java: > >>>> 1107) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1060) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) > > >>>> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSi > >>>> te.java: > >>>> 39) > > >>>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite > >>>> .java: > >>>> 129) > > >>>> org.telluriumsource.component.bundle.BundleProcessor.passBundledCommand(Bun > >>>> dleProcessor.groovy: > >>>> 322) > >>>> org.telluriumsource.component.bundle.BundleProcessor > >>>> $passBundledCommand.callCurrent(Unknown Source) > > >>>> org.telluriumsource.component.bundle.BundleProcessor.process(BundleProcesso > >>>> r.groovy: > >>>> 414) > >>>> org.telluriumsource.component.bundle.BundleProcessor > >>>> $process.callCurrent(Unknown Source) > > >>>> org.telluriumsource.component.bundle.BundleProcessor.methodMissing(BundlePr > >>>> ocessor.groovy: > >>>> 427) > >>>> sun.reflect.GeneratedMethodAccessor54.invoke(Unknown > >>>> Source) > > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > >>>> l.java: > >>>> 43) > >>>> java.lang.reflect.Method.invoke(Method.java:616) > > >>>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java: > >>>> 88) > > >>>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java: > >>>> 813) > > >>>> groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java: > >>>> 1107) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1060) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) > > >>>> groovy.lang.DelegatingMetaClass.invokeMethod(DelegatingMetaClass.java: > >>>> 149) > >>>> groovy.lang.MetaObjectProtocol$invokeMethod.call(Unknown > >>>> Source) > > >>>> org.telluriumsource.component.custom.Extension.methodMissing(Extension.groo > >>>> vy: > >>>> 20) > >>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >>>> Method) > > >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > >>>> 57) > > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > >>>> l.java: > >>>> 43) > >>>> java.lang.reflect.Method.invoke(Method.java:616) > > >>>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java: > >>>> 88) > > >>>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java: > >>>> 813) > > >>>> groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java: > >>>> 1107) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1060) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) > > >>>> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSi > >>>> te.java: > >>>> 39) > > >>>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArra > >>>> y.java: > >>>> 40) > > >>>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite > >>>> .java: > >>>> 117) > > >>>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite > >>>> .java: > >>>> 129) > > >>>> org.telluriumsource.dsl.BaseDslContext.getUiModuleValidationResult(BaseDslC > >>>> ontext.groovy: > >>>> 1417) > >>>> org.telluriumsource.dsl.BaseDslContext > >>>> $getUiModuleValidationResult.callCurrent(Unknown Source) > > >>>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallS > >>>> iteArray.java: > >>>> 44) > > >>>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractC > >>>> allSite.java: > >>>> 143) > > >>>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractC > >>>> allSite.java: > >>>> 151) > > >>>> org.telluriumsource.dsl.BaseDslContext.validate(BaseDslContext.groovy: > >>>> 1404) > >>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >>>> Method) > > >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > >>>> 57) > > >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > >>>> l.java: > >>>> 43) > >>>> java.lang.reflect.Method.invoke(Method.java:616) > > >>>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java: > >>>> 88) > > >>>> groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) > > >>>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(Closure > >>>> MetaClass.java: > >>>> 362) > > >>>> groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:886) > > >>>> org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMeta > >>>> ClassSite.java: > >>>> 66) > > >>>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallS > >>>> iteArray.java: > >>>> 44) > > ... > > read more » -- 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.
