On Sep 28, 2009, at 6:15 PM, Asiri Rathnayake wrote:
Hi,
My suggestion was about file upload tab inside
officeimporter wysiwyg
dialog, which requires openoffice server to
function.
Yes, my question was: why have this tab enabled when the openoffice
server is not started?
Yes, we can either:
1. Completely hide the file upload tab if the openoffice server is not
present.
2. Display a "teaser" message in the file upload tab saying "This
functionality requires ....".
I thought (2) was more consistent with what we are going to do for
officeimporter application UI (display a message saying openoffice
server is
not started etc.)
Well we're not doing this right now for the office importer UI.... I
reported it in jira AFAIR.
Right now the top level menu entry is always present and if you click
on it you have the form available to upload a file even if the server
is not ready.
-Vincent
Thanks.
- Asiri
>
> Thanks
> -Vincent
>
>>> Maybe we should not display the entries if the office server is not
>>> started too.
>>>
>>
>> I think you are referring to officeimporter xwiki-ui behaviour, this
>> we have
>> voted and finalized.
>>
>> Thanks.
>>
>> - Asiri
>>
>>
>>>
>>> WDYT?
>>>
>>> Thanks
>>> -Vincent
>>>
>>>>
>>>> Thanks.
>>>>
>>>> - Asiri
>>>>
>>>>
>>>>>
>>>>> Guillaume
>>>>>
>>>>> Thanks
>>>>>> -Vincent
>>>>>>
>>>>>>> Thus I think the user doesn't have to know that the
feature
>>>>>>> exists
>>>>>>> if the
>>>>>>> administrator has not activated it. The question then
becomes:
>>>>>>> how
>>>>>>> does the
>>>>>>> administrator knows that the feature exists? I can see 2
>>>>>>> options:
>>>>>>>
>>>>>>> - Make the check be: "if the user isn't an admin
& the server
>>>>>>> isn't
>>>>>>> running" so that admins know about the feature
>>>>>>> - Keep the check as it is and assume that admins that want
to
>>>>>>> make
>>>>>>> the
>>>>>>> OOo server work will find out how since it's an often
requested
>>>>>>> feature
>>>>>>>
>>>>>>> I'd like to add a new behavior though (if it's not
already
>>>>>>> done):
>>>>>>>> - if the office importer app is not installed (we can
test for
>>>>>>>> the
>>>>>>>> main office importer page availability) then the menu
entry
>>>>>>>> shouldn't
>>>>>>>> appear.
>>>>>>>>
>>>>>>>
>>>>>>> The OOo app comes bundled by default with XE. It's always
there
>>>>>>> by
>>>>>>> default.
>>>>>>> This option doesn't solve the user expectation issue.
>>>>>>>
>>>>>>> Guillaume