Added blog module into core - not complete! Also updated version.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Paul Holmes-Higgin
2007-12-08 00:52:17 +00:00
parent 7dae8bb7f4
commit fc2017d475
2 changed files with 76 additions and 2 deletions

View File

@@ -758,6 +758,49 @@
</params>
</action>
<action id="postBlog">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.module.blogIntegration.ui.PostBlogEvaluator</evaluator>
<label>Post To Blog</label>
<image>/images/icons/edit_icon.gif</image>
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
<param name="action">post</param>
</params>
</action>
<action id="updateBlog">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.module.blogIntegration.ui.UpdateBlogEvaluator</evaluator>
<label>Update Blog Post</label>
<image>/images/icons/edit_icon.gif</image>
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
<param name="action">update</param>
</params>
</action>
<action id="removeBlog">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.module.blogIntegration.ui.UpdateBlogEvaluator</evaluator>
<label>Remove Blog Post</label>
<image>/images/icons/edit_icon.gif</image>
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
<param name="action">remove</param>
</params>
</action>
<!-- the 'action-group' elements define unique blocks of actions that reference the actions
as defined above and can override or supply display elements for the group of actions -->
<!-- the component is responsible for making the context Node object available with name
@@ -877,6 +920,9 @@
<action idref="add_translation" />
<action idref="add_translation_wc" />
<action idref="ml_details" />
<action idref="postBlog" />
<action idref="updateBlog" />
<action idref="removeBlog" />
</action-group>
<action-group id="multilingual_details_actions">

View File

@@ -679,4 +679,32 @@
</property-sheet>
</config>
<!-- ********************************** -->
<!-- Configuration for Blog aspects -->
<!-- ********************************** -->
<config evaluator="aspect-name" condition="blg:blogDetails">
<property-sheet>
<separator name="sepBlogDetails" display-label="Blog Details" component-generator="HeaderSeparatorGenerator" />
<show-property name="blg:blogImplementation" component-generator="BlogSelectorGenerator"/>
<show-property name="blg:id" />
<show-property name="blg:name" />
<show-property name="blg:description" />
<show-property name="blg:url" component-generator="LinkGenerator"/>
<show-property name="blg:userName" />
<show-property name="blg:password" />
</property-sheet>
</config>
<config evaluator="aspect-name" condition="blg:blogPost">
<property-sheet>
<separator name="seprmTransferInstrustions" display-label="Blog Post Details" component-generator="HeaderSeparatorGenerator" show-in-edit-mode="false"/>
<show-property name="blg:postId" show-in-edit-mode="false"/>
<show-property name="blg:link" component-generator="LinkGenerator" show-in-edit-mode="false"/>
<show-property name="blg:posted" show-in-edit-mode="false"/>
<show-property name="blg:lastUpdate" show-in-edit-mode="false"/>
<show-property name="blg:published" show-in-edit-mode="false"/>
</property-sheet>
</config>
</alfresco-config>