So perhaps we should point this solution into plone's wishlist. implementation should not be very hard. plone just needs to provide a browserview, with 2 arguments:

div#some-dom-id:timeout {
    evt-timeout-delay: 60000;
    action-server: refresh_viewlet;
    refresh_viewlet-viewlet: myviewlet;
    refresh_viewlet-dom_id: some-id;
}

How about this syntax?

div#some-dom-id:timeout {
    evt-timeout-delay: 60000;
action-server: refreshViewlet('some-dom-id', 'plone.abovecontent', 'plone.lockinfo');
}

The double "some-dom-id" does look a bit lame though.

H

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to