Dear Christophe,
thank you for your answer, you're right, this way i get the container
object. additionally permission needs to be added for this method.
only one question remained unanswered. as i recognized zope3 collects
always all addmenu items. this i assume, because the traversal
exception
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 of
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
> 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)