[jboss-svn-commits] JBL Code SVN: r31513 - in labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main: resources and 1 other directory.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Feb 9 07:13:20 EST 2010
Author: lkrzyzanek
Date: 2010-02-09 07:13:20 -0500 (Tue, 09 Feb 2010)
New Revision: 31513
Modified:
labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main/plugin/plugin.xml
labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main/resources/plugin_i18n.properties
Log:
Added permanent link to the Actions bar.
Modified: labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main/plugin/plugin.xml
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main/plugin/plugin.xml 2010-02-09 11:35:11 UTC (rev 31512)
+++ labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main/plugin/plugin.xml 2010-02-09 12:13:20 UTC (rev 31513)
@@ -1,41 +1,50 @@
<plugin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="http://www.jivesoftware.com/schemas/clearspace/2_0/plugin.xsd">
- <name>human-friendly-urls</name>
- <description>Plugin offers human friendly URLs for documents based on their title</description>
- <author>JBoss.org</author>
- <version>2.0.0</version>
- <minServerVersion>4.0.0</minServerVersion>
+ xsi:noNamespaceSchemaLocation="http://www.jivesoftware.com/schemas/clearspace/2_0/plugin.xsd">
+ <name>human-friendly-urls</name>
+ <description>Plugin offers human friendly URLs for documents based on their title</description>
+ <author>JBoss.org</author>
+ <version>2.0.0</version>
+ <minServerVersion>4.0.0</minServerVersion>
- <!-- Plugin class -->
- <class>org.jboss.labs.clearspace.plugin.hfurl.HFURLPlugin</class>
+ <!-- Plugin class -->
+ <class>org.jboss.labs.clearspace.plugin.hfurl.HFURLPlugin</class>
- <!-- URL Mapping for human friendly URLs -->
- <!--
- Defined during initialization of plugin instead of this declaration:
- Prefix is defined in spring.xml in bean hfURLManager, property
- hfURLPrefix <urlmapping prefix="/wiki"
- class="org.jboss.labs.clearspace.plugin.hfurl.struts.mapping.HFURLMapping"/>
- -->
+ <!-- URL Mapping for human friendly URLs -->
+ <!--
+ Defined during initialization of plugin instead of this declaration:
+ Prefix is defined in spring.xml in bean hfURLManager, property
+ hfURLPrefix <urlmapping prefix="/wiki"
+ class="org.jboss.labs.clearspace.plugin.hfurl.struts.mapping.HFURLMapping"/>
+ -->
- <sitemesh>
- <decorator name="default" page="default/template.ftl">
- <pattern>/wiki*</pattern>
- </decorator>
- </sitemesh>
+ <sitemesh>
+ <decorator name="default" page="default/template.ftl">
+ <pattern>/wiki*</pattern>
+ </decorator>
+ </sitemesh>
- <databaseKey>humanFriendlyURL</databaseKey>
- <databaseVersion>1</databaseVersion>
+ <databaseKey>humanFriendlyURL</databaseKey>
+ <databaseVersion>1</databaseVersion>
- <components>
- <component id="admin-console">
- <tab id="system">
- <section id="section-system">
- <item id="system-hf-urls" name="plugin.hfurl.admin.hf-urls.name"
- url="human-friendly-urls-view.jspa" description="plugin.hfurl.admin.hf-urls.description" />
- </section>
- </tab>
- </component>
- </components>
+ <components>
+ <component id="admin-console">
+ <tab id="system">
+ <section id="section-system">
+ <item id="system-hf-urls" name="plugin.hfurl.admin.hf-urls.name"
+ url="human-friendly-urls-view.jspa" description="plugin.hfurl.admin.hf-urls.description" />
+ </section>
+ </tab>
+ </component>
+ <component id="document-actions">
+ <tab id="document-actions-tab">
+ <item id="jboss-link-document-permlink" name="plugin.hfurl.document-actions-tab.permlink"
+ cssClass="jive-icon-med link-permlink">
+ <url><![CDATA[<@s.url value='/' encode='false' />docs/${document.documentID}]]></url>
+ <when>document.textBody</when>
+ </item>
+ </tab>
+ </component>
+ </components>
</plugin>
Modified: labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main/resources/plugin_i18n.properties
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main/resources/plugin_i18n.properties 2010-02-09 11:35:11 UTC (rev 31512)
+++ labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/trunk/src/main/resources/plugin_i18n.properties 2010-02-09 12:13:20 UTC (rev 31513)
@@ -22,3 +22,6 @@
plugin.hfurl.notfound.description=An article with that name does not exist. It may have been renamed or deleted.
plugin.hfurl.notfound.link.back=Go back
plugin.hfurl.notfound.link.wiki=Go to JBoss Community Wiki
+
+# Document actions
+plugin.hfurl.document-actions-tab.permlink=Permanent link
\ No newline at end of file
More information about the jboss-svn-commits
mailing list