Any ideas why the following code throws an error when trying to add a
task to the task queue:

<cfset theurl = "/myurl/">
<cfset builder =
createobject("java","com.google.appengine.api.labs.taskqueue.TaskOptions")>
<cfset que =
createobject("java","com.google.appengine.api.labs.taskqueue.QueueFactory") 
.getDefaultQueue()>
<cfset task = que.add(builder.url(theurl))>

The error is:

detail: Failed to instantiate object
extendedinfo: Class com.naryx.tagfusion.cfm.engine.cfJavaObjectData
can not access a member of class
com.google.appengine.api.labs.taskqueue.TaskOptions with modifiers
"private"

Thanks,
Adam

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 online manual: http://www.openbluedragon.org/manual/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to