Hi,
Anyway, I feel having a configuration parameter
for querying OpenOffice
server status is kind of odd.
What Marius
means is that, we need to look at the use-cases, how often the
server is started/stopped while one of the users has the editor open, if
this is
realtime information that a user queries from the server or is a server
setting
that should ideally be the same all the time.
The way I see it is that this is "static" information: it's a
configuration
of
the wiki, has or has not an openoffice server running. Namely, the wysiwyg
config param would rather be interpreted as: "with file import" or
"without
file
import" than running or not running.
I understand your point. However I'm also thinking like "is it this or
that"...
I mean if you consider the OpenOffice server controlling in wiki, you can
start/stop/restart it any time you want. But it's also true that this is not
going to happen frequently, most of the time users will have autoStart set
to true, in which case OOo server will be running from XE startup until
someone stops it / XE is shutdown.
An important scenario would be,
* I start XE normally (without OOo server) and since OOo server is not
running, wysiwyg editor will be configured not to display the officeimporter
fileUpload tab. And then an admin starts OOo server, how long will it take
for this information to propagate to wysiwyg?
One refresh to the page. And since the admin's idea is probably to setup the
entire wiki and then let users go around edit and everything in it, I'd say that
most probably, when the wysiwyg editing would be used, everything is going to be
"stable" about this server.