You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2005/09/01 11:10:38 UTC

svn commit: r265679 [10/12] - in /cocoon/blocks/portal-sample/trunk: ./ WEB-INF/ WEB-INF/xconf/ conf/ java/ java/org/ java/org/apache/ java/org/apache/cocoon/ java/org/apache/cocoon/portal/ java/org/apache/cocoon/portal/coplets/ java/org/apache/cocoon/...

Added: cocoon/blocks/portal-sample/trunk/samples/tools/flow.js
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/flow.js?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/flow.js (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/flow.js Thu Sep  1 02:08:10 2005
@@ -0,0 +1,39 @@
+/*
+ * Copyright 1999-2005 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.
+ */
+cocoon.load("resource://org/apache/cocoon/portal/tools/ptm.js");
+
+function tools() {
+	var toolManager = getPTM();
+	if(toolManager.getToolsWithFunctions().size() > 0) {
+		cocoon.sendPage("tools.jx", {"tools" : toolManager.getToolsWithFunctions()});
+	} else {
+		cocoon.sendPage("noTools.jx");
+	}
+	relPTM(toolManager);
+}
+
+function functions() {
+	var toolManager = getPTM();
+	var tool = toolManager.getTool(cocoon.parameters.name);
+	cocoon.sendPage(tool.getId() + "/functions.jx", {"functions" : tool.getFunctions(), "tool" : tool});
+	relPTM(toolManager);
+}
+
+function menu() {
+	var toolManager = getPTM();
+	cocoon.sendPage("menu.jx", {"tools" : toolManager.getToolsWithFunctions()});
+	relPTM(toolManager);
+}
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/flow.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/flow.js
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/main/functions.jx
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/main/functions.jx?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/main/functions.jx (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/main/functions.jx Thu Sep  1 02:08:10 2005
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<jx:template xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+<div style="spacing:3px; padding:5px;">
+	<b><i18n:text key="portalTools.functions"/>:</b><br/>
+	<jx:forEach select="#{functions}" xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+		<a href="tools/plugins/#{../tool/id}/#{./function}"><i18n:text i18n:key="#{./name}"/></a><br/>
+	</jx:forEach>
+</div>
+</jx:template>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/main/functions.jx
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/main/functions.jx
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/main/menu.jx
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/main/menu.jx?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/main/menu.jx (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/main/menu.jx Thu Sep  1 02:08:10 2005
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<jx:template xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+	<tab-layout xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+		<jx:forEach select="#{tools}">
+			<named-item parameter="tools/functions/#{./id}" name="#{./toolName}"/>
+		</jx:forEach>
+	</tab-layout>
+</jx:template>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/main/menu.jx
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/main/menu.jx
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/main/noTools.jx
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/main/noTools.jx?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/main/noTools.jx (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/main/noTools.jx Thu Sep  1 02:08:10 2005
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<jx:template xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+<div style="spacing:3px; padding:5px;">
+	<i18n:text key="portalTools.noToolsAvailable"/>
+</div>
+</jx:template>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/main/noTools.jx
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/main/noTools.jx
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/main/tools.jx
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/main/tools.jx?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/main/tools.jx (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/main/tools.jx Thu Sep  1 02:08:10 2005
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<jx:template xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+	<div style="spacing:3px; padding:5px;">
+	<b><i18n:text key="portalTools.tools"/>:</b><br/>
+	<jx:forEach select="#{tools}" xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+		<a href="tools/functions/#{./id}"><i18n:text key="#{./name}"/></a><br/>
+	</jx:forEach>
+	</div>
+</jx:template>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/main/tools.jx
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/main/tools.jx
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/flow.js
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/flow.js?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/flow.js (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/flow.js Thu Sep  1 02:08:10 2005
@@ -0,0 +1,192 @@
+/*
+ * Copyright 1999-2005 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.
+ */
+cocoon.load("resource://org/apache/cocoon/portal/tools/ptm.js");
+
+// Functions to modify the PortalLayout
+// var layoutActions = new Packages.org.apache.cocoon.portal.tools.copletManagement.LayoutActions(portalLayout, componentManager.getLayoutFactory(), componentManager.getCopletFactory(), profileManager);
+
+function showTab(showId) {
+	var toolManager = getPTM();
+	var portalObjects = toolManager.getPortalObjects();
+	var portalLayout = portalObjects.getPortalLayout();
+	var portalService = portalObjects.getPortalService();
+	var componentManager = portalObjects.getComponentManager();
+	var profileManager = portalObjects.getProfileManager();
+	var safeLayout = portalLayout;
+
+	/* Use a copy of the Layout in the Tools - DOES NOT WORK ATM
+	var safeLayout = cocoon.session.getAttribute("safeLayout");	
+	if(safeLayout == null) {
+		safeLayout = portalLayout.copy();
+		cocoon.session.setAttribute("safeLayout", safeLayout);
+	}
+	*/
+var layoutActions = new Packages.org.apache.cocoon.portal.tools.copletManagement.LayoutActions(safeLayout, componentManager.getLayoutFactory(), componentManager.getCopletFactory(), profileManager);
+	var id = cocoon.request.id;
+	if(showId != null) {
+		id = showId;
+	}
+	if (id == null) id = "";
+	
+	var action = cocoon.request.action;
+	var actionitem = cocoon.request.actionitem;
+	
+	if(action == "del") {
+		layoutActions.del(actionitem);
+	}
+	if(action == "up") {
+		layoutActions.move(actionitem, true);
+	}
+	if(action == "down") {
+		layoutActions.move(actionitem, false);
+	}
+	if(action == "addCol") {
+		layoutActions.add(actionitem, "column");
+	}
+	if(action == "addRow") {
+		layoutActions.add(actionitem, "row");
+	}
+	if(action == "addTab") {
+		var form = new Form("cocoon:/model/addTab");
+		form.showForm("form/addTab/template");
+		var name = form.getChild("name").getValue();
+		
+		if (actionitem == "maintab") 
+			actionitem = "1";
+		
+		layoutActions.addTab(actionitem, name);
+	}
+
+	if(action =="addCoplet") {
+		handleAddCoplets(actionitem, layoutActions);
+	}	
+	
+	if(action == "save") {
+		profileManager.saveUserProfiles(null);
+	}
+	
+	/* save and restore functions if we work with a copy of the layout later.
+	if(action == "save") {
+		print("safe layout");
+		profileManager.storeProfile(safeLayout, null);
+		cocoon.session.setAttribute("safeLayout", null);
+	}
+	
+	if(action == "restore") {
+		print("restore layout");
+		safeLayout = portalLayout.copy();
+		cocoon.session.setAttribute("safeLayout", safeLayout);
+	}
+	*/ 
+	
+	cocoon.sendPage("page/showTab/" + id, {"layout" : safeLayout });
+	toolManager.releasePortalObjects(portalObjects);
+	relPTM(toolManager);
+}
+
+function showXml() {
+	var toolManager = getPTM();
+	var portalObjects = toolManager.getPortalObjects();
+	var portalLayout = portalObjects.getPortalLayout();
+	var bla = cocoon.request.foo;
+	cocoon.sendPage("layoutProfile/" + bla, {"layout" : portalLayout });
+	toolManager.releasePortalObjects(portalObjects);
+	relPTM(toolManager);
+}
+
+function showCopletList(current, item) {
+	var toolManager = getPTM();
+	var portalObjects = toolManager.getPortalObjects();
+	var profileManager = portalObjects.getProfileManager();
+	var coplets = profileManager.getCopletInstanceDatas();
+	
+	cocoon.sendPage("jx/copletList.jx", {"coplets": coplets, "item" : item, "current" : current});
+	toolManager.releasePortalObjects(portalObjects);
+	relPTM(toolManager);
+}
+
+function handleAddCoplets(parent, layoutActions) {
+	var toolManager = getPTM();
+	var portalObjects = toolManager.getPortalObjects();
+	var portalService = portalObjects.getPortalService();
+	var profileManager = portalObjects.getProfileManager();
+	
+	var form = new Form("cocoon:/model/addCoplet");
+	form.createBinding("form/addCoplet/binding.xml");
+	var coplets = profileManager.getCopletDatas();
+	form.load(profileManager);
+	form.showForm("form/addCoplet/template");
+	layoutActions.getSelectedCoplets(form.getChild("coplets"), coplets, parent);
+
+	toolManager.releasePortalObjects(portalObjects);
+	relPTM(toolManager);
+}
+
+function selectSkin() {
+	var toolManager = getPTM();
+	var portalObjects = toolManager.getPortalObjects();
+	var portalService = portalObjects.getPortalService();
+	var portalLayout = portalObjects.getPortalLayout();
+
+	var id = cocoon.request.id;
+	var skins = portalService.getSkinDescriptions();
+	if(id != null) {
+		for(var it = skins.iterator(); it.hasNext();) {
+			var skinName = it.next().getName();
+			if(skinName.equals(id))
+				portalLayout.getParameters().put("skin", skinName);
+		}
+		id = null;
+	}
+	cocoon.sendPageAndWait("jx/selectSkin.jx", {"skins" : skins});
+
+	toolManager.releasePortalObjects(portalObjects);
+	relPTM(toolManager);
+}
+
+function editCoplet() {
+	var toolManager = getPTM();
+	var portalObjects = toolManager.getPortalObjects();
+	var portalService = portalObjects.getPortalService();
+	var portalLayout = portalObjects.getPortalLayout();
+	var componentManager = portalObjects.getComponentManager();
+	var profileManager = portalObjects.getProfileManager();
+	var layoutActions = new Packages.org.apache.cocoon.portal.tools.copletManagement.LayoutActions(portalLayout, componentManager.getLayoutFactory(), componentManager.getCopletFactory(), profileManager);
+
+	
+	var copletId = cocoon.request.actionitem;
+	var backId = cocoon.request.id;
+	var instanceData = layoutActions.getCopletInstanceData(copletId);
+	var copletData = instanceData.getCopletData();
+	var copletType = instanceData.getCopletData().getCopletBaseData().getCopletAdapterName();
+	var visible = instanceData.getAttributes().get("visible");
+	if(visible == null) {
+		instanceData.getAttributes().put("visible", new Packages.java.lang.Boolean(true));
+	}
+	var which = "all";
+	if(copletType.equals("uri"))
+		which = "uriCoplet";
+	var form = new Form("cocoon:/model/editCoplet/" + which);
+	form.createBinding("form/editCoplet/" + which + "/binding.xml");
+	while(1) {
+		form.load(instanceData);
+		form.showForm("form/editCoplet/" + which +"/template", {"backId" : backId});
+		form.save(instanceData);
+	}
+
+	toolManager.releasePortalObjects(portalObjects);
+	relPTM(toolManager);
+}

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/flow.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/flow.js
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/binding.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/binding.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/binding.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/binding.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<fb:context 
+            xmlns:fb="http://apache.org/cocoon/forms/1.0#binding" 
+            xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" 
+            path="/">
+
+	<fb:repeater id="coplets"
+               parent-path="."
+               row-path="copletDatas">
+
+    <fb:identity>
+      <fb:value id="id" path="@id"/>
+    </fb:identity>
+	
+    <fb:on-bind>
+	      <fb:value id="coplet" path="id"/>
+	      <fb:value id="title" path="title"/>
+	  </fb:on-bind>
+	
+	</fb:repeater>
+
+</fb:context>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/binding.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/binding.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/form.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/form.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/form.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/form.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<fd:form
+  xmlns:fd="http://apache.org/cocoon/forms/1.0#definition">
+
+<fd:widgets>
+<fd:repeater id="coplets">
+  <fd:label>Coplets</fd:label>
+  <fd:widgets>
+	
+	<fd:output id="id">
+		<fd:datatype base="string"/>
+	</fd:output>
+	
+    <fd:output id="coplet">
+	<fd:datatype base="string"/>
+	 </fd:output>
+	
+    <fd:output id="title">
+      <fd:label>Name:</fd:label>
+      <fd:datatype base="string"/>
+    </fd:output>
+	
+	<fd:booleanfield id="selected">
+		<fd:label>Select</fd:label>
+	</fd:booleanfield>
+	
+  </fd:widgets>
+</fd:repeater>
+
+</fd:widgets>
+</fd:form>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/form.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/form.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/template.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/template.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/template.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/template.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<div style="spacing:3px; padding:5px;" xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+	   xmlns:ft="http://apache.org/cocoon/forms/1.0#template"
+      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance">
+		<b><i18n:text key="copletManagement.selectCoplet"/></b><br/>
+		<ft:form-template action="tools/plugins/copletManagement/#{$continuation/id}.continue" method="POST">
+			<ft:repeater-widget id="coplets">
+				<ft:widget id="selected"/>: <ft:widget id="title"/>&#160;<br/>
+			</ft:repeater-widget>
+			<input type="submit"/>
+		</ft:form-template>
+</div>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/template.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addCoplet/template.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/form.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/form.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/form.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/form.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<fd:form
+  xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+
+<fd:widgets>
+    <fd:field id="name" required="true">
+      <fd:label><i18n:text key="copletManagement.tabName"/></fd:label>
+      <fd:datatype base="string"/>
+    </fd:field>
+
+</fd:widgets>
+</fd:form>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/form.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/form.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/template.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/template.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/template.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/template.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<div xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+	   xmlns:ft="http://apache.org/cocoon/forms/1.0#template"
+      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance">
+		<b><i18n:text key="copletManagement.enterTabName"/></b><br/>
+		<ft:form-template action="tools/plugins/copletManagement/#{$continuation/id}.continue" method="POST">
+				<ft:widget-label id="name"/>: <ft:widget id="name"/>&#160;<br/>
+			<input type="submit"/>
+		</ft:form-template>
+</div>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/template.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/addTab/template.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/binding.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/binding.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/binding.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/binding.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<fb:context 
+            xmlns:fb="http://apache.org/cocoon/forms/1.0#binding" 
+            xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" 
+            path="/">
+
+	      <fb:value id="title" path="copletData/title"/>
+		  <fb:value id="visible" path="attributes/visible"/>
+</fb:context>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/binding.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/binding.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/form.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/form.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/form.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/form.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<fd:form
+  xmlns:fd="http://apache.org/cocoon/forms/1.0#definition"
+  xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+
+<fd:widgets>
+	
+    <fd:field id="title">
+		<fd:label><i18n:text key="copletManagement.editCoplet.all.copletTitle"/>:</fd:label>
+		<fd:datatype base="string"/>
+	 </fd:field>
+	
+     <fd:booleanfield id="visible">
+		<fd:label><i18n:text key="copletManagement.editCoplet.all.visible"/>:</fd:label>
+		<fd:datatype base="boolean"/>
+	 </fd:booleanfield>
+
+</fd:widgets>
+</fd:form>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/form.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/form.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/template.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/template.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/template.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/template.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<div style="spacing:3px; padding:5px;" xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+	   xmlns:ft="http://apache.org/cocoon/forms/1.0#template"
+      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance">
+		<b><i18n:text key="copletManagement.editCoplet.all.title"/></b><br/>
+		<ft:form-template action="tools/plugins/copletManagement/#{$continuation/id}.continue" method="POST">
+				<ft:widget-label id="title"/> <ft:widget id="title"/>&#160;<br/>
+				<ft:widget-label id="visible"/> <ft:widget id="visible"/>&#160;<br/>
+			<input type="submit" value="copletManagement.editCoplet.save" i18n:attr="value"/>
+			<a href="tools/plugins/copletManagement/showTab?id=#{./backId}">back</a>
+		</ft:form-template>
+</div>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/template.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/all/template.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/binding.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/binding.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/binding.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/binding.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<fb:context 
+            xmlns:fb="http://apache.org/cocoon/forms/1.0#binding" 
+            xmlns:fd="http://apache.org/cocoon/forms/1.0#definition" 
+            path="/">
+
+	      <fb:value id="title" path="copletData/title"/>
+		  <fb:value id="uri" path="copletData/attributes/uri"/>
+		  <fb:value id="visible" path="attributes/visible"/>
+</fb:context>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/binding.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/binding.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/form.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/form.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/form.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/form.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<fd:form
+  xmlns:fd="http://apache.org/cocoon/forms/1.0#definition"
+  xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+
+<fd:widgets>
+	
+    <fd:field id="title">
+		<fd:label><i18n:text key="copletManagement.editCoplet.uri.copletTitle"/>:</fd:label>
+		<fd:datatype base="string"/>
+	 </fd:field>
+	 
+     <fd:field id="uri">
+		<fd:label><i18n:text key="copletManagement.editCoplet.uri.copletUri"/>:</fd:label>
+		<fd:datatype base="string"/>
+	 </fd:field>
+	
+     <fd:booleanfield id="visible">
+		<fd:label><i18n:text key="copletManagement.editCoplet.all.visible"/>:</fd:label>
+		<fd:datatype base="boolean"/>
+	 </fd:booleanfield>
+	 
+</fd:widgets>
+</fd:form>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/form.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/form.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/template.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/template.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/template.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/template.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<div style="spacing:3px; padding:5px;" xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
+	   xmlns:ft="http://apache.org/cocoon/forms/1.0#template"
+      xmlns:fi="http://apache.org/cocoon/forms/1.0#instance">
+		<b><i18n:text key="copletManagement.editCoplet.uri.title"/></b><br/>
+		<ft:form-template action="tools/plugins/copletManagement/#{$continuation/id}.continue" method="POST">
+				<ft:widget-label id="title"/> <ft:widget id="title"/>&#160;<br/>
+				<ft:widget-label id="uri"/> <ft:widget id="uri"/>&#160;<br/>
+				<ft:widget-label id="visible"/> <ft:widget id="visible"/>&#160;<br/>
+			<input type="submit" value="copletManagement.editCoplet.save" i18n:attr="value"/>
+			<a href="tools/plugins/copletManagement/showTab?id=#{./backId}">back</a>
+		</ft:form-template>
+</div>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/template.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/form/editCoplet/uriCoplet/template.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+	<catalogue>
+		<message key="copletManagement.editLayout">Edit Layout</message>
+		<message key="copletManagement.title">Coplet-Management</message>
+		<message key="copletManagement.selectTab">Tab-Selection</message>
+		<message key="copletManagement.enterTabName">Enter a name for the tab</message>
+		<message key="copletManagement.tabName">Name</message>
+		
+		<message key="copletManagement.items.tab">Tab</message>
+		<message key="copletManagement.items.tabFolder">Tab-Folder</message>
+		<message key="copletManagement.items.row">Row</message>
+		<message key="copletManagement.items.col">Column</message>
+		<message key="copletManagement.items.coplet">Coplet</message>
+
+		<message key="copletManagement.actions.title">Actions</message>
+		<message key="copletManagement.actions.addCoplet">Add Coplet</message>
+		<message key="copletManagement.actions.addRow">Add Row</message>
+		<message key="copletManagement.actions.addCol">Add Column</message>
+		<message key="copletManagement.actions.addTab">Add Tab</message>
+		<message key="copletManagement.actions.removeItem">Delete Item</message>
+		<message key="copletManagement.actions.moveLeft">Move Left</message>
+		<message key="copletManagement.actions.moveUp">Move Up</message>
+		<message key="copletManagement.actions.moveRight">Move Right</message>
+		<message key="copletManagement.actions.moveDown">Move Down</message>
+		<message key="copletManagement.actions.drillDown">Drilldown</message>
+		<message key="copletManagement.actions.goUp">Go Up</message>
+		
+		<message key="copletManagement.selectSkin">Select Skin</message>
+
+		<message key="copletManagement.selectCoplet">Select one or more Coplets</message>
+		
+		<message key="copletManagement.editCoplet.save">Save</message>
+		<message key="copletManagement.editCoplet.all.title">Edit Coplet</message>
+		<message key="copletManagement.editCoplet.all.copletTitle">Title</message>
+		<message key="copletManagement.editCoplet.all.visible">Visible</message>
+		<message key="copletManagement.editCoplet.uri.title">Edit URI-Coplet</message>
+		<message key="copletManagement.editCoplet.uri.copletTitle">Title</message>
+		<message key="copletManagement.editCoplet.uri.copletUri">URI</message>
+		
+	</catalogue>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_de.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_de.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_de.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_de.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+
+<catalogue>
+	<message key="copletManagement.editLayout">Layout bearbeiten</message>
+	<message key="copletManagement.title">Coplet-Verwaltung</message>
+	<message key="copletManagement.selectTab">Tab-Auswahl</message>
+	<message key="copletManagement.enterTabName">Geben Sie einen Namen fuer den Tab ein</message>
+	<message key="copletManagement.tabName">Name</message>
+	
+	<message key="copletManagement.items.tab">Tab</message>
+	<message key="copletManagement.items.tabFolder">Tab-Ordner</message>
+	<message key="copletManagement.items.row">Zeile</message>
+	<message key="copletManagement.items.col">Spalte</message>
+	<message key="copletManagement.items.coplet">Coplet</message>
+
+	<message key="copletManagement.actions.title">Aktionen</message>
+	<message key="copletManagement.actions.addCoplet">Coplet hinzufuegen</message>
+	<message key="copletManagement.actions.addRow">Zeile hinzufuegen</message>
+	<message key="copletManagement.actions.addCol">Spalte hinzufuegen</message>
+	<message key="copletManagement.actions.addTab">Tab hinzufuegen</message>
+	<message key="copletManagement.actions.removeItem">Item loeschen</message>
+	<message key="copletManagement.actions.moveLeft">nach links verschieben</message>
+	<message key="copletManagement.actions.moveUp">nach oben verschieben</message>
+	<message key="copletManagement.actions.moveRight">nach rechts verschieben</message>
+	<message key="copletManagement.actions.moveDown">nach unten verschieben</message>
+	<message key="copletManagement.actions.drillDown">Drilldown</message>
+	<message key="copletManagement.actions.goUp">nach oben</message>
+	
+	<message key="copletManagement.selectSkin">Skinauswahl</message>
+	
+	<message key="copletManagement.selectCoplet">Waehlen Sie ein oder mehrere Coplets aus</message>
+	
+	<message key="copletManagement.editCoplet.save">speichern</message>
+	<message key="copletManagement.editCoplet.all.title">Coplet bearbeiten</message>
+	<message key="copletManagement.editCoplet.all.copletTitle">Titel</message>
+	<message key="copletManagement.editCoplet.all.visible">Sichtbar</message>
+	<message key="copletManagement.editCoplet.uri.title">URI-Coplet bearbeiten</message>
+	<message key="copletManagement.editCoplet.uri.copletTitle">Titel</message>
+	<message key="copletManagement.editCoplet.uri.copletUri">URI</message>
+	
+</catalogue>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_de.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_de.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_en.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_en.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_en.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_en.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+	<catalogue>
+		<message key="copletManagement.editLayout">Edit Layout</message>
+		<message key="copletManagement.title">Coplet-Management</message>
+		<message key="copletManagement.selectTab">Tab-Selection</message>		
+		<message key="copletManagement.enterTabName">Enter a name for the tab</message>
+		<message key="copletManagement.tabName">Name</message>
+		
+		<message key="copletManagement.items.tab">Tab</message>
+		<message key="copletManagement.items.tabFolder">Tab-Folder</message>
+		<message key="copletManagement.items.row">Row</message>
+		<message key="copletManagement.items.col">Column</message>
+		<message key="copletManagement.items.coplet">Coplet</message>
+		
+		<message key="copletManagement.actions.title">Actions</message>
+		<message key="copletManagement.actions.addCoplet">Add Coplet</message>
+		<message key="copletManagement.actions.addRow">Add Row</message>
+		<message key="copletManagement.actions.addCol">Add Column</message>
+		<message key="copletManagement.actions.addTab">Add Tab</message>
+		<message key="copletManagement.actions.removeItem">Delete Item</message>
+		<message key="copletManagement.actions.moveLeft">Move Left</message>
+		<message key="copletManagement.actions.moveUp">Move Up</message>
+		<message key="copletManagement.actions.moveRight">Move Right</message>
+		<message key="copletManagement.actions.moveDown">Move Down</message>
+		<message key="copletManagement.actions.drillDown">Drilldown</message>
+		<message key="copletManagement.actions.goUp">Go Up</message>
+
+		<message key="copletManagement.selectSkin">Select Skin</message>		
+		
+		<message key="copletManagement.selectCoplet">Select one or more Coplets</message>
+		
+		<message key="copletManagement.editCoplet.save">Save</message>
+		<message key="copletManagement.editCoplet.all.title">Edit Coplet</message>
+		<message key="copletManagement.editCoplet.all.copletTitle">Title</message>
+		<message key="copletManagement.editCoplet.all.visible">Visible</message>
+		<message key="copletManagement.editCoplet.uri.title">Edit URI-Coplet</message>
+		<message key="copletManagement.editCoplet.uri.copletTitle">Title</message>
+		<message key="copletManagement.editCoplet.uri.copletUri">URI</message>
+		
+	</catalogue>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_en.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/i18n/copletManagement_en.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/jx/selectSkin.jx
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/jx/selectSkin.jx?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/jx/selectSkin.jx (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/jx/selectSkin.jx Thu Sep  1 02:08:10 2005
@@ -0,0 +1,33 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<jx:template xmlns:jx="http://apache.org/cocoon/templates/jx/1.0">
+<div style="spacing:3px; padding:5px;" xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
+	<b><i18n:text key="copletManagement.selectSkin"/></b>
+	<table>
+		<jx:forEach select="#{skins}">
+		<tr style="spacing:3px; padding:5px;">
+			<td>
+				<a href="tools/plugins/copletManagement/selectSkin?id=#{./name}"><img src="tools/plugins/copletManagement/selectSkinThumb/#{./name}" border="0"/></a>
+			</td>
+			<td>
+				<a href="tools/plugins/copletManagement/selectSkin?id=#{./name}">#{./name}</a>
+			</td>
+		</tr>
+		</jx:forEach>
+	</table>
+</div>
+</jx:template>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/jx/selectSkin.jx
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/jx/selectSkin.jx
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/sitemap.xmap?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/sitemap.xmap (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/sitemap.xmap Thu Sep  1 02:08:10 2005
@@ -0,0 +1,149 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:components>
+      <map:generators default="file">
+      <map:generator name="xmlprofile"
+                     src="org.apache.cocoon.portal.tools.copletManagement.generation.XMLProfileGenerator" />
+	      </map:generators>
+    <map:transformers default="xalan">
+    </map:transformers>
+  </map:components>
+<!-- flow script -->
+  <map:flow language="javascript">
+    <map:script src="flow.js" />
+  </map:flow>
+  <map:pipelines>
+<!-- Now the accessible pipelines -->
+    <map:pipeline>
+      
+      <map:match pattern="main">
+        <map:generate src="tool.xml" />
+        <map:serialize type="xml" />
+      </map:match>
+     
+     <map:match pattern="save-user-profile">
+        <map:generate src="context://samples/blocks/portal/resources/save-user-profile.xml"/>
+				<map:transform src="context://samples/blocks/portal/styles/save-user-profile.xsl">
+					<map:parameter name="profiles" value="context://samples/blocks/portal/profiles/"/>
+				</map:transform>
+        <map:transform type="session"/>
+        <map:transform type="write-source"/>
+        <map:serialize type="xml"/>
+      </map:match>
+
+     
+     		<map:match pattern="i18n/**">
+			<map:generate src="{1}" type="i18nc"/>
+			<map:serialize type="xml"/>
+		</map:match> 
+     
+	<!-- generate the layoutprofile -->
+	<map:match pattern="layoutProfile/*">
+		<map:generate type="xmlprofile"/>
+		<map:transform src="styles/createIndex.xsl">
+			<map:parameter name="rootId" value="{1}" />
+		</map:transform>
+		<map:serialize type="xml" />
+	</map:match>
+	<map:match pattern="layoutProfile">
+		<map:generate type="xmlprofile"/>
+		<map:transform src="styles/createIndex.xsl">
+		</map:transform>
+		<map:serialize type="xml" />
+	</map:match>
+      
+      <map:match pattern="page/showTab/*">
+        <map:generate src="cocoon:/layoutProfile/{1}"/>
+        <map:transform src="../../skins/{portal-skin:skin}/styles/showTab.xsl">
+          <map:parameter name="current" value="{1}" />
+          <map:parameter name="parent" value="{request-param:parent}"/>
+          <map:parameter name="currentSkin" value="{global:skin}"/>
+        </map:transform>
+        <map:transform type="tool-layout">
+          <map:parameter name="selected" value="copletManagement" />
+        </map:transform>
+        <map:transform type="i18n" />
+        <map:transform src="{portal-skin:skin.basepath}/styles/tab.xsl" />
+        <map:transform src="../../skins/{portal-skin:skin}/styles/function.xsl" />
+        <map:transform src="{portal-skin:skin.basepath}/styles/portal-page.xsl">
+					<map:parameter name="base" value="{portalpath:relative}"/>
+					<map:parameter name="title" value="{global:toolsTitle}"/>
+        </map:transform>
+        <map:serialize type="html" />
+      </map:match>
+      
+      <map:match pattern="page/showxml/*">
+        <map:generate src="cocoon:/layoutProfile/{1}"/>
+        <map:serialize type="xml" />
+      </map:match>
+      
+      <map:match pattern="jx/*.jx">
+        <map:generate src="jx/{1}.jx" type="jx" />
+        <map:transform type="tool-layout">
+          <map:parameter name="selected" value="copletManagement" />
+        </map:transform>
+        <map:transform type="i18n" />
+        <map:transform src="{portal-skin:skin.basepath}/styles/tab.xsl" />
+        <map:transform src="../../skins/{portal-skin:skin}/styles/function.xsl" />
+        <map:transform src="{portal-skin:skin.basepath}/styles/portal-page.xsl">
+					<map:parameter name="base" value="{portalpath:relative}"/>
+					<map:parameter name="title" value="{global:toolsTitle}"/>
+        </map:transform>
+        <map:serialize type="html" />
+      </map:match>
+      
+      <map:match pattern="form/**">
+        <map:generate src="form/{1}.xml"/>
+        <map:transform type="forms"/>
+        <map:transform type="jx"/>
+        <map:transform type="tool-layout">
+          <map:parameter name="selected" value="copletManagement" />
+        </map:transform>
+        <map:transform src="{portal-skin:skin.basepath}/styles/forms-styling.xsl" />
+        <map:transform type="i18n" />
+        <map:transform src="{portal-skin:skin.basepath}/styles/tab.xsl" />
+        <map:transform src="../../skins/{portal-skin:skin}/styles/function.xsl" />
+        <map:transform src="{portal-skin:skin.basepath}/styles/portal-page.xsl">
+					<map:parameter name="base" value="{portalpath:relative}"/>
+					<map:parameter name="title" value="{global:toolsTitle}"/>
+        </map:transform>
+        <map:serialize type="html" />
+      </map:match>
+      
+      <map:match pattern="model/**">
+      	<map:generate src="form/{1}/form.xml"/>
+      	<map:serialize type="xml"/>
+      </map:match>
+      
+      <map:match pattern="selectSkinThumb/*">
+      	<map:read src="{portal-skin:skin.thumbnailuri.{1}}"/>
+      </map:match>
+      
+      <map:match pattern="*.continue">
+        <map:call continuation="{1}" />
+      </map:match>
+      
+      <map:match pattern="*">
+        <map:call function="{1}" />
+      </map:match>
+      
+    </map:pipeline>
+  </map:pipelines>
+</map:sitemap>
+<!-- end of file -->
+

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/sitemap.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/sitemap.xmap
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/styles/createIndex.xsl
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/styles/createIndex.xsl?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/styles/createIndex.xsl (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/styles/createIndex.xsl Thu Sep  1 02:08:10 2005
@@ -0,0 +1,152 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:param name="rootId"/>
+	
+<xsl:template match="/">
+	<xsl:apply-templates select="*" mode="firstnode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="firstnode">
+	
+	<!-- calculate new id by the level of the node -->
+	<!--xsl:variable name="newId"><xsl:value-of select="$prefix"/><xsl:value-of select="position()"/></xsl:variable-->
+	
+	<!-- check: is the current node the new root node? -->
+	<xsl:choose>
+		<xsl:when test="string-length($rootId) &lt;= 1 or not($rootId)">
+			<xsl:copy>
+				
+				<xsl:apply-templates select="@*"/>
+				<xsl:if test="not(@id)">
+
+					<xsl:attribute name="id">1</xsl:attribute>
+				</xsl:if>
+				<!-- go on -->
+				<xsl:apply-templates select=".">
+					<xsl:with-param name="prefix">1.</xsl:with-param>
+					<xsl:with-param name="parent">1</xsl:with-param>
+ 					<xsl:with-param name="parentSet">true</xsl:with-param>
+				</xsl:apply-templates>
+				
+			</xsl:copy>
+		</xsl:when>
+		<xsl:otherwise>
+			<xsl:apply-templates select=".">
+				<xsl:with-param name="prefix">1.</xsl:with-param>
+				<xsl:with-param name="parent">1</xsl:with-param>
+				<xsl:with-param name="parentSet"></xsl:with-param>
+			</xsl:apply-templates>
+		</xsl:otherwise>
+	</xsl:choose>
+</xsl:template>
+
+<xsl:template match="node()">
+	<xsl:param name="prefix"/>
+	<xsl:param name="parent"/>
+	<xsl:param name="parentSet"/>
+	
+	<xsl:for-each select="*">
+		
+		<!-- calculate new id by the level of the node -->
+		<xsl:variable name="counter">
+			<xsl:call-template name="getIndex">
+				<xsl:with-param name="currentpos"><xsl:value-of select="position()"/></xsl:with-param>
+			</xsl:call-template>
+		</xsl:variable>
+		<xsl:variable name="newId"><xsl:value-of select="$prefix"/><xsl:value-of select="string-length(normalize-space($counter))"/></xsl:variable>
+		
+		<!-- check: is the current node the new root node? -->
+		<xsl:choose>
+			<xsl:when test="(starts-with($newId, $rootId) and (string-length(substring-after($newId,$rootId)) = 0 or starts-with(substring-after($newId,$rootId),'.'))) or not($rootId)">
+				<xsl:copy>
+					
+					<!-- set id, if it does not exist an is the right node -->
+					<xsl:if test="not(@id) and name() = 'composite-layout' or name() = 'named-item' or name() = 'coplet-layout' or name() = 'coplet-instance-data' or name() = 'item' or name() = '' or name() = ''">
+						<xsl:attribute name="id"><xsl:value-of select="$newId"/></xsl:attribute>
+					</xsl:if>
+					
+					<!-- if the current node is not the root node, set calculated parent id -->
+					<xsl:if test="$parentSet != 'true'">
+						<xsl:attribute name="parent"><xsl:value-of select="$parent"/></xsl:attribute>
+					</xsl:if>
+					
+					<!-- calculate parent: it is always the last composite-layout or named-item node -->
+					<xsl:variable name="newParent">
+						<xsl:choose>
+							<xsl:when test="name(.) = 'composite-layout' or name(.) = 'named-item'">
+								<xsl:value-of select="$newId"/>
+						</xsl:when>
+							<xsl:otherwise>
+								<xsl:value-of select="$parent"/>
+							</xsl:otherwise>
+						</xsl:choose>
+					</xsl:variable>
+					
+					<!-- get all other attributes -->
+					<xsl:apply-templates select="@*"/>
+					
+					<!-- go on -->
+					<xsl:apply-templates select=".">
+						<xsl:with-param name="prefix"><xsl:value-of select="$prefix"/><xsl:value-of select="string-length(normalize-space($counter))"/>.</xsl:with-param>
+						<xsl:with-param name="parent"><xsl:value-of select="$newParent"/></xsl:with-param>
+						<xsl:with-param name="parentSet">true</xsl:with-param>
+					</xsl:apply-templates>
+					
+					<xsl:if test="name() = 'coplet-instance-data'"><xsl:value-of select="."/></xsl:if>
+					
+				</xsl:copy>
+			</xsl:when>
+			<xsl:otherwise>
+		
+				<!-- calculate parent: it is always the last composite-layout or named-item node -->
+				<xsl:variable name="newParent">
+					<xsl:choose>
+						<xsl:when test="name(.) = 'composite-layout' or name(.) = 'named-item'">
+							<xsl:value-of select="$prefix"/><xsl:value-of select="position()"/>
+						</xsl:when>
+						<xsl:otherwise>
+							<xsl:value-of select="$parent"/>
+						</xsl:otherwise>
+				</xsl:choose>
+				</xsl:variable>
+				
+				<xsl:apply-templates select=".">
+					<xsl:with-param name="prefix"><xsl:value-of select="$prefix"/><xsl:value-of select="string-length(normalize-space($counter))"/>.</xsl:with-param>
+					<xsl:with-param name="parent"><xsl:value-of select="$newParent"/></xsl:with-param>
+				</xsl:apply-templates>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:for-each>
+</xsl:template>
+
+<xsl:template name="getIndex">
+	<xsl:param name="currentpos"/>
+	
+	<xsl:for-each select="parent::node()/*[position() &lt;= $currentpos]">
+		<xsl:if test="name() = 'composite-layout' or name() = 'named-item' or name() = 'coplet-layout' or name() = 'coplet-instance-data' or name() = 'item' or name() = '' or name() = ''">.</xsl:if>
+	</xsl:for-each>
+</xsl:template>
+
+<xsl:template match="@*">
+	<xsl:copy>
+		<xsl:apply-templates select="@*|node()" />
+	</xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/styles/createIndex.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/styles/createIndex.xsl
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/tool.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/tool.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/tool.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/tool.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,25 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+<tool name="copletManagement.title" id="copletManagement">
+	<functions>
+		<function name="copletManagement.editLayout" id="copletMangementEditLayout" pipeline="showTab"/>
+		<function name="copletManagement.selectSkin" id="copletManagementSelectSkin" pipeline="selectSkin"/>
+	</functions>
+	<i18n>
+		<catalogue id="copletManagement" name="copletManagement"/>
+	</i18n>
+</tool>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/tool.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/copletManagement/tool.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-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.
+-->
+<!-- This catalogue file contains translations for built-in CForms messages. -->
+<catalogue>
+  <message key="general.field-required">This field is required.</message>
+
+  <message key="datatype.conversion-failed">Not a valid {0}.</message>
+  <message key="datatype.long">integer number</message>
+  <message key="datatype.decimal">decimal number</message>
+  <message key="datatype.double">decimal number</message>
+  <message key="datatype.float">decimal number</message>
+  <message key="datatype.integer">integer number</message>
+  <message key="datatype.date">date</message>
+
+  <message key="validation.string.exact-length">Should be exactly {0} characters.</message>
+  <message key="validation.string.range-length">Should contain from {0} to {1} characters.</message>
+  <message key="validation.string.min-length">Should be at least {0} characters.</message>
+  <message key="validation.string.max-length">Should be at most {0} characters.</message>
+  <message key="validation.string.regexp">Does not match the following regular expression: {0}</message>
+
+  <message key="validation.string.invalidemail">This field does not contain a valid email address</message>
+
+  <message key="validation.array.exact-valuecount">Exactly {0} item(s) should be selected.</message>
+  <message key="validation.array.range-valuecount">At least {0} item(s) and at most {1} items should be selected.</message>
+  <message key="validation.array.min-valuecount">At least {0} item(s) should be selected.</message>
+  <message key="validation.array.max-valuecount">At most {0} items should be selected.</message>
+
+  <message key="multivaluefield.conversionfailed">One of the selected values is of an incorrect type.</message>
+
+  <message key="validation.numeric.range">Number should be in the range from {0} to {1}.</message>
+  <message key="validation.numeric.min">Number should be greater than or equal to {0}.</message>
+  <message key="validation.numeric.max">Number should be less than or equal to {0}.</message>
+
+  <message key="validation.mod10">Mod 10 check failed.</message>
+
+
+  <message key="aggregatedfield.split-failed">Content of this field does not match the following regular expression: {0}</message>
+  <message key="upload.invalid-type">Invalid content type.</message>
+</catalogue>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_de.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_de.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_de.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_de.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  Copyright 1999-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.
+-->
+<!-- This catalogue file contains translations for built-in Woody messages. -->
+<catalogue xml:lang="de">
+  <message key="general.field-required">Dieses Feld muss aufgefüllt werden.</message>
+
+  <message key="datatype.conversion-failed">Ungültige(s) {0}.</message>
+  <message key="datatype.long">natürliche Zahl</message>
+  <message key="datatype.date">Datum</message>
+
+  <message key="validation.string.exact-length">Bitte geben Sie genau {0} Zeichen ein.</message>
+  <message key="validation.string.range-length">Bitte geben Sie zwischen {0} und {1} Zeichen ein.</message>
+  <message key="validation.string.min-length">Bitte geben Sie mindestens {0} Zeichen ein.</message>
+  <message key="validation.string.max-length">Bitte geben Sie höchstens {0} Zeichen ein.</message>
+  <message key="validation.string.regexp">Die Eingabe entspricht nicht dem regulären Ausdruck: {0}</message>
+
+  <message key="validation.string.invalidemail">Dieses Feld enthält keine gültige Email Adresse</message>
+
+  <message key="validation.array.exact-valuecount">Es müssen genau {0} Objekt(e) selektiert sein.</message>
+  <message key="validation.array.range-valuecount">Es müssen mindestens {0} Objekt(e)  und höchstens {1} Objekt(e) selektiert werden.</message>
+  <message key="validation.array.min-valuecount">Es müssen mindestens {0} Objekt(e) selektiert sein.</message>
+  <message key="validation.array.max-valuecount">Es dürfen höchstens {0} Objekt(e) selektiert werden.</message>
+
+  <message key="multivaluefield.conversionfailed">Eines der selektierten Objekte ist vom falschen Typ.</message>
+
+  <message key="validation.numeric.range">Die Zahl sollte aus dem Bereich {0} und {1} sein.</message>
+  <message key="validation.numeric.min">Die Zahl sollte grösser oder gleich {0} sein.</message>
+  <message key="validation.numeric.max">Die Zahl sollte kleiner oder gleich {0} sein.</message>
+
+  <message key="validation.mod10">Modulo 10 Test gescheitert.</message>
+
+
+  <message key="aggregatedfield.split-failed">Der Inhalt des Feldes entspricht nicht dem regul. Ausdruck: {0}</message>
+  <message key="upload.invalid-type">Falscher Inhaltstyp.</message>
+</catalogue>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_de.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_de.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_en.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_en.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_en.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_en.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-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.
+-->
+<!-- This catalogue file contains translations for built-in CForms messages. -->
+<catalogue>
+  <message key="general.field-required">This field is required.</message>
+
+  <message key="datatype.conversion-failed">Not a valid {0}.</message>
+  <message key="datatype.long">integer number</message>
+  <message key="datatype.decimal">decimal number</message>
+  <message key="datatype.double">decimal number</message>
+  <message key="datatype.float">decimal number</message>
+  <message key="datatype.integer">integer number</message>
+  <message key="datatype.date">date</message>
+
+  <message key="validation.string.exact-length">Should be exactly {0} characters.</message>
+  <message key="validation.string.range-length">Should contain from {0} to {1} characters.</message>
+  <message key="validation.string.min-length">Should be at least {0} characters.</message>
+  <message key="validation.string.max-length">Should be at most {0} characters.</message>
+  <message key="validation.string.regexp">Does not match the following regular expression: {0}</message>
+
+  <message key="validation.string.invalidemail">This field does not contain a valid email address</message>
+
+  <message key="validation.array.exact-valuecount">Exactly {0} item(s) should be selected.</message>
+  <message key="validation.array.range-valuecount">At least {0} item(s) and at most {1} items should be selected.</message>
+  <message key="validation.array.min-valuecount">At least {0} item(s) should be selected.</message>
+  <message key="validation.array.max-valuecount">At most {0} items should be selected.</message>
+
+  <message key="multivaluefield.conversionfailed">One of the selected values is of an incorrect type.</message>
+
+  <message key="validation.numeric.range">Number should be in the range from {0} to {1}.</message>
+  <message key="validation.numeric.min">Number should be greater than or equal to {0}.</message>
+  <message key="validation.numeric.max">Number should be less than or equal to {0}.</message>
+
+  <message key="validation.mod10">Mod 10 check failed.</message>
+
+
+  <message key="aggregatedfield.split-failed">Content of this field does not match the following regular expression: {0}</message>
+  <message key="upload.invalid-type">Invalid content type.</message>
+</catalogue>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_en.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/FormsMessages_en.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+	<catalogue>
+		<message key="portalTools">Portal Tools</message>
+		<message key="portalTools.functions">Functions</message>
+		<message key="portalTools.tools">Tools</message>
+		<message key="portalTools.noToolsAvailable">No Tools availabel</message>
+	</catalogue>

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_de.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_de.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_de.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_de.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+	<catalogue>
+		<message key="portalTools">Portal Tools</message>
+		<message key="portalTools.functions">Funktionen</message>		
+		<message key="portalTools.tools">Tools</message>
+		<message key="portalTools.noToolsAvailable">Keine Tools verfügbar</message>		
+	</catalogue>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_de.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_de.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Added: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_en.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_en.xml?rev=265679&view=auto
==============================================================================
--- cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_en.xml (added)
+++ cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_en.xml Thu Sep  1 02:08:10 2005
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2005 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.
+-->
+	<catalogue>
+		<message key="portalTools">Portal Tools</message>
+		<message key="portalTools.functions">Functions</message>
+		<message key="portalTools.tools">Tools</message>		
+		<message key="portalTools.noToolsAvailable">No Tools availabel</message>
+	</catalogue>
\ No newline at end of file

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_en.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/blocks/portal-sample/trunk/samples/tools/plugins/default/i18n/default_en.xml
------------------------------------------------------------------------------
    svn:keywords = Id