Ah ok, it seems it doesn't work either with AtomPub because
org.apache.chemistry.opencmis.swingclient.ClientHelper.download starts
with a check of the doc.getContentStreamFileName which is null in the
case of a PersistentDocumentImpl as we've seen before.

Florent

On Tue, Sep 21, 2010 at 4:35 PM, Florian Müller
<[email protected]> wrote:
> Double-click works fine on Windows and Mac. The document must have a content
> stream filename property, though. If that is not set, the client assumes
> that there is no content and does nothing.
>
> Florian
>
>
> On 21/09/2010 15:15, Florent Guillaume wrote:
>>
>> Ok double-click still doesn't work (tested on Mac) but drag&drop now
>> works after a small fix related to getContentStreamFileName returning
>> null with AtomPub (typo in your code I guess).
>>
>> Florent
>>
>> On Tue, Sep 21, 2010 at 2:42 PM, Florian Müller
>> <[email protected]>  wrote:
>>>
>>> Hi Florent,
>>>
>>> You can double-click the file or drag-and-drop it to your desktop.
>>>
>>>
>>> Florian
>>>
>>> On 21/09/2010 13:04, Florent Guillaume wrote:
>>>>
>>>> Hi,
>>>>
>>>> Is there a way in the swing client to download a file? I didn't find a
>>>> obvious wait to do it when having a quick look.
>>>>
>>>> Thanks,
>>>> Florent
>>>>
>>>
>>>
>>
>>
>>
>
>



-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87

Reply via email to