Ajax demo
Ajax demo
- Subject: Ajax demo
- From: Jeff van Eek <email@hidden>
- Date: Sun, 6 Jan 2008 22:40:47 +0000
Hello,
Recently, I downloaded David LeBer's TacowAjaxDemoX to explore using
the Ajax.framework and other parts Project Wonder but unfortunately
it is not functioning properly with my setup. I am running Mac OS
10.4.10 with Xcode 2.5 and WO 5.3.1. I tried the Wonder 4.0 download
from sourceforge as well as the "latest" download from a couple days
ago with no luck either.
The app builds, runs and displays fine in Safari and Navigator 9.0
but none of the Ajax-y bits seem to work. The Navigator error console
does reveal the following errors after a couple tries;
Error: uncaught exception: JSONRpcClientException: error parsing result
and
Warning: Error in parsing value for property 'top'. Declaration
dropped.
Source File: http://192.168.1.73:56360/cgi-bin/WebObjects/
TacowAjaxDemoX.woa/wo/Lu4tabWBffo4XYTNxTbgag/0.3
Line: 0
My limited debugging skills only turned up the following on the WO side;
DEBUG [WorkerThread12] - JSONRPCServlet.service send: {"result":
["wopage.reset","wopage.performParentAction","wopage.frameworkName","wop
age.templateWithHTMLString","wopage.logString","wopage.synchronizesVaria
blesWithBindings","wopage.context","wopage.template","wopage.canSetValue
ForBinding","wopage.invokeAction","wopage.canGetValueForBinding","wopage
.pullValuesFromParent","wopage.takeValueForKey","wopage.canAccessFieldsD
irectly","wopage.pageWithName","wopage.ensureAwakeInContext","wopage.par
ent","wopage.pushValuesToParent","wopage.application","wopage.session","
wopage.sleep","wopage.hasBinding","wopage._setContext","wopage._componen
tDefinition","wopage._setIsPage","wopage.hasSession","wopage._sleepInCon
text","wopage._associationWithName","wopage.handleTakeValueForUnboundKey
","wopage.clone","wopage.bindingKeys","wopage._setParent","wopage.takeVa
lueForKeyPath","wopage.toString","wopage.handleQueryWithUnboundKey","wop
age._awakeInContext","wopage._setSubcomponent","wopage.path","wopage.set
_componentUnroll","wopagDEBUG [WorkerThread12] - Input: {"id": 1,
"method": "system.listMethods", "params": []}
DEBUG [WorkerThread12] - Call system.listMethods([])
Jan 6, 2008 10:26:49 PM com.metaparadigm.jsonrpc.JSONRPCBridge
registerObject
INFO: registered object 10801856 of class SimpleDemo as wopage
e.awake","wopage.validateValueForKey","wopage.sayThis","wopage.appendToR
esponse","wopage.generateResponse","wopage.unableToSetNullForKey","wopag
e.baseURL","wopage._componentUnroll","wopage.valueForBinding","wopage._u
nroll","wopage.setCachingEnabled","wopage.templateWithName","wopage._isP
age","wopage.valueForKey","wopage._subcomponentForElementWithID","wopage
.debugString","wopage.set_unroll","wopage.descriptionForResponse","wopag
e.name","wopage.isCachingEnabled","wopage.takeValuesFromRequest","wopage
.valueForKeyPath","wopage.validationFailedWithException","wopage._childT
emplate","wopage.isStateless","wopage.setValueForBinding","wopage.isEven
tLoggingEnabled","wopage.pathURL","wopage.validateTakeValueForKeyPath"],
"id":1}
Any suggestions to further debug this?
Thanks,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden