From graffito-commits-return-66-apmail-incubator-graffito-commits-archive=www.apache.org@incubator.apache.org Thu Feb 17 23:57:37 2005 Return-Path: Delivered-To: apmail-incubator-graffito-commits-archive@www.apache.org Received: (qmail 26816 invoked from network); 17 Feb 2005 23:57:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Feb 2005 23:57:36 -0000 Received: (qmail 30792 invoked by uid 500); 17 Feb 2005 23:57:36 -0000 Mailing-List: contact graffito-commits-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-commits@incubator.apache.org Received: (qmail 30779 invoked by uid 500); 17 Feb 2005 23:57:36 -0000 Delivered-To: apmail-incubator-graffito-cvs@incubator.apache.org Received: (qmail 30771 invoked by uid 99); 17 Feb 2005 23:57:36 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 17 Feb 2005 15:57:32 -0800 Received: (qmail 26768 invoked by uid 65534); 17 Feb 2005 23:57:31 -0000 Message-ID: <20050217235731.26767.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Thu, 17 Feb 2005 23:57:31 -0000 Subject: svn commit: r154214 [3/10] - in incubator/graffito/trunk/applications: ./ browser/ browser/src/ browser/src/java/ browser/src/java/org/ browser/src/java/org/apache/ browser/src/java/org/apache/portals/ browser/src/java/org/apache/portals/graffito/ browser/src/java/org/apache/portals/graffito/portlets/ browser/src/java/org/apache/portals/graffito/portlets/resources/ browser/src/java/org/apache/portals/graffito/portlets/util/ browser/src/java/org/apache/portals/graffito/servlets/ browser/src/java/org/apache/portals/graffito/util/ browser/src/webapp/ browser/src/webapp/WEB-INF/ browser/src/webapp/WEB-INF/tabs/ browser/src/webapp/WEB-INF/velocity/ browser/src/webapp/WEB-INF/view/ browser/src/webapp/WEB-INF/view/document/ browser/src/webapp/WEB-INF/view/folder/ browser/src/webapp/WEB-INF/view/security/ browser/src/webapp/kupu/ browser/src/webapp/kupu/kupudrawers/ browser/src/webapp/kupu/kupudrawers/logos/ browser/src/webapp/kupu/kupuimages/ browser/src/webapp/kupu/kupupopups/ To: graffito-cvs@incubator.apache.org From: clombart@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Added: incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/vie= w/tab.vm URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/br= owser/src/webapp/WEB-INF/view/tab.vm?view=3Dauto&rev=3D154214 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/view/t= ab.vm (added) +++ incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/view/t= ab.vm Thu Feb 17 15:57:09 2005 @@ -0,0 +1,52 @@ +#* +Copyright 2004 The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*# + +#** + +@author Chris= tophe Lombart +@version $Id: Exp $ + +*# +#set ($MESSAGES =3D $portletConfig.getResourceBundle($renderRequest.Locale= )) +#set ($tabPages =3D $tab.getPages()) + + +
+ + + =20 + + + + #foreach($tabPage in $tabPages) + #if($tabPage.isSelected())=09 + + + + #else + + + =09 + #end =20 + #end + =20 + =09 +
    = ;$tabPage.getLabe= l()&nbs= p;&n= bsp;= $tabPage.getLabel()&= nbsp;
=09 +
+
+#parse($tab.getSelectedPage().getPage()) + + Added: incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/web= .xml URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/br= owser/src/webapp/WEB-INF/web.xml?view=3Dauto&rev=3D154214 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/web.xm= l (added) +++ incubator/graffito/trunk/applications/browser/src/webapp/WEB-INF/web.xm= l Thu Feb 17 15:57:09 2005 @@ -0,0 +1,73 @@ + + + + + Graffito Browser + Graffito Browser Application + + + JetspeedContainer + Jetspeed Container + MVC Servlet for Jetspeed Portlet Applications + org.apache.jetspeed.container.JetspeedContainerServlet<= /servlet-class> + + + + + velocity + org.apache.portals.bridges.velocity.BridgesVelocityViewSe= rvlet + + org.apache.velocity.toolbox + /WEB-INF/velocity/toolbox.xml + + + org.apache.velocity.properties + /WEB-INF/velocity/velocity.properties + + 10 + + + + + viewer + org.apache.portals.graffito.servlets.GraffitoViewerServle= t + 10 + + =09 + + + velocity + *.vm + =09 + + + viewer + /viewer + + + + + JetspeedContainer + + + /container/* + + + =20 + =20 + Added: incubator/graffito/trunk/applications/browser/src/webapp/kupu/fulldo= c=2Ehtml URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/br= owser/src/webapp/kupu/fulldoc.html?view=3Dauto&rev=3D154214 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/graffito/trunk/applications/browser/src/webapp/kupu/fulldoc.h= tml (added) +++ incubator/graffito/trunk/applications/browser/src/webapp/kupu/fulldoc.h= tml Thu Feb 17 15:57:09 2005 @@ -0,0 +1,148 @@ + + + + Test Content Document + + + + + + + + + + + + + + + + + + + + + + + +

Document-Centric Editing

+ +

There are two approaches to content editing in a web browser. The +first is a data-oriented approach, where the content is split into +concrete parts. The editing occurs in a <form> with va= rious=20 +fields. This approach fits best when there are specific pieces of informat= ion=20 +needed for the resource.

+

The second is a document-oriented approach, where the essence = of=20 +the resource is free-flowing. This does not mean that the content is=20 +unstructured, but it is less rigid than fields. Often there are elements t= hat +provide metadata for the resource.

+ +

Most information in organizations is free-flowing, as studies show. +For these cases, a rich editor like Kupu makes sense. Equally, these +cases point towards a document-centric approach, rather than +rigid HT= ML=20 +forms.

+ +

The following table shows different aspects, and happens to give=20 +us a chance to test table editing in Kupu:

+ +

Comparing Data- and Document-Centric

+ + + + + + + + + + + + + + + + + + +
 Data-centricDocument-centric
Implementationform fieldsiframe
Metadataform elementsiframe document "head"
+ + + + Added: incubator/graffito/trunk/applications/browser/src/webapp/kupu/kupu.h= tml URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/br= owser/src/webapp/kupu/kupu.html?view=3Dauto&rev=3D154214 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/graffito/trunk/applications/browser/src/webapp/kupu/kupu.html= (added) +++ incubator/graffito/trunk/applications/browser/src/webapp/kupu/kupu.html= Thu Feb 17 15:57:09 2005 @@ -0,0 +1,364 @@ + + + + Test Editor + + + + + + + + + + + + + + + + +

Kupu Editor Test Page

+
+ + + fulldoc.html + 1 + 0 + 1 + application/xhtml+xml + 1 + + plain + listing + grid + data + + kupudrawers/drawer.xsl + kupudrawers/drawer.xsl + kupudrawers/imagelibrary.xml + kupudrawers/linklibrary.xml + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

External Link

+
+ + + + + + + + +
+
+ Link the highlighted text to this URL + : +
+ +
+ +
+ +
+
+ + +
+
+
+
+

Table

+
+ + + + +
+ + + + + + + + + + +
Table Class + +
+
+ + + + + + + + + + + + + + + + + +
Rows + +
Columns + + +
Headings<= /td> + + + +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + +
Current column alignment= + +
Column + + +
Row + + +
Fix Table + +
+
+
+
+
+ +
+
+
+
+
+
+

Properties

+
Title:
+ +
Description:
+ + +
+
+ + Added: incubator/graffito/trunk/applications/browser/src/webapp/kupu/kupu.vm URL: http://svn.apache.org/viewcvs/incubator/graffito/trunk/applications/br= owser/src/webapp/kupu/kupu.vm?view=3Dauto&rev=3D154214 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- incubator/graffito/trunk/applications/browser/src/webapp/kupu/kupu.vm (= added) +++ incubator/graffito/trunk/applications/browser/src/webapp/kupu/kupu.vm T= hu Feb 17 15:57:09 2005 @@ -0,0 +1,373 @@ + + +#set ($MESSAGES =3D $portletConfig.getResourceBundle($renderRequest.Locale= )) +#set ($document =3D $browserInfo.getCurrentCmsObject()) + + + + Test Editor + + + + + + + + + + + + + + + + + =09 +

Kupu Editor Test Page

+
+ + + fulldoc.html + 1 + 0 + 1 + application/xhtml+xml + 1 + + plain + listing + grid + data + + /graffito-browser/kupu/kupudrawers/drawer.xsl + /graffito-browser/kupu/kupudrawers/drawer.xsl + /graffito-browser/kupu/kupudrawers/imagelib= rary.xml + /graffito-browser/kupu/kupudrawers/linklibra= ry.xml + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

External Link

+
+ + + + + + + + +
+
+ Link the highlighted text to this URL + : +
+ +
+ +
+ +
+
+ + +
+
+
+
+

Table

+
+ + + + +
+ + + + + + + + + + +
Table Class + +
+
+ + + + + + + + + + + + + + + + + +
Rows + +
Columns + + +
Headings<= /td> + + + +
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + +
Current column alignment= + +
Column + + +
Row + + +
Fix Table + +
+
+
+
+
+ +
+
+
+
+
+
+

Properties

+
Title:
+ +
Description:
+ + +
+
+ +