Hi, On Thu, Oct 1, 2009 at 12:49 PM, Marius Dumitru Florea < [email protected]> wrote:
Asiri Rathnayake wrote:
Hi,
I'm not exactly sure if that is the best method name, but we need such a method so that we can disable fileUpload tab (or display a message) in officeimporter wysiwyg plugin if there is no OpenOffice server running.
I'm fine with that but I'm wondering if we could use instead a WYSIWYG configuration parameter to disable/hide the Office Importer file upload tab. This parameter would be initialized in velocity (macros.vm#wysiwyg_storeConfig) based on the OpenOffice server availability.
Will this method work in a dynamic fashion? I mean OpenOffice server can be shut down at any point, will that change be reflected immediately in this configuration parameter? Anyway, I feel having a configuration parameter for querying OpenOffice server status is kind of odd. Thanks. - Asiri
The only shortcoming I see is that the user will have to reload the page in order to "refresh" the Office Importer dialog, while in the first case, using a service, he will just have to reopen the dialog (provided the service doesn't have a cache proxy).
Thanks, Marius
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs