Hi
I want to use lovely.remotetask in Z3 application.
Use case is very simple:
User views page, this causes long running function to be started
and Ajax calls from the page check every second if there is a result.
I have:
1. content object (Folderish) with instance of remotetask.TaskService()
Hi,
I have a little question about boolean values of adapted objects.
For example, I had the following code :
info = ISharedDataInfo(context, None) or \
IPrivateDataInfo(context, None)
if info is not None:
return context
return None
Even if
Maciej Wisniowski wrote:
Hi
I want to use lovely.remotetask in Z3 application.
Use case is very simple:
User views page, this causes long running function to be started
and Ajax calls from the page check every second if there is a result.
I have:
1. content object (Folderish) with instance
On Tue, Apr 03, 2007 at 12:46:25PM +0200, Thierry Florac wrote:
I have a little question about boolean values of adapted objects.
For example, I had the following code :
info = ISharedDataInfo(context, None) or \
IPrivateDataInfo(context, None)
if info is not None:
For startup do this :
@component.adapter(IDatabaseOpenedEvent)
def startRemoteTask(event):
Start the amazon remotetask on startup.
db = event.database
connection = db.open()
root = connection.root()
root_folder = root.get(ZopePublication.root_name, None)
for site