Return-Path: Delivered-To: apmail-incubator-chemistry-dev-archive@minotaur.apache.org Received: (qmail 8678 invoked from network); 4 Nov 2009 17:14:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Nov 2009 17:14:08 -0000 Received: (qmail 81043 invoked by uid 500); 4 Nov 2009 17:14:08 -0000 Delivered-To: apmail-incubator-chemistry-dev-archive@incubator.apache.org Received: (qmail 81009 invoked by uid 500); 4 Nov 2009 17:14:08 -0000 Mailing-List: contact chemistry-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chemistry-dev@incubator.apache.org Delivered-To: mailing list chemistry-dev@incubator.apache.org Received: (qmail 80999 invoked by uid 99); 4 Nov 2009 17:14:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 17:14:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jasontesser@gmail.com designates 209.85.212.184 as permitted sender) Received: from [209.85.212.184] (HELO mail-vw0-f184.google.com) (209.85.212.184) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 17:13:58 +0000 Received: by vws14 with SMTP id 14so1764532vws.32 for ; Wed, 04 Nov 2009 09:13:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rdUg8ziZGT6W3s82zBazTPL9S0W/1m1NgCVQjNLQBiw=; b=GU/6FxORCIQYuf3eiKB+R7qp8CH/xca8xX/zavUHYJogR1mxZcltZGjCIPhpqWAZ8S Ly4BgG683gSx3pRGnhjw8G64COF3u6m5pTOCn99QZUjeUJ9T0VuMHeAALAX5x6dwLfCK YPT5vnGmMEBvEAGo10tg7lC8COxpOZdF7yuTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=X3VbpSJkJw8aplr9xllu4iGgDfqx+XUlVVKMzfXB0iNKkfcRxhSFE5QPivu0mN+Iz+ gsxUOgGuAvrmqLXKSMbNMev15rG01SyBeuxM1bJFHPi30BfzPbOv3yVf3C6FG7KGOqCS bIWxJ4MbgEiabLi/cE6jlZtPxMWLX4UuS+pOw= MIME-Version: 1.0 Received: by 10.220.66.41 with SMTP id l41mr1955036vci.25.1257354816853; Wed, 04 Nov 2009 09:13:36 -0800 (PST) In-Reply-To: <8386ca640911040858t75b8ced8xba291f3ed13695e0@mail.gmail.com> References: <98bbb46a0911031339jb80932aja34a0f31c32b5b93@mail.gmail.com> <5BFF21C0838C584F91F461E6C2AAD43E1E2A7CE8@insvkn16> <98bbb46a0911040315y7ce8984ev47f8fb936620363a@mail.gmail.com> <646a352f0911040813v7ec262d2h1e5859c84222024e@mail.gmail.com> <70BF558E4F28754AA596A3F107A32BA50FDD8DB151@EXCHANGE6.ads.saperion-internal.de> <8386ca640911040835i20466811qfb06ce9dcf020590@mail.gmail.com> <98bbb46a0911040840t70cac1fp71bfd1bd8ed55c2e@mail.gmail.com> <8386ca640911040858t75b8ced8xba291f3ed13695e0@mail.gmail.com> Date: Wed, 4 Nov 2009 12:13:36 -0500 Message-ID: <98bbb46a0911040913m4ca81b48n78be32af00e64d9c@mail.gmail.com> Subject: Re: Issues with JS client From: Jason Tesser To: chemistry-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Shane also that is the code for getting the items at the root level right? My problem is with stuff under that level so ROOT --> LEVEL1 --> LEVEL2 My issue is that I don't get the children to LEVEL2. CMIS Explorer never made a web request to get the children of level2 which should have been something like http://localhost:8080/cmis/children/31 where 31 is my LEVEL1 folder. Thanks, Jason Tesser dotCMS Lead Development Manager 1-305-858-1422 On Wed, Nov 4, 2009 at 11:58 AM, Shane Johnson w= rote: > 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 specifi= c > 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 misse= d > in there. > > getting the 'root children' url... > > var childrenURL:String =3D > result.workspace.collection.(@collectionType=3D=3D'root').@href; > > deciding if a child is a document or folder... > > var baseTypeId:String =3D > f.object.properties.propertyId.(@pdid=3D=3D'cmis:BaseTypeId').value; > > if (baseTypeId !=3D null && baseTypeId =3D=3D "cmis:folder") > =A0 =A0folders.addItem(Folder.getFolder(f)); > else if (baseTypeId !=3D null && baseTypeId =3D=3D "cmis:document") > =A0 =A0documents.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 wro= te: > >> 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 >> wrote: >> > FYI - I'll try to get it upgraded to the 1.0 specification this weeken= d. >> > >> > Shane >> > >> > On Wed, Nov 4, 2009 at 10:27 AM, Michael Mertins < >> > Michael.Mertins@saperion.com> 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 no= w? >> >> >> >> Best, >> >> >> >> Michael >> >> >> >> >> >> -----Urspr=FCngliche Nachricht----- >> >> Von: Florent Guillaume [mailto:fg@nuxeo.com] >> >> Gesendet: Mittwoch, 4. November 2009 17:14 >> >> An: chemistry-dev@incubator.apache.org >> >> 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 >> >> 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 anythi= ng >> >> > 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 =A0 http://www.nuxeo.org =A0 +33 1 40 33 79 87 >> >> >> > >> >