You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ne...@apache.org on 2007/07/26 02:15:07 UTC

svn commit: r559656 - in /lenya/trunk/src/modules/editors/config/cocoon-xconf: usecase-insertAsset.xconf usecase-insertImage.xconf

Author: nettings
Date: Wed Jul 25 17:15:06 2007
New Revision: 559656

URL: http://svn.apache.org/viewvc?view=rev&rev=559656
Log:
forgot to svn add those...

Added:
    lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertAsset.xconf
    lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertImage.xconf

Added: lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertAsset.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertAsset.xconf?view=auto&rev=559656
==============================================================================
--- lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertAsset.xconf (added)
+++ lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertAsset.xconf Wed Jul 25 17:15:06 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<xconf xpath="/cocoon/usecases" unless="/cocoon/usecases/component-instance[@name = 'editors.insertAsset']">
+
+  <component-instance 
+      name="editors.insertAsset"
+      logger="lenya.publication"
+      class="org.apache.lenya.cms.editors.InsertAsset"
+  >
+    <view template="modules/editors/usecases/insertAsset.jx" menu="false"/>
+    <parameter name="mode" value="Asset"/>
+    <parameter name="asset-usecase" value="tab.asset"/>
+  </component-instance>
+
+</xconf>
+

Added: lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertImage.xconf
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertImage.xconf?view=auto&rev=559656
==============================================================================
--- lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertImage.xconf (added)
+++ lenya/trunk/src/modules/editors/config/cocoon-xconf/usecase-insertImage.xconf Wed Jul 25 17:15:06 2007
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You 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.
+-->
+
+<xconf xpath="/cocoon/usecases" unless="/cocoon/usecases/component-instance[@name = 'editors.insertImage']">
+
+  <component-instance 
+      name="editors.insertImage"
+      logger="lenya.publication"
+      class="org.apache.lenya.cms.editors.InsertAsset"
+  >
+    <view template="modules/editors/usecases/insertAsset.jx" menu="false"/>
+    <parameter name="mode" value="Image"/>
+    <parameter name="asset-usecase" value="tab.asset"/>
+  </component-instance>
+
+</xconf>
+



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org