BTW: Use refreshViewlet instead of deprecated macroContent. See: http://dev.plone.org/plone/ticket/7879
Thank you thank you thank you! I missed this one.

In answer to your original question - yes, simply add this declaration somewhere in your kinetic stylesheet.

div#some-dom-id:timeout {
    evt-timeout-delay: 60000;
    action-server: my.product.refresher;
}

where my.product.refresher is a browser view that subclasses PloneKSSView

There is no shortcut like

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

That would of course be cool and save code :)

H

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

Reply via email to