From graffito-dev-return-1320-apmail-incubator-graffito-dev-archive=www.apache.org@incubator.apache.org Mon Sep 18 02:04:05 2006 Return-Path: Delivered-To: apmail-incubator-graffito-dev-archive@www.apache.org Received: (qmail 17929 invoked from network); 18 Sep 2006 02:04:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2006 02:04:05 -0000 Received: (qmail 36686 invoked by uid 500); 18 Sep 2006 02:04:05 -0000 Mailing-List: contact graffito-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: graffito-dev@incubator.apache.org Delivered-To: mailing list graffito-dev@incubator.apache.org Received: (qmail 36675 invoked by uid 99); 18 Sep 2006 02:04:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Sep 2006 19:04:05 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of edgarpoce@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Sep 2006 19:03:55 -0700 Received: by ug-out-1314.google.com with SMTP id y2so156039uge for ; Sun, 17 Sep 2006 19:03:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BzbjnbyI3X/ODLbhx+WZQbjkrio6gXSOfph6oS9jisN4+gt4smtk/hShsZH3FQkDwkxgWireRoyqBeNFk/w6aMgo9Ik5iSYt4D5QbSFfRKiLCDr/KOWtr1wJqSpKidNSjcaQX78bmgnBkcZlRlt7xLe7tuQCIY+EWaselpYK7oI= Received: by 10.67.100.17 with SMTP id c17mr6933711ugm; Sun, 17 Sep 2006 19:03:28 -0700 (PDT) Received: by 10.67.30.15 with HTTP; Sun, 17 Sep 2006 19:03:27 -0700 (PDT) Message-ID: <8a83c96b0609171903ve54d194lc8039fdbfc28d028@mail.gmail.com> Date: Sun, 17 Sep 2006 23:03:27 -0300 From: "Edgar Poce" To: graffito-dev@incubator.apache.org Subject: Re: portlet "content" mode prototype In-Reply-To: <8a83c96b0609091720s1bb0d1beg6bb5bf55ac09b45b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8a83c96b0609041855v3498b8dej332ad501e182c672@mail.gmail.com> <44FD3BD2.9090208@sun.com> <8a83c96b0609050505t2ec65f9dq71a1c1aa6b77428@mail.gmail.com> <8a83c96b0609050800t14bc38b2j488aec4c7d722782@mail.gmail.com> <44FE7263.6010703@bluesunrise.com> <8a83c96b0609060328u6c2b4413x7d1694bdd0f8b49a@mail.gmail.com> <510143ac0609060433n7328621cj4d0a655aa57ba7f8@mail.gmail.com> <8a83c96b0609060644i27cecb04tb43f2b82702cffe5@mail.gmail.com> <8a83c96b0609091720s1bb0d1beg6bb5bf55ac09b45b@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I uploaded a new version of the jcr portlets prototype, it's almost usable now ;). download the war file from http://people.apache.org/~edgarpoce/graffito/. I use a couple of jackrabbit contrib projects: jcr-commands and jcr-taglib. I made some changes to both and I'll commit them soon, but in case anyone wants to build from the source before I commit the changes I uploaded the modified versions. I added a new slide portlet which shows image slides. The images can be uploaded either from the portal in edit mode or via webdav. Features: - wysiwyg portlet. - slide portlet - webdav support - versioning support - j2 path integration. Now the contents are stored in the portal site hierarchy - The content features are not included as a menu, now the content features are shown in help mode. Known issues: obviously lots of them, but mainly: - the content mode is shown in help mode - the two types of portlets (slide and wysiwyg) don't play nice in a single page. - unsecure, since anyone can edit the contents via webdav - handling of error messages - escape jcr paths a few comments: Independently of the api to interact with the repository it would be great to integrate the graffito contents in the portal hierarchy and provide services through a content mode. AFAIK graffito objects are stored in its own tree. Unfortunately the j2 API doesn't support to get a fragment's path of type portlet. see http://thread.gmane.org/gmane.comp.jakarta.jetspeed.user/18566/focus=18566. And there's no way to get a descriptive name for a fragment. I think a workaround could be to use fragment preferences, but it wouldn't fix the missing decorator fragments in the path. It would be great to fix it as part of the development effort of contributing a graffito based page manager. Another important issue is that AFAIK j2 doesn't provide a way to listening changes on fragments. Thus the content generated through the portal or via webdav are not moved/removed when the corresponding fragment is moved/removed. well, I think the prototype time is over so I'll stop spamming the list :). br, edgar