Hi Jason,
To be honest, I'm not sure. I'd have to take a look. When I updated it to
the .62 specification I simply tested it against the Alfresco public
repository. It may be that I accidentally used something Alfresco specific
rather than CMIS specific. I can check that out tonight. In the meantime,
here are a couple of relevant snippets. Perhaps you can find what I missed
in there.
getting the 'root children' url...
var childrenURL:String =
result.workspace.collection.(@collectionType=='root')....@href;
deciding if a child is a document or folder...
var baseTypeId:String =
f.object.properties.propertyId.(@pdid=='cmis:BaseTypeId').value;
if (baseTypeId != null && baseTypeId == "cmis:folder")
folders.addItem(Folder.getFolder(f));
else if (baseTypeId != null && baseTypeId == "cmis:document")
documents.addItem(Document.getDocument(f));
Perhaps it is the collectionType (root) or pdid (cmis:BaseTypeId)?
Shane
On Wed, Nov 4, 2009 at 10:40 AM, Jason Tesser <[email protected]> wrote:
> Hi Shane sorry to be a pest but I am wondering is the getting of teh
> children of the folders at teh root level a known issue?
>
> Thanks,
> Jason Tesser
> dotCMS Lead Development Manager
> 1-305-858-1422
>
>
>
> On Wed, Nov 4, 2009 at 11:35 AM, Shane Johnson <[email protected]>
> wrote:
> > FYI - I'll try to get it upgraded to the 1.0 specification this weekend.
> >
> > Shane
> >
> > On Wed, Nov 4, 2009 at 10:27 AM, Michael Mertins <
> > [email protected]> wrote:
> >
> >> Anxiously anticipating such a client. Hope it will be a top priority
> since
> >> there already had been a discussion about this, right?
> >>
> >> Till then I have to stick to Shane's CMIS explorer that is still at 0.62
> >> http://code.google.com/p/cmis-explorer/
> >>
> >> Btw. I overworked my patches for the JCR area. Are they of any use now?
> >>
> >> Best,
> >>
> >> Michael
> >>
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: Florent Guillaume [mailto:[email protected]]
> >> Gesendet: Mittwoch, 4. November 2009 17:14
> >> An: [email protected]
> >> Betreff: Re: Issues with JS client
> >>
> >> This won't help you right now, but it's my intention to use Apache
> >> Chemistry to write a small command-line client with simple shell-like
> >> operations (cd, ls, cat, etc.) that would help debug servers.
> >> That's not written yet though.
> >>
> >> Florent
> >>
> >> On Wed, Nov 4, 2009 at 12:15 PM, Jason Tesser <[email protected]>
> >> wrote:
> >> > Does anyone know of a good client I can use to test my server then?
> >> >
> >> > I tried the flex client but the browser seems to be broke. It gets the
> >> > root level but never make a call to retrieve the children of anything
> >> > within folders on the root.
> >> >
> >> > Thanks,
> >> > Jason Tesser
> >> > dotCMS Lead Development Manager
> >> > 1-305-858-1422
> >> >
> >>
> >> --
> >> Florent Guillaume, Head 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
> >>
> >
>