Reverted Logneon Offline editing changes.

These will be transfered to a DEV branch.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8226 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2008-02-08 14:02:04 +00:00
parent 41872c82e4
commit 522af9f56e
22 changed files with 459 additions and 1594 deletions

View File

@@ -104,7 +104,6 @@ linkdetails_description=View the details about the link object.
previewdocument_description=Preview the content or space within a Template. previewdocument_description=Preview the content or space within a Template.
spacedetails_description=View the details about the space. spacedetails_description=View the details about the space.
undocheckoutfile_description=Cancel the check out of a document and discard any changes. undocheckoutfile_description=Cancel the check out of a document and discard any changes.
cancel_editing_file_description=Cancel editing of a document and discard any changes.
updatefile_description=Update a document on the repository with content from your computer. updatefile_description=Update a document on the repository with content from your computer.
editfile_description=Edit the content of the file. editfile_description=Edit the content of the file.
editfileinline_description=Edit the content of the document, then click Save. editfileinline_description=Edit the content of the document, then click Save.
@@ -131,16 +130,7 @@ status_message_default=No messages.
no_icons_found=No icons found no_icons_found=No icons found
required_field=Required Field required_field=Required Field
# Offline editing
click_here= click here
offline_help=For help on offline editing
offline_download_first=If your document does not start downloading in
offline_download_second=seconds then
offline_download_third=If you do not want files to start downloading automatically when you select offline editing then
# UI Component messages # UI Component messages
done=Done
yes=Yes yes=Yes
no=No no=No
no_not_now=No not now no_not_now=No not now
@@ -292,9 +282,6 @@ click_to_set_date=Click to set a date
today=Today today=Today
reset=Reset reset=Reset
label=Label label=Label
edit_doc_offline=Edit offline
upload_new_version=Upload new version
done_editing_file=I am done editing this file
# Properties # Properties
username=User Name username=User Name
@@ -343,7 +330,6 @@ checkin=Check In
checkout=Check Out checkout=Check Out
checkout_document=Check out this document checkout_document=Check out this document
undocheckout=Undo Check Out undocheckout=Undo Check Out
cancel_editing=Cancel File Editing
delete_space=Delete Space delete_space=Delete Space
delete_file=Delete File delete_file=Delete File
delete_rule=Delete Rule delete_rule=Delete Rule
@@ -622,13 +608,6 @@ file_location=Location
minor_change=Minor Change minor_change=Minor Change
major_change=Major Change major_change=Major Change
notes=Notes notes=Notes
new_version_has=This new version has
minor_changes=Minor Changes
major_changes=Major Changes
done_editing_title_versionable=New Version info for
done_editing_title_not_versionable=Done editing for
done_editing=Done Editing
version_info=Version Info
# Check-out messages # Check-out messages
check_out=Check Out check_out=Check Out
@@ -648,8 +627,6 @@ download_complete=When the download is complete, click OK.
undo_checkout_for=Undo Check Out for undo_checkout_for=Undo Check Out for
undo_checkout=Undo Check Out undo_checkout=Undo Check Out
undo_checkout_info=If you undo the check out of a document, the associated working copy will be deleted and all changes to it since the Check Out will be lost. undo_checkout_info=If you undo the check out of a document, the associated working copy will be deleted and all changes to it since the Check Out will be lost.
cancel_editing_for=Cancel Editing for
cancel_editing_info=If you cancel editing of a document, the associated working copy will be deleted and all changes to it since the Check Out will be lost.
complete=complete complete=complete
working_copy_for=Working copy for working_copy_for=Working copy for
working_copy_missing_info=The working copy is no longer available. This could be due to an active rule(s) applied to the space you checked-out to. working_copy_missing_info=The working copy is no longer available. This could be due to an active rule(s) applied to the space you checked-out to.
@@ -1864,4 +1841,4 @@ create_project_desc=This wizard helps you create a new space for Project Collabo
create_project=Create Project create_project=Create Project
title_calendar=Project Calendar title_calendar=Project Calendar
calendar_info=This view allows you to view and edit Calendar entries. calendar_info=This view allows you to view and edit Calendar entries.
select_project_template=Select Project Template select_project_template=Select Project Template

View File

@@ -42,18 +42,6 @@
</params> </params>
</action> </action>
<!-- Edit document offline action -->
<action id="edit_doc_offline">
<evaluator>org.alfresco.web.action.evaluator.CheckoutDocEvaluator</evaluator>
<label-id>edit_doc_offline</label-id>
<image>/images/icons/edit_offline.gif</image>
<action>dialog:editOfflineDialog</action>
<action-listener>#{EditOfflineDialog.setupContentAction}</action-listener>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Edit document action to open using normal HTTP access or inline Edit if set --> <!-- Edit document action to open using normal HTTP access or inline Edit if set -->
<action id="edit_doc_http"> <action id="edit_doc_http">
<permissions> <permissions>
@@ -129,30 +117,6 @@
<param name="id">#{actionContext.id}</param> <param name="id">#{actionContext.id}</param>
</params> </params>
</action> </action>
<!-- Cancel editing document -->
<action id="cancelediting_doc">
<evaluator>org.alfresco.web.action.evaluator.CancelCheckoutDocEvaluator</evaluator>
<label-id>cancel_editing</label-id>
<image>/images/icons/cancel_editing.gif</image>
<action-listener>#{CancelEditingDialog.setupContentAction}</action-listener>
<action>dialog:cancelEditing</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- Done-editing document -->
<action id="done_editing_doc">
<evaluator>org.alfresco.web.action.evaluator.CheckinDocEvaluator</evaluator>
<label-id>done_editing</label-id>
<image>/images/icons/done_editing.gif</image>
<action-listener>#{CCDoneEditingDialog.setupContentAction}</action-listener>
<action>dialog:doneEditingFile</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- View document details --> <!-- View document details -->
<action id="details_doc"> <action id="details_doc">
@@ -242,22 +206,6 @@
</params> </params>
</action> </action>
<!-- Upload new version of document-->
<action id="upload_new_version">
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>org.alfresco.web.action.evaluator.UploadNewVersionEvaluator</evaluator>
<label-id>upload_new_version</label-id>
<image>/images/icons/upload_new_version.gif</image>
<action-listener>#{CheckinCheckoutDialog.setupContentAction}</action-listener>
<action>dialog:uploadVersion</action>
<params>
<param name="id">#{actionContext.id}</param>
</params>
</action>
<!-- 'Approve' workflow step for document --> <!-- 'Approve' workflow step for document -->
<action id="approve_doc"> <action id="approve_doc">
<evaluator>org.alfresco.web.action.evaluator.ApproveDocEvaluator</evaluator> <evaluator>org.alfresco.web.action.evaluator.ApproveDocEvaluator</evaluator>
@@ -401,7 +349,7 @@
<action>dialog:addContent</action> <action>dialog:addContent</action>
<action-listener>#{AddContentDialog.start}</action-listener> <action-listener>#{AddContentDialog.start}</action-listener>
</action> </action>
<!-- Create content --> <!-- Create content -->
<action id="create_content"> <action id="create_content">
<permissions> <permissions>
@@ -434,7 +382,7 @@
<param name="id">#{actionContext.id}</param> <param name="id">#{actionContext.id}</param>
</params> </params>
</action> </action>
<!-- Create XML content type (WCM) --> <!-- Create XML content type (WCM) -->
<action id="create_web_form"> <action id="create_web_form">
<evaluator>org.alfresco.web.action.evaluator.CreateWebFormEvaluator</evaluator> <evaluator>org.alfresco.web.action.evaluator.CreateWebFormEvaluator</evaluator>
@@ -497,7 +445,7 @@
<image>/images/icons/create_website.gif</image> <image>/images/icons/create_website.gif</image>
<action>wizard:createWebsite</action> <action>wizard:createWebsite</action>
</action> </action>
<!-- Create Project --> <!-- Create Project -->
<action id="create_project"> <action id="create_project">
<evaluator>org.alfresco.web.action.evaluator.CreateProjectEvaluator</evaluator> <evaluator>org.alfresco.web.action.evaluator.CreateProjectEvaluator</evaluator>
@@ -563,7 +511,7 @@
<action>dialog:recoverAllItems</action> <action>dialog:recoverAllItems</action>
<action-listener>#{TrashcanRecoverAllItemsDialog.setupListAction}</action-listener> <action-listener>#{TrashcanRecoverAllItemsDialog.setupListAction}</action-listener>
</action> </action>
<!-- Delete All Items --> <!-- Delete All Items -->
<action id="delete_all_items"> <action id="delete_all_items">
<label-id>delete_all_items</label-id> <label-id>delete_all_items</label-id>
@@ -571,7 +519,7 @@
<action>dialog:deleteAllItems</action> <action>dialog:deleteAllItems</action>
<action-listener>#{TrashcanDeleteAllItemsDialog.setupListAction}</action-listener> <action-listener>#{TrashcanDeleteAllItemsDialog.setupListAction}</action-listener>
</action> </action>
<!-- Create user action--> <!-- Create user action-->
<action id="create_user"> <action id="create_user">
<label-id>create_user</label-id> <label-id>create_user</label-id>
@@ -646,21 +594,21 @@
<param name="id">#{actionContext.id}</param> <param name="id">#{actionContext.id}</param>
</params> </params>
</action> </action>
<!-- Invite Space user action--> <!-- Invite Space user action-->
<action id="ivite_user"> <action id="ivite_user">
<label-id>invite</label-id> <label-id>invite</label-id>
<image>/images/icons/invite.gif</image> <image>/images/icons/invite.gif</image>
<action>wizard:inviteSpaceUsers</action> <action>wizard:inviteSpaceUsers</action>
</action> </action>
<!-- Invite Content user action--> <!-- Invite Content user action-->
<action id="ivite_content_user"> <action id="ivite_content_user">
<label-id>invite</label-id> <label-id>invite</label-id>
<image>/images/icons/invite.gif</image> <image>/images/icons/invite.gif</image>
<action>wizard:inviteContentUsers</action> <action>wizard:inviteContentUsers</action>
</action> </action>
<!-- Import into Space --> <!-- Import into Space -->
<action id="import_space"> <action id="import_space">
<permissions> <permissions>
@@ -774,14 +722,14 @@
<image>/images/icons/new_edition_icon.gif</image> <image>/images/icons/new_edition_icon.gif</image>
<action>wizard:newEdition</action> <action>wizard:newEdition</action>
</action> </action>
<!-- Create rule action--> <!-- Create rule action-->
<action id="create_rule"> <action id="create_rule">
<label-id>create_rule</label-id> <label-id>create_rule</label-id>
<image>/images/icons/new_rule.gif</image> <image>/images/icons/new_rule.gif</image>
<action>wizard:createRule</action> <action>wizard:createRule</action>
</action> </action>
<!-- ReApply Rules --> <!-- ReApply Rules -->
<action id="reapply-rules"> <action id="reapply-rules">
<label-id>reapply_rules</label-id> <label-id>reapply_rules</label-id>
@@ -795,8 +743,8 @@
<image>/images/icons/reapply_rules.gif</image> <image>/images/icons/reapply_rules.gif</image>
<action-listener>#{RulesDialog.ignoreInheritedRules}</action-listener> <action-listener>#{RulesDialog.ignoreInheritedRules}</action-listener>
</action> </action>
<!-- Create a category --> <!-- Create a category -->
<action id="add_category"> <action id="add_category">
<label-id>add_category</label-id> <label-id>add_category</label-id>
@@ -807,7 +755,7 @@
<param name="categoryRef">#{actionContext.categoryRef}</param> <param name="categoryRef">#{actionContext.categoryRef}</param>
</params> </params>
</action> </action>
<!-- Delete category --> <!-- Delete category -->
<action id="delete_category"> <action id="delete_category">
<label-id>delete_category</label-id> <label-id>delete_category</label-id>
@@ -818,7 +766,7 @@
<param name="categoryRef">#{actionContext.nodeRef}</param> <param name="categoryRef">#{actionContext.nodeRef}</param>
</params> </params>
</action> </action>
<!-- Edit category --> <!-- Edit category -->
<action id="edit_category"> <action id="edit_category">
<label-id>edit_category</label-id> <label-id>edit_category</label-id>
@@ -829,7 +777,7 @@
<param name="categoryRef">#{actionContext.nodeRef}</param> <param name="categoryRef">#{actionContext.nodeRef}</param>
</params> </params>
</action> </action>
<!-- Create a group --> <!-- Create a group -->
<action id="create_group"> <action id="create_group">
<label-id>new_group</label-id> <label-id>new_group</label-id>
@@ -841,7 +789,7 @@
<param name="groupName">#{actionContext.groupName}</param> <param name="groupName">#{actionContext.groupName}</param>
</params> </params>
</action> </action>
<!-- Create a sub group --> <!-- Create a sub group -->
<action id="create_sub_group"> <action id="create_sub_group">
<label-id>new_sub_group</label-id> <label-id>new_sub_group</label-id>
@@ -853,7 +801,7 @@
<param name="groupName">#{actionContext.groupName}</param> <param name="groupName">#{actionContext.groupName}</param>
</params> </params>
</action> </action>
<!-- Delete group --> <!-- Delete group -->
<action id="delete_group"> <action id="delete_group">
<label-id>delete_group</label-id> <label-id>delete_group</label-id>
@@ -866,7 +814,7 @@
<param name="groupName">#{actionContext.groupName}</param> <param name="groupName">#{actionContext.groupName}</param>
</params> </params>
</action> </action>
<!-- Add a user to a group --> <!-- Add a user to a group -->
<action id="add_group_user"> <action id="add_group_user">
<label-id>add_user</label-id> <label-id>add_user</label-id>
@@ -879,7 +827,7 @@
<param name="groupName">#{actionContext.groupName}</param> <param name="groupName">#{actionContext.groupName}</param>
</params> </params>
</action> </action>
<!-- recover item action --> <!-- recover item action -->
<action id="recover_item"> <action id="recover_item">
<label-id>recover</label-id> <label-id>recover</label-id>
@@ -909,11 +857,11 @@
<evaluator>org.alfresco.module.blogIntegration.ui.PostBlogEvaluator</evaluator> <evaluator>org.alfresco.module.blogIntegration.ui.PostBlogEvaluator</evaluator>
<label>Post To Blog</label> <label>Post To Blog</label>
<image>/images/icons/edit_icon.gif</image> <image>/images/icons/edit_icon.gif</image>
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener> <action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
<params> <params>
<param name="id">#{actionContext.id}</param> <param name="id">#{actionContext.id}</param>
<param name="action">post</param> <param name="action">post</param>
</params> </params>
</action> </action>
<action id="updateBlog"> <action id="updateBlog">
@@ -923,11 +871,11 @@
<evaluator>org.alfresco.module.blogIntegration.ui.UpdateBlogEvaluator</evaluator> <evaluator>org.alfresco.module.blogIntegration.ui.UpdateBlogEvaluator</evaluator>
<label>Update Blog Post</label> <label>Update Blog Post</label>
<image>/images/icons/edit_icon.gif</image> <image>/images/icons/edit_icon.gif</image>
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener> <action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
<params> <params>
<param name="id">#{actionContext.id}</param> <param name="id">#{actionContext.id}</param>
<param name="action">update</param> <param name="action">update</param>
</params> </params>
</action> </action>
<action id="removeBlog"> <action id="removeBlog">
@@ -937,11 +885,11 @@
<evaluator>org.alfresco.module.blogIntegration.ui.UpdateBlogEvaluator</evaluator> <evaluator>org.alfresco.module.blogIntegration.ui.UpdateBlogEvaluator</evaluator>
<label>Remove Blog Post</label> <label>Remove Blog Post</label>
<image>/images/icons/edit_icon.gif</image> <image>/images/icons/edit_icon.gif</image>
<action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener> <action-listener>#{org_alfresco_module_blogIntegration_BlogActionListener.executeScript}</action-listener>
<params> <params>
<param name="id">#{actionContext.id}</param> <param name="id">#{actionContext.id}</param>
<param name="action">remove</param> <param name="action">remove</param>
</params> </params>
</action> </action>
<!-- the 'action-group' elements define unique blocks of actions that reference the actions <!-- the 'action-group' elements define unique blocks of actions that reference the actions
@@ -954,20 +902,17 @@
<style>white-space:nowrap</style> <style>white-space:nowrap</style>
<action idref="add_adm_content" /> <action idref="add_adm_content" />
</action-group> </action-group>
<!-- Actions for a document in the Browse screen --> <!-- Actions for a document in the Browse screen -->
<action-group id="document_browse"> <action-group id="document_browse">
<show-link>false</show-link> <show-link>false</show-link>
<style-class>inlineAction</style-class> <style-class>inlineAction</style-class>
<action idref="upload_new_version" />
<action idref="edit_doc_offline" />
<action idref="edit_doc_http" /> <action idref="edit_doc_http" />
<action idref="edit_doc_webdav" /> <action idref="edit_doc_webdav" />
<action idref="edit_doc_cifs" /> <action idref="edit_doc_cifs" />
<action idref="checkout_doc" /> <action idref="checkout_doc" />
<action idref="checkin_doc" /> <action idref="checkin_doc" />
<action idref="done_editing_doc" />
<action idref="details_doc" /> <action idref="details_doc" />
<action idref="delete_doc" /> <action idref="delete_doc" />
@@ -990,23 +935,22 @@
<action idref="preview_doc" /> <action idref="preview_doc" />
<action idref="update_doc" /> <action idref="update_doc" />
<action idref="cancelcheckout_doc" /> <action idref="cancelcheckout_doc" />
<action idref="cancelediting_doc" />
<action idref="approve_doc" /> <action idref="approve_doc" />
<action idref="reject_doc" /> <action idref="reject_doc" />
<action idref="cut_node" /> <action idref="cut_node" />
<action idref="copy_node" /> <action idref="copy_node" />
</action-group> </action-group>
<!-- Action menu for Invite Space user in Manage invite users screen--> <!-- Action menu for Invite Space user in Manage invite users screen-->
<action-group id="invite_user_menu"> <action-group id="invite_user_menu">
<action idref="ivite_user"/> <action idref="ivite_user"/>
</action-group> </action-group>
<!-- Action menu for Invite Content user in Manage invite users screen--> <!-- Action menu for Invite Content user in Manage invite users screen-->
<action-group id="invite_content_user_menu"> <action-group id="invite_content_user_menu">
<action idref="ivite_content_user"/> <action idref="ivite_content_user"/>
</action-group> </action-group>
<!-- Actions for a space in the Browse screen --> <!-- Actions for a space in the Browse screen -->
<action-group id="space_browse"> <action-group id="space_browse">
<show-link>false</show-link> <show-link>false</show-link>
@@ -1028,7 +972,7 @@
<action-group id="browse_create_menu"> <action-group id="browse_create_menu">
<action idref="create_content" /> <action idref="create_content" />
<action idref="create_form" /> <action idref="create_form" />
<action idref="create_web_form" /> <action idref="create_web_form" />
<action idref="create_website_wizard" /> <action idref="create_website_wizard" />
<action idref="create_project" /> <action idref="create_project" />
<action idref="create_space" /> <action idref="create_space" />
@@ -1052,13 +996,9 @@
<!-- Actions Menu for Document Details screen --> <!-- Actions Menu for Document Details screen -->
<action-group id="doc_details_actions"> <action-group id="doc_details_actions">
<action idref="upload_new_version" />
<action idref="edit_doc_offline" />
<action idref="checkout_doc" /> <action idref="checkout_doc" />
<action idref="checkin_doc" /> <action idref="checkin_doc" />
<action idref="done_editing_doc" />
<action idref="cancelcheckout_doc" /> <action idref="cancelcheckout_doc" />
<action idref="cancelediting_doc" />
<action idref="approve_doc_details" /> <action idref="approve_doc_details" />
<action idref="reject_doc_details" /> <action idref="reject_doc_details" />
<action idref="edit_doc_http" /> <action idref="edit_doc_http" />
@@ -1149,61 +1089,61 @@
<action-group id="group_actions"> <action-group id="group_actions">
<action idref="create_group" /> <action idref="create_group" />
</action-group> </action-group>
<action-group id="group_more_actions"> <action-group id="group_more_actions">
<action idref="delete_group" /> <action idref="delete_group" />
<action idref="add_group_user" /> <action idref="add_group_user" />
</action-group> </action-group>
<action-group id="group_inline_actions"> <action-group id="group_inline_actions">
<action idref="create_sub_group" /> <action idref="create_sub_group" />
<action idref="add_group_user" /> <action idref="add_group_user" />
<action idref="delete_group" /> <action idref="delete_group" />
</action-group> </action-group>
<action-group id="deleteditem_actions"> <action-group id="deleteditem_actions">
<style-class>inlineAction</style-class> <style-class>inlineAction</style-class>
<action idref="recover_item" /> <action idref="recover_item" />
<action idref="delete_item" /> <action idref="delete_item" />
</action-group> </action-group>
<!-- Actions for the manage categories dialog --> <!-- Actions for the manage categories dialog -->
<action-group id="category_actions"> <action-group id="category_actions">
<action idref="add_category" /> <action idref="add_category" />
</action-group> </action-group>
<action-group id="category_more_actions"> <action-group id="category_more_actions">
<action idref="edit_category" /> <action idref="edit_category" />
<action idref="delete_category" /> <action idref="delete_category" />
</action-group> </action-group>
<action-group id="category_inline_actions"> <action-group id="category_inline_actions">
<action idref="edit_category" /> <action idref="edit_category" />
<action idref="delete_category" /> <action idref="delete_category" />
</action-group> </action-group>
<!-- Action menu for Create rule in Space details screen--> <!-- Action menu for Create rule in Space details screen-->
<action-group id="create_rule_menu"> <action-group id="create_rule_menu">
<action idref="create_rule"/> <action idref="create_rule"/>
</action-group> </action-group>
<!-- Actions Menu for Manage Rules screen --> <!-- Actions Menu for Manage Rules screen -->
<action-group id="rules_actions_menu"> <action-group id="rules_actions_menu">
<action idref="reapply-rules" /> <action idref="reapply-rules" />
<action idref="ignore-inherited-rules" /> <action idref="ignore-inherited-rules" />
</action-group> </action-group>
<!-- Actions Menu for Manage Deleted Items screen --> <!-- Actions Menu for Manage Deleted Items screen -->
<action-group id="manage_deleted_items_menu"> <action-group id="manage_deleted_items_menu">
<action idref="recover_all_items" /> <action idref="recover_all_items" />
<action idref="delete_all_items" /> <action idref="delete_all_items" />
</action-group> </action-group>
<!-- Action menu for Create user--> <!-- Action menu for Create user-->
<action-group id="create_user_menu"> <action-group id="create_user_menu">
<action idref="create_user"/> <action idref="create_user"/>
</action-group> </action-group>
</actions> </actions>
</config> </config>

View File

@@ -5,690 +5,674 @@
<plain-dialog-container>/jsp/dialog/plain-container.jsp</plain-dialog-container> <plain-dialog-container>/jsp/dialog/plain-container.jsp</plain-dialog-container>
<dialogs> <dialogs>
<!-- --> <!-- -->
<!-- Project Space Dialogs --> <!-- Project Space Dialogs -->
<dialog name="editProject" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog" <dialog name="editProject" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog"
icon="/images/icons/details_large.gif" title-id="modify_project_properties" icon="/images/icons/details_large.gif" title-id="modify_project_properties"
description-id="edit_project_description" /> description-id="edit_project_description" />
<!-- --> <!-- -->
<!-- Multilingual Dialogs --> <!-- Multilingual Dialogs -->
<!-- Definition of the make multilingual dialog --> <!-- Definition of the make multilingual dialog -->
<dialog name="makeMultilingual" page="/jsp/ml/make-multilingual-dialog.jsp" managed-bean="MakeMultilingualDialog" <dialog name="makeMultilingual" page="/jsp/ml/make-multilingual-dialog.jsp" managed-bean="MakeMultilingualDialog"
icon="/images/icons/make_ml_large.gif" title-id="make_multilingual" icon="/images/icons/make_ml_large.gif" title-id="make_multilingual"
description-id="make_multilingual_description" error-message-id="error_make_multilingual_dialog" /> description-id="make_multilingual_description" error-message-id="error_make_multilingual_dialog" />
<!-- Definition of the add translation dialog dialog --> <!-- Definition of the add translation dialog dialog -->
<dialog name="addTranslationWithoutContent" page="/jsp/ml/add-translation-without-content.jsp" managed-bean="AddTranslationWithoutContentDialog" <dialog name="addTranslationWithoutContent" page="/jsp/ml/add-translation-without-content.jsp" managed-bean="AddTranslationWithoutContentDialog"
icon="/images/icons/add_tranlsation_wc_large.gif" title-id="add_translation_wc" icon="/images/icons/add_tranlsation_wc_large.gif" title-id="add_translation_wc"
description-id="add_translation_wc_description" error-message-id="error_add_translation_wc_dialog" /> description-id="add_translation_wc_description" error-message-id="error_add_translation_wc_dialog" />
<!-- Definition of the edit ml container dialog --> <!-- Definition of the edit ml container dialog -->
<dialog name="editMlContainer" page="/jsp/ml/edit-ml-container-dialog.jsp" managed-bean="EditMLContainerDialog" <dialog name="editMlContainer" page="/jsp/ml/edit-ml-container-dialog.jsp" managed-bean="EditMLContainerDialog"
icon="/images/icons/details_large.gif" title-id="edit_ml_container_properties" icon="/images/icons/details_large.gif" title-id="edit_ml_container_properties"
description-id="edit_ml_container_description" /> description-id="edit_ml_container_description" />
<!-- --> <!-- -->
<!-- Content and Space Dialogs --> <!-- Content and Space Dialogs -->
<!-- Definition of the create space dialog --> <!-- Definition of the create space dialog -->
<dialog name="createSpace" page="/jsp/spaces/create-space-dialog.jsp" managed-bean="CreateSpaceDialog" <dialog name="createSpace" page="/jsp/spaces/create-space-dialog.jsp" managed-bean="CreateSpaceDialog"
icon="/images/icons/create_space_large.gif" title-id="create_space" icon="/images/icons/create_space_large.gif" title-id="create_space"
description-id="create_space_description" error-message-id="error_create_space_dialog" /> description-id="create_space_description" error-message-id="error_create_space_dialog" />
<!-- Definition of the edit space dialog --> <!-- Definition of the edit space dialog -->
<dialog name="editSpace" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog" <dialog name="editSpace" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog"
icon="/images/icons/details_large.gif" title-id="modify_space_properties" icon="/images/icons/details_large.gif" title-id="modify_space_properties"
description-id="editspace_description" /> description-id="editspace_description" />
<!-- Definition of the delete space dialog --> <!-- Definition of the delete space dialog -->
<dialog name="deleteSpace" page="/jsp/spaces/delete-space.jsp" managed-bean="DeleteSpaceDialog" <dialog name="deleteSpace" page="/jsp/spaces/delete-space.jsp" managed-bean="DeleteSpaceDialog"
icon="/images/icons/delete_large.gif" title-id="delete_space" icon="/images/icons/delete_large.gif" title-id="delete_space"
description-id="delete_space_info" /> description-id="delete_space_info" />
<!-- Definition of the view content properties dialog --> <!-- Definition of the view content properties dialog -->
<dialog name="viewContentProperties" page="/jsp/content/view-content-properties.jsp" <dialog name="viewContentProperties" page="/jsp/content/view-content-properties.jsp"
managed-bean="ViewContentPropertiesDialog" icon="/images/icons/view_properties_large.gif" managed-bean="ViewContentPropertiesDialog" icon="/images/icons/view_properties_large.gif"
title-id="view_content_properties" description-id="view_content_description" title-id="view_content_properties" description-id="view_content_description"
show-ok-button="false" /> show-ok-button="false" />
<!-- Definition of the set content properties dialog --> <!-- Definition of the set content properties dialog -->
<dialog name="setContentProperties" page="/jsp/content/edit-content-properties.jsp" <dialog name="setContentProperties" page="/jsp/content/edit-content-properties.jsp"
managed-bean="SetContentPropertiesDialog" icon="/images/icons/edit_properties_large.gif" managed-bean="SetContentPropertiesDialog" icon="/images/icons/edit_properties_large.gif"
title-id="modify_content_properties" description-id="edit_content_description" /> title-id="modify_content_properties" description-id="edit_content_description" />
<!-- Definition of the edit content properties dialog --> <!-- Definition of the edit content properties dialog -->
<dialog name="editContentProperties" page="/jsp/content/edit-content-properties.jsp" <dialog name="editContentProperties" page="/jsp/content/edit-content-properties.jsp"
managed-bean="EditContentPropertiesDialog" icon="/images/icons/edit_properties_large.gif" managed-bean="EditContentPropertiesDialog" icon="/images/icons/edit_properties_large.gif"
title-id="modify_content_properties" description-id="edit_content_description" /> title-id="modify_content_properties" description-id="edit_content_description" />
<!-- Definition of the delete content dialog --> <!-- Definition of the delete content dialog -->
<dialog name="deleteFile" page="/jsp/dialog/delete.jsp" managed-bean="DeleteContentDialog" <dialog name="deleteFile" page="/jsp/dialog/delete.jsp" managed-bean="DeleteContentDialog"
icon="/images/icons/delete_large.gif" title-id="delete_file" icon="/images/icons/delete_large.gif" title-id="delete_file"
description-id="delete_file_info" /> description-id="delete_file_info" />
<!-- --> <!-- -->
<!-- Forums Dialogs --> <!-- Forums Dialogs -->
<!-- Definition of the create forums dialog --> <!-- Definition of the create forums dialog -->
<dialog name="createForums" page="/jsp/forums/create-dialog.jsp" managed-bean="CreateForumsDialog" <dialog name="createForums" page="/jsp/forums/create-dialog.jsp" managed-bean="CreateForumsDialog"
icon="/images/icons/create_forums_large.gif" title-id="create_forums" icon="/images/icons/create_forums_large.gif" title-id="create_forums"
description-id="create_forums_description" error-message-id="error_create_forums_dialog" /> description-id="create_forums_description" error-message-id="error_create_forums_dialog" />
<dialog name="editForums" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog" <dialog name="editForums" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog"
icon="/images/icons/details_large.gif" title-id="modify_forums_properties" icon="/images/icons/details_large.gif" title-id="modify_forums_properties"
description-id="edit_forums_description" /> description-id="edit_forums_description" />
<dialog name="createForum" page="/jsp/forums/create-dialog.jsp" managed-bean="CreateForumDialog" <dialog name="createForum" page="/jsp/forums/create-dialog.jsp" managed-bean="CreateForumDialog"
icon="/images/icons/create_forum_large.gif" title-id="create_forum" icon="/images/icons/create_forum_large.gif" title-id="create_forum"
description-id="create_forum_description" error-message-id="error_create_forum_dialog" /> description-id="create_forum_description" error-message-id="error_create_forum_dialog" />
<dialog name="editForum" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog" <dialog name="editForum" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog"
icon="/images/icons/details_large.gif" title-id="modify_forum_properties" icon="/images/icons/details_large.gif" title-id="modify_forum_properties"
description-id="edit_forum_description" /> description-id="edit_forum_description" />
<dialog name="createTopic" page="/jsp/forums/create-topic-dialog.jsp" managed-bean="CreateTopicDialog" <dialog name="createTopic" page="/jsp/forums/create-topic-dialog.jsp" managed-bean="CreateTopicDialog"
icon="/images/icons/create_topic_large.gif" title-id="create_topic" icon="/images/icons/create_topic_large.gif" title-id="create_topic"
description-id="create_topic_description" error-message-id="error_create_topic_dialog" /> description-id="create_topic_description" error-message-id="error_create_topic_dialog" />
<dialog name="editTopic" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog" <dialog name="editTopic" page="/jsp/spaces/edit-space-dialog.jsp" managed-bean="EditSpaceDialog"
icon="/images/icons/details_large.gif" title-id="modify_topic_properties" icon="/images/icons/details_large.gif" title-id="modify_topic_properties"
description-id="edit_topic_description" /> description-id="edit_topic_description" />
<dialog name="createPost" page="/jsp/forums/create-post-dialog.jsp" managed-bean="CreatePostDialog" <dialog name="createPost" page="/jsp/forums/create-post-dialog.jsp" managed-bean="CreatePostDialog"
icon="/images/icons/create_post_large.gif" title-id="create_post" icon="/images/icons/create_post_large.gif" title-id="create_post"
description-id="create_post_description" error-message-id="error_create_post_dialog" /> description-id="create_post_description" error-message-id="error_create_post_dialog" />
<dialog name="createReply" page="/jsp/forums/create-reply-dialog.jsp" managed-bean="CreateReplyDialog" <dialog name="createReply" page="/jsp/forums/create-reply-dialog.jsp" managed-bean="CreateReplyDialog"
icon="/images/icons/post_reply_large.gif" title-id="post_reply" icon="/images/icons/post_reply_large.gif" title-id="post_reply"
description-id="create_reply_description" error-message-id="error_create_reply_dialog" /> description-id="create_reply_description" error-message-id="error_create_reply_dialog" />
<dialog name="editPost" page="/jsp/forums/create-post-dialog.jsp" managed-bean="EditPostDialog" <dialog name="editPost" page="/jsp/forums/create-post-dialog.jsp" managed-bean="EditPostDialog"
icon="/images/icons/edit_post_large.gif" title-id="edit_post" icon="/images/icons/edit_post_large.gif" title-id="edit_post"
description-id="edit_post_description" error-message-id="error_create_post_dialog" /> description-id="edit_post_description" error-message-id="error_create_post_dialog" />
<dialog name="createDiscussion" page="/jsp/forums/create-topic-dialog.jsp" managed-bean="CreateDiscussionDialog" <dialog name="createDiscussion" page="/jsp/forums/create-topic-dialog.jsp" managed-bean="CreateDiscussionDialog"
icon="/images/icons/create_topic_large.gif" title-id="create_topic" icon="/images/icons/create_topic_large.gif" title-id="create_topic"
description-id="create_topic_description" error-message-id="error_create_topic_dialog" /> description-id="create_topic_description" error-message-id="error_create_topic_dialog" />
<!-- --> <!-- -->
<!-- Workflow Dialogs --> <!-- Workflow Dialogs -->
<dialog name="manageTask" page="/jsp/workflow/manage-task-dialog.jsp" <dialog name="manageTask" page="/jsp/workflow/manage-task-dialog.jsp"
managed-bean="ManageTaskDialog" icon="/images/icons/manage_workflow_task_large.gif" managed-bean="ManageTaskDialog" icon="/images/icons/manage_workflow_task_large.gif"
description-id="manage_task_desc" /> description-id="manage_task_desc" />
<dialog name="viewCompletedTask" page="/jsp/workflow/view-completed-task-dialog.jsp" <dialog name="viewCompletedTask" page="/jsp/workflow/view-completed-task-dialog.jsp"
managed-bean="ViewCompletedTaskDialog" icon="/images/icons/completed_workflow_task_large.gif" managed-bean="ViewCompletedTaskDialog" icon="/images/icons/completed_workflow_task_large.gif"
description-id="view_completed_task_desc" show-ok-button="false" /> description-id="view_completed_task_desc" show-ok-button="false" />
<dialog name="cancelWorkflow" page="/jsp/workflow/cancel-workflow-dialog.jsp" <dialog name="cancelWorkflow" page="/jsp/workflow/cancel-workflow-dialog.jsp"
managed-bean="CancelWorkflowDialog" icon="/images/icons/cancel_workflow_large.gif" managed-bean="CancelWorkflowDialog" icon="/images/icons/cancel_workflow_large.gif"
title-id="cancel_workflow" description-id="cancel_workflow_info" /> title-id="cancel_workflow" description-id="cancel_workflow_info" />
<dialog name="reassignTask" page="/jsp/workflow/reassign-task-dialog.jsp" <dialog name="reassignTask" page="/jsp/workflow/reassign-task-dialog.jsp"
managed-bean="ReassignTaskDialog" icon="/images/icons/reassign_workflow_task_large.gif" managed-bean="ReassignTaskDialog" icon="/images/icons/reassign_workflow_task_large.gif"
title-id="reassign_task_title" description-id="reassign_task_desc" /> title-id="reassign_task_title" description-id="reassign_task_desc" />
<!-- --> <!-- -->
<!-- Other Dialogs --> <!-- Other Dialogs -->
<!-- Definition of the create forums dialog --> <!-- Definition of the create forums dialog -->
<dialog name="emailSpaceUsers" page="/jsp/users/email-space-users.jsp" managed-bean="EmailSpaceUsersDialog" <dialog name="emailSpaceUsers" page="/jsp/users/email-space-users.jsp" managed-bean="EmailSpaceUsersDialog"
icon="/images/icons/email_users_large.gif" title-id="email_space_users" icon="/images/icons/email_users_large.gif" title-id="email_space_users"
description-id="email_space_users_desc" /> description-id="email_space_users_desc" />
<!-- --> <!-- -->
<!-- WCM Dialogs --> <!-- WCM Dialogs -->
<dialog name="snapshotSandbox" page="/jsp/wcm/snapshot-sandbox.jsp" managed-bean="SnapshotSandboxDialog" <dialog name="snapshotSandbox" page="/jsp/wcm/snapshot-sandbox.jsp" managed-bean="SnapshotSandboxDialog"
icon="/images/icons/create_snapshot_large.gif" title-id="sandbox_snapshot" icon="/images/icons/create_snapshot_large.gif" title-id="sandbox_snapshot"
description-id="sandbox_snapshot_info" /> description-id="sandbox_snapshot_info" />
<dialog name="deleteSandbox" page="/jsp/dialog/delete.jsp" managed-bean="DeleteSandboxDialog" <dialog name="deleteSandbox" page="/jsp/dialog/delete.jsp" managed-bean="DeleteSandboxDialog"
icon="/images/icons/delete_sandbox_large.gif" title-id="delete_sandbox" icon="/images/icons/delete_sandbox_large.gif" title-id="delete_sandbox"
description-id="delete_sandbox_info" /> description-id="delete_sandbox_info" />
<dialog name="deleteAvmFile" page="/jsp/dialog/delete.jsp" managed-bean="DeleteFileDialog" <dialog name="deleteAvmFile" page="/jsp/dialog/delete.jsp" managed-bean="DeleteFileDialog"
icon="/images/icons/delete_large.gif" title-id="delete_file" icon="/images/icons/delete_large.gif" title-id="delete_file"
description-id="delete_avm_file_info" /> description-id="delete_avm_file_info" />
<dialog name="deleteAvmFolder" page="/jsp/dialog/delete.jsp" managed-bean="DeleteFolderDialog" <dialog name="deleteAvmFolder" page="/jsp/dialog/delete.jsp" managed-bean="DeleteFolderDialog"
icon="/images/icons/delete_large.gif" title-id="delete_folder" icon="/images/icons/delete_large.gif" title-id="delete_folder"
description-id="delete_avm_folder_info" /> description-id="delete_avm_folder_info" />
<dialog name="deleteAvmFileBrowse" page="/jsp/dialog/delete.jsp" managed-bean="DeleteFileBrowseDialog" <dialog name="deleteAvmFileBrowse" page="/jsp/dialog/delete.jsp" managed-bean="DeleteFileBrowseDialog"
icon="/images/icons/delete_large.gif" title-id="delete_file" icon="/images/icons/delete_large.gif" title-id="delete_file"
description-id="delete_avm_file_info" /> description-id="delete_avm_file_info" />
<dialog name="deleteAvmFolderBrowse" page="/jsp/dialog/delete.jsp" managed-bean="DeleteFolderBrowseDialog" <dialog name="deleteAvmFolderBrowse" page="/jsp/dialog/delete.jsp" managed-bean="DeleteFolderBrowseDialog"
icon="/images/icons/delete_large.gif" title-id="delete_folder" icon="/images/icons/delete_large.gif" title-id="delete_folder"
description-id="delete_avm_folder_info" /> description-id="delete_avm_folder_info" />
<dialog name="promptForWebForm" page="/jsp/wcm/prompt-for-web-form.jsp" managed-bean="PromptForWebFormDialog" <dialog name="promptForWebForm" page="/jsp/wcm/prompt-for-web-form.jsp" managed-bean="PromptForWebFormDialog"
icon="/images/icons/details_large.gif" title-id="prompt_for_web_form" icon="/images/icons/details_large.gif" title-id="prompt_for_web_form"
description-id="prompt_for_web_form_info" /> description-id="prompt_for_web_form_info" />
<dialog name="createAvmFolder" page="/jsp/wcm/create-folder-dialog.jsp" managed-bean="CreateFolderDialog" <dialog name="createAvmFolder" page="/jsp/wcm/create-folder-dialog.jsp" managed-bean="CreateFolderDialog"
icon="/images/icons/create_space_large.gif" title-id="create_folder" icon="/images/icons/create_space_large.gif" title-id="create_folder"
description-id="create_avm_folder_info" /> description-id="create_avm_folder_info" />
<dialog name="editAvmFile" page="/jsp/wcm/edit-file.jsp" <dialog name="editAvmFile" page="/jsp/wcm/edit-file.jsp"
managed-bean="EditAvmFileDialog" icon="/images/icons/edit_large.gif" managed-bean="EditAvmFileDialog" icon="/images/icons/edit_large.gif"
title-id="title_edit_file" description-id="editfile_description" title-id="title_edit_file" description-id="editfile_description"
show-ok-button="false"/> show-ok-button="false"/>
<!-- <!--
<dialog name="updateAvmFile" page="/jsp/wcm/update-file.jsp" <dialog name="updateAvmFile" page="/jsp/wcm/update-file.jsp"
managed-bean="EditAvmFileDialog" icon="/images/icons/update_large.gif" managed-bean="EditAvmFileDialog" icon="/images/icons/update_large.gif"
title-id="title_update_file" description-id="update_avm-file_desc" /> title-id="title_update_file" description-id="update_avm-file_desc" />
--> -->
<dialog name="updateAvmFile" page="/jsp/wcm/update-file.jsp" <dialog name="updateAvmFile" page="/jsp/wcm/update-file.jsp"
managed-bean="AVMEditBean" icon="/images/icons/update_large.gif" managed-bean="AVMEditBean" icon="/images/icons/update_large.gif"
title-id="title_update_file" description-id="update_avm_file_desc" /> title-id="title_update_file" description-id="update_avm_file_desc" />
<dialog name="editAvmFileProperties" page="/jsp/content/edit-content-properties.jsp" <dialog name="editAvmFileProperties" page="/jsp/content/edit-content-properties.jsp"
managed-bean="EditFilePropertiesDialog" icon="/images/icons/details_large.gif" managed-bean="EditFilePropertiesDialog" icon="/images/icons/details_large.gif"
title-id="edit_file_properties" description-id="edit_file_description" /> title-id="edit_file_properties" description-id="edit_file_description" />
<dialog name="editAvmFolderProperties" page="/jsp/wcm/edit-folder-properties.jsp" <dialog name="editAvmFolderProperties" page="/jsp/wcm/edit-folder-properties.jsp"
managed-bean="EditFolderPropertiesDialog" icon="/images/icons/details_large.gif" managed-bean="EditFolderPropertiesDialog" icon="/images/icons/details_large.gif"
title-id="edit_folder_properties" description-id="edit_folder_description" /> title-id="edit_folder_properties" description-id="edit_folder_description" />
<dialog name="formTemplateDetails" page="/jsp/wcm/create-website-wizard/form-details.jsp" managed-bean="FormDetailsDialog" <dialog name="formTemplateDetails" page="/jsp/wcm/create-website-wizard/form-details.jsp" managed-bean="FormDetailsDialog"
icon="/images/icons/webform_large.gif" title-id="form_template_details" icon="/images/icons/webform_large.gif" title-id="form_template_details"
description-id="form_template_details_desc" /> description-id="form_template_details_desc" />
<dialog name="formTemplateTemplates" page="/jsp/wcm/create-website-wizard/form-templates.jsp" managed-bean="FormTemplatesDialog" <dialog name="formTemplateTemplates" page="/jsp/wcm/create-website-wizard/form-templates.jsp" managed-bean="FormTemplatesDialog"
icon="/images/icons/template_large.gif" title-id="form_template_templates" icon="/images/icons/template_large.gif" title-id="form_template_templates"
description-id="form_template_templates_desc" /> description-id="form_template_templates_desc" />
<dialog name="formTemplateWorkflow" page="/jsp/wcm/create-website-wizard/form-workflow.jsp" managed-bean="FormWorkflowDialog" <dialog name="formTemplateWorkflow" page="/jsp/wcm/create-website-wizard/form-workflow.jsp" managed-bean="FormWorkflowDialog"
icon="/images/icons/manage_workflow_task_large.gif" title-id="form_template_workflow" icon="/images/icons/manage_workflow_task_large.gif" title-id="form_template_workflow"
description-id="form_template_workflow_desc" /> description-id="form_template_workflow_desc" />
<dialog name="editFormTemplateDetails" page="/jsp/wcm/create-website-wizard/form-details.jsp" managed-bean="EditFormDetailsDialog" <dialog name="editFormTemplateDetails" page="/jsp/wcm/create-website-wizard/form-details.jsp" managed-bean="EditFormDetailsDialog"
icon="/images/icons/webform_large.gif" title-id="form_template_details" icon="/images/icons/webform_large.gif" title-id="form_template_details"
description-id="form_template_details_desc" /> description-id="form_template_details_desc" />
<dialog name="importContent" page="/jsp/wcm/import-content-dialog.jsp" managed-bean="ImportWebsiteDialog" <dialog name="importContent" page="/jsp/wcm/import-content-dialog.jsp" managed-bean="ImportWebsiteDialog"
icon="/images/icons/import_website_large.gif" title-id="import_website_content_title" icon="/images/icons/import_website_large.gif" title-id="import_website_content_title"
description-id="import_website_content_desc" show-ok-button="false"> description-id="import_website_content_desc" show-ok-button="false">
<buttons> <buttons>
<button id="ok-button" <button id="ok-button"
label-id="ok" label-id="ok"
action="#{DialogManager.finish}" action="#{DialogManager.finish}"
disabled="#{DialogManager.finishButtonDisabled}" disabled="#{DialogManager.finishButtonDisabled}"
onclick="javascript:document.getElementById('progress').style.display='inline';" /> onclick="javascript:document.getElementById('progress').style.display='inline';" />
</buttons> </buttons>
</dialog> </dialog>
<dialog name="addAvmContent" page="/jsp/wcm/add-content-dialog.jsp" managed-bean="AddAvmContentDialog" <dialog name="addAvmContent" page="/jsp/wcm/add-content-dialog.jsp" managed-bean="AddAvmContentDialog"
icon="/images/icons/add_content_large.gif" title-id="add_content_dialog_title" icon="/images/icons/add_content_large.gif" title-id="add_content_dialog_title"
description-id="add_avm_content_dialog_desc"/> description-id="add_avm_content_dialog_desc"/>
<dialog name="addContent" page="/jsp/content/add-content-dialog.jsp" managed-bean="AddContentDialog" <dialog name="addContent" page="/jsp/content/add-content-dialog.jsp" managed-bean="AddContentDialog"
icon="/images/icons/add_content_large.gif" title-id="add_content_dialog_title" icon="/images/icons/add_content_large.gif" title-id="add_content_dialog_title"
description-id="add_content_dialog_desc"/> description-id="add_content_dialog_desc"/>
<dialog name="import" page="/jsp/admin/import.jsp" managed-bean="ImportDialog" <dialog name="import" page="/jsp/admin/import.jsp" managed-bean="ImportDialog"
icon="/images/icons/import_large.gif" title-id="import" icon="/images/icons/import_large.gif" title-id="import"
description-id="import_info" /> description-id="import_info" />
<dialog name="editFormTemplateTemplates" page="/jsp/wcm/create-website-wizard/form-templates.jsp" managed-bean="EditFormTemplatesDialog" <dialog name="editFormTemplateTemplates" page="/jsp/wcm/create-website-wizard/form-templates.jsp" managed-bean="EditFormTemplatesDialog"
icon="/images/icons/template_large.gif" title-id="form_template_templates" icon="/images/icons/template_large.gif" title-id="form_template_templates"
description-id="form_template_templates_desc" /> description-id="form_template_templates_desc" />
<dialog name="editFormTemplateWorkflow" page="/jsp/wcm/create-website-wizard/form-workflow.jsp" managed-bean="EditFormWorkflowDialog" <dialog name="editFormTemplateWorkflow" page="/jsp/wcm/create-website-wizard/form-workflow.jsp" managed-bean="EditFormWorkflowDialog"
icon="/images/icons/manage_workflow_task_large.gif" title-id="form_template_workflow" icon="/images/icons/manage_workflow_task_large.gif" title-id="form_template_workflow"
description-id="form_template_workflow_desc" /> description-id="form_template_workflow_desc" />
<dialog name="submitSandboxItems" page="/jsp/wcm/submit-dialog.jsp" managed-bean="SubmitDialog" <dialog name="submitSandboxItems" page="/jsp/wcm/submit-dialog.jsp" managed-bean="SubmitDialog"
icon="/images/icons/submit_large.gif" title-id="submit_items_title" icon="/images/icons/submit_large.gif" title-id="submit_items_title"
description-id="submit_items_desc" /> description-id="submit_items_desc" />
<dialog name="submitConfigureWorkflow" page="/jsp/wcm/submit-config-workflow.jsp" managed-bean="SubmitConfigureWorkflowDialog" <dialog name="submitConfigureWorkflow" page="/jsp/wcm/submit-config-workflow.jsp" managed-bean="SubmitConfigureWorkflowDialog"
icon="/images/icons/manage_workflow_task_large.gif" title-id="submit_configure_workflow" icon="/images/icons/manage_workflow_task_large.gif" title-id="submit_configure_workflow"
description-id="submit_configure_workflow_desc" /> description-id="submit_configure_workflow_desc" />
<dialog name="changeExpirationDate" page="/jsp/wcm/change-expiration-date.jsp" managed-bean="ChangeExpirationDateDialog" <dialog name="changeExpirationDate" page="/jsp/wcm/change-expiration-date.jsp" managed-bean="ChangeExpirationDateDialog"
icon="/images/icons/change_expire_date_large.gif" title-id="change_expiration_date_title" icon="/images/icons/change_expire_date_large.gif" title-id="change_expiration_date_title"
description-id="change_expiration_date_desc" /> description-id="change_expiration_date_desc" />
<dialog name="createWebappFolder" page="/jsp/wcm/create-webapp.jsp" managed-bean="CreateWebappDialog" <dialog name="createWebappFolder" page="/jsp/wcm/create-webapp.jsp" managed-bean="CreateWebappDialog"
icon="/images/icons/create_webapp_large.gif" title-id="create_webapp_title" icon="/images/icons/create_webapp_large.gif" title-id="create_webapp_title"
description-id="create_webapp_desc" /> description-id="create_webapp_desc" />
<dialog name="revertSelectedItems" page="/jsp/wcm/revert.jsp" managed-bean="RevertSelectedDialog" <dialog name="revertSelectedItems" page="/jsp/wcm/revert.jsp" managed-bean="RevertSelectedDialog"
icon="/images/icons/revert_all_large.gif" title-id="revert_selected_title" icon="/images/icons/revert_all_large.gif" title-id="revert_selected_title"
description-id="revert_selected_desc" /> description-id="revert_selected_desc" />
<dialog name="revertAllItems" page="/jsp/wcm/revert.jsp" managed-bean="RevertAllDialog" <dialog name="revertAllItems" page="/jsp/wcm/revert.jsp" managed-bean="RevertAllDialog"
icon="/images/icons/revert_all_large.gif" title-id="revert_all_title" icon="/images/icons/revert_all_large.gif" title-id="revert_all_title"
description-id="revert_all_desc" /> description-id="revert_all_desc" />
<dialog name="deploySnapshot" page="/jsp/wcm/deploy.jsp" managed-bean="DeploySnapshotDialog" <dialog name="deploySnapshot" page="/jsp/wcm/deploy.jsp" managed-bean="DeploySnapshotDialog"
icon="/images/icons/deploy_large.gif" title-id="deploy_title" icon="/images/icons/deploy_large.gif" title-id="deploy_title"
description-id="deploy_desc" /> description-id="deploy_desc" />
<dialog name="viewDeploymentReport" page="/jsp/wcm/deployment-report.jsp" <dialog name="viewDeploymentReport" page="/jsp/wcm/deployment-report.jsp"
managed-bean="ViewDeploymentReportDialog" managed-bean="ViewDeploymentReportDialog"
icon="/images/icons/deployment_report_large.gif" icon="/images/icons/deployment_report_large.gif"
description-id="deployment_report_desc" show-ok-button="false" /> description-id="deployment_report_desc" show-ok-button="false" />
<dialog name="monitorDeployment" page="/jsp/wcm/monitor-deployment.jsp" <dialog name="monitorDeployment" page="/jsp/wcm/monitor-deployment.jsp"
managed-bean="MonitorDeploymentDialog" managed-bean="MonitorDeploymentDialog"
icon="/images/icons/deploy_large.gif" title-id="monitor_deployment_title" icon="/images/icons/deploy_large.gif" title-id="monitor_deployment_title"
description-id="monitor_deployment_desc" show-ok-button="false" /> description-id="monitor_deployment_desc" show-ok-button="false" />
<dialog name="linkValidation" page="/jsp/wcm/link-validation.jsp" <dialog name="linkValidation" page="/jsp/wcm/link-validation.jsp"
managed-bean="LinkValidationDialog" managed-bean="LinkValidationDialog"
icon="/images/icons/link_validation_report_large.gif" icon="/images/icons/link_validation_report_large.gif"
title-id="link_validaton_dialog_title" title-id="link_validaton_dialog_title"
description-id="link_validaton_dialog_desc" /> description-id="link_validaton_dialog_desc" />
<dialog name="editUserDetails" page="/jsp/users/edit-user-details.jsp" managed-bean="EditUserDetailsDialog" <dialog name="editUserDetails" page="/jsp/users/edit-user-details.jsp" managed-bean="EditUserDetailsDialog"
icon="/images/icons/edituser_large.gif" title-id="edit_user_details" icon="/images/icons/edituser_large.gif" title-id="edit_user_details"
description-id="edit_user_details_description" /> description-id="edit_user_details_description" />
<dialog name="removeInvitedUser" page="/jsp/roles/remove-invited-user.jsp" managed-bean="RemoveInvitedUserDialog" <dialog name="removeInvitedUser" page="/jsp/roles/remove-invited-user.jsp" managed-bean="RemoveInvitedUserDialog"
icon="/images/icons/delete_large.gif" title-id="remove_user" icon="/images/icons/delete_large.gif" title-id="remove_user"
description-id="remove_invited_user_info" /> description-id="remove_invited_user_info" />
<dialog name="editLinkProperties" page="/jsp/content/edit-link-properties.jsp" managed-bean="LinkPropertiesDialog" <dialog name="editLinkProperties" page="/jsp/content/edit-link-properties.jsp" managed-bean="LinkPropertiesDialog"
icon="/images/icons/details_large.gif" title-id="modify_props_of" icon="/images/icons/details_large.gif" title-id="modify_props_of"
description-id="editlink_description" /> description-id="editlink_description" />
<dialog name="editUserRoles" page="/jsp/roles/edit-user-roles.jsp" managed-bean="EditUserRolesDialog" <dialog name="editUserRoles" page="/jsp/roles/edit-user-roles.jsp" managed-bean="EditUserRolesDialog"
icon="/images/icons/edituser_large.gif" title-id="modify_user_roles" icon="/images/icons/edituser_large.gif" title-id="modify_user_roles"
description-id="modify_user_roles_description" /> description-id="modify_user_roles_description" />
<dialog name="deleteUser" page="/jsp/users/delete-user.jsp" managed-bean="DeleteUserDialog" <dialog name="deleteUser" page="/jsp/users/delete-user.jsp" managed-bean="DeleteUserDialog"
icon="/images/icons/delete_large.gif" title-id="title_delete_user" icon="/images/icons/delete_large.gif" title-id="title_delete_user"
description-id="delete_user_info"/> description-id="delete_user_info"/>
<dialog name="addUsers" page="/jsp/groups/add-user.jsp" managed-bean="AddUsersDialog" <dialog name="addUsers" page="/jsp/groups/add-user.jsp" managed-bean="AddUsersDialog"
icon="/images/icons/add_user_large.gif" title-id="add_user" icon="/images/icons/add_user_large.gif" title-id="add_user"
description-id="add_user_group_description"/> description-id="add_user_group_description"/>
<dialog name="removeContentUser" page="/jsp/roles/remove-content-user.jsp" managed-bean="RemoveContentUserDialog" <dialog name="removeContentUser" page="/jsp/roles/remove-content-user.jsp" managed-bean="RemoveContentUserDialog"
icon="/images/icons/delete_large.gif" description-id="remove_content_user_info" /> icon="/images/icons/delete_large.gif" description-id="remove_content_user_info" />
<dialog name="editFileDialog" page="/jsp/content/edit-file.jsp" managed-bean="EditFileDialog" <dialog name="editFileDialog" page="/jsp/content/edit-file.jsp" managed-bean="EditFileDialog"
icon="/images/icons/edit_large.gif" title-id="title_edit_file" icon="/images/icons/edit_large.gif" title-id="title_edit_file"
description-id="editfile_description"/> description-id="editfile_description"/>
<dialog name="manageGroups" page="/jsp/groups/groups.jsp" managed-bean="GroupsDialog" <dialog name="manageGroups" page="/jsp/groups/groups.jsp" managed-bean="GroupsDialog"
icon="/images/icons/group_large.gif" title-id="groups_management" icon="/images/icons/group_large.gif" title-id="groups_management"
description-id="groups_description" show-ok-button="false" description-id="groups_description" show-ok-button="false"
actions-config-id="group_actions" more-actions-config-id="group_more_actions" /> actions-config-id="group_actions" more-actions-config-id="group_more_actions" />
<dialog name="deleteGroup" page="/jsp/groups/delete-group.jsp" managed-bean="DeleteGroupDialog" <dialog name="deleteGroup" page="/jsp/groups/delete-group.jsp" managed-bean="DeleteGroupDialog"
icon="/images/icons/delete_group_large.gif" title-id="delete_group" icon="/images/icons/delete_group_large.gif" title-id="delete_group"
description-id="delete_group_info"/> description-id="delete_group_info"/>
<dialog name="createGroup" page="/jsp/groups/new-group.jsp" managed-bean="CreateGroupDialog" <dialog name="createGroup" page="/jsp/groups/new-group.jsp" managed-bean="CreateGroupDialog"
icon="/images/icons/create_group_large.gif" title-id="new_group" icon="/images/icons/create_group_large.gif" title-id="new_group"
description-id="new_group_description"/> description-id="new_group_description"/>
<dialog name="editContentUserRoles" page="/jsp/roles/edit-content-user-roles.jsp" managed-bean="EditContentUserRolesDialog" <dialog name="editContentUserRoles" page="/jsp/roles/edit-content-user-roles.jsp" managed-bean="EditContentUserRolesDialog"
icon="/images/icons/edituser_large.gif" title-id="title_change_user_roles" icon="/images/icons/edituser_large.gif" title-id="title_change_user_roles"
description-id="modify_user_roles_description" /> description-id="modify_user_roles_description" />
<dialog name="editHtmlInline" page="/jsp/content/edit-html-inline.jsp" managed-bean="CCEditHtmlInlineDialog" <dialog name="editHtmlInline" page="/jsp/content/edit-html-inline.jsp" managed-bean="CCEditHtmlInlineDialog"
icon="/images/icons/edit_large.gif" title-id="editfile_description" icon="/images/icons/edit_large.gif" title-id="editfile_description"
description-id="editfileinline_description" /> description-id="editfileinline_description" />
<dialog name="editTextInline" page="/jsp/content/edit-text-inline.jsp" managed-bean="CCEditTextInlineDialog" <dialog name="editTextInline" page="/jsp/content/edit-text-inline.jsp" managed-bean="CCEditTextInlineDialog"
icon="/images/icons/edit_large.gif" title-id="editfile_description" icon="/images/icons/edit_large.gif" title-id="editfile_description"
description-id="editfileinline_description" /> description-id="editfileinline_description" />
<dialog name="undoCheckoutFile" page="/jsp/coci/undocheckout-file.jsp" managed-bean="CCUndoCheckoutFileDialog" <dialog name="undoCheckoutFile" page="/jsp/coci/undocheckout-file.jsp" managed-bean="CCUndoCheckoutFileDialog"
icon="/images/icons/cancel_checkout_large.gif" title-id="undo_checkout_for" icon="/images/icons/cancel_checkout_large.gif" title-id="undo_checkout_for"
description-id="undocheckoutfile_description" /> description-id="undocheckoutfile_description" />
<dialog name="cancelEditing" page="/jsp/coci/cancel-editing-file.jsp" managed-bean="CancelEditingDialog"
icon="/images/icons/cancel_editing_large.gif" title-id="cancel_editing_for"
description-id="cancel_editing_file_description" />
<dialog name="checkoutFile" page="/jsp/coci/checkout-file.jsp" managed-bean="CCCheckoutFileDialog" <dialog name="checkoutFile" page="/jsp/coci/checkout-file.jsp" managed-bean="CCCheckoutFileDialog"
icon="/images/icons/check_out_large.gif" title-id="check_out" icon="/images/icons/check_out_large.gif" title-id="check_out"
description-id="checkoutfile_description" /> description-id="checkoutfile_description" />
<dialog name="editOfflineDialog" page="/jsp/coci/edit-offline-file.jsp" managed-bean="EditOfflineDialog"
icon="/images/icons/edit_offline_large.GIF" title-id="edit_doc_offline"
show-ok-button="false"/>
<dialog name="editFile" page="/jsp/content/edit-file.jsp" managed-bean="CCEditFileDialog" <dialog name="editFile" page="/jsp/content/edit-file.jsp" managed-bean="CCEditFileDialog"
icon="/images/icons/edit_large.gif" title-id="edit" icon="/images/icons/edit_large.gif" title-id="edit"
description-id="editfile_description" show-ok-button="false" /> description-id="editfile_description" show-ok-button="false" />
<dialog name="checkoutFileLink" page="/jsp/coci/checkout-file-link.jsp" managed-bean="CCCheckoutFileLinkDialog" <dialog name="checkoutFileLink" page="/jsp/coci/checkout-file-link.jsp" managed-bean="CCCheckoutFileLinkDialog"
icon="/images/icons/check_out_large.gif" title-id="check_out_of" icon="/images/icons/check_out_large.gif" title-id="check_out_of"
description-id="checkoutfilelink_description" /> description-id="checkoutfilelink_description" />
<dialog name="workingCopyMissing" page="/jsp/coci/working-copy-missing.jsp" managed-bean="CCWorkingCopyMissingDialog" <dialog name="workingCopyMissing" page="/jsp/coci/working-copy-missing.jsp" managed-bean="CCWorkingCopyMissingDialog"
icon="/images/icons/check_out_large.gif" title-id="working_copy_for" icon="/images/icons/check_out_large.gif" title-id="working_copy_for"
show-ok-button="false" /> show-ok-button="false" />
<dialog name="adminConsole" page="/jsp/admin/admin-console.jsp" managed-bean="AdminConsoleDialog" <dialog name="adminConsole" page="/jsp/admin/admin-console.jsp" managed-bean="AdminConsoleDialog"
icon="/images/icons/admin_console_large.gif" title-id="title_admin_console" icon="/images/icons/admin_console_large.gif" title-id="title_admin_console"
description-id="admin_description" show-ok-button="false"/> description-id="admin_description" show-ok-button="false"/>
<dialog name="deleteRule" page="/jsp/rules/delete-rule.jsp" managed-bean="DeleteRuleDialog" <dialog name="deleteRule" page="/jsp/rules/delete-rule.jsp" managed-bean="DeleteRuleDialog"
icon="/images/icons/delete_large.gif" title-id="delete_rule" icon="/images/icons/delete_large.gif" title-id="delete_rule"
description-id="delete_rule_info" /> description-id="delete_rule_info" />
<dialog name="deleteCategory" page="/jsp/categories/delete-category.jsp" managed-bean="DeleteCategoryDialog" <dialog name="deleteCategory" page="/jsp/categories/delete-category.jsp" managed-bean="DeleteCategoryDialog"
icon="/images/icons/delete_category_large.gif" title-id="title_delete_category" icon="/images/icons/delete_category_large.gif" title-id="title_delete_category"
description-id="delete_category_info" /> description-id="delete_category_info" />
<dialog name="editCategory" page="/jsp/categories/edit-category.jsp" managed-bean="EditCategoryDialog" <dialog name="editCategory" page="/jsp/categories/edit-category.jsp" managed-bean="EditCategoryDialog"
icon="/images/icons/edit_category_large.gif" title-id="title_edit_category" icon="/images/icons/edit_category_large.gif" title-id="title_edit_category"
description-id="edit_category_description" /> description-id="edit_category_description" />
<dialog name="export" page="/jsp/admin/export.jsp" managed-bean="ExportDialog" <dialog name="export" page="/jsp/admin/export.jsp" managed-bean="ExportDialog"
icon="/images/icons/export_large.gif" title-id="export" icon="/images/icons/export_large.gif" title-id="export"
description-id="export_info" /> description-id="export_info" />
<dialog name="showMLContainerDetails_" page="/jsp/ml/ml-container-details.jsp" managed-bean="MultilingualManageDialog" <dialog name="showMLContainerDetails_" page="/jsp/ml/ml-container-details.jsp" managed-bean="MultilingualManageDialog"
icon="/images/ml/details_large.gif" title-id="manage_multilingual_details_for" icon="/images/ml/details_large.gif" title-id="manage_multilingual_details_for"
description-id="manage_multilingual_details_description" /> description-id="manage_multilingual_details_description" />
<dialog name="saveSearch" page="/jsp/search/save-search.jsp" managed-bean="SaveSearchDialog" <dialog name="saveSearch" page="/jsp/search/save-search.jsp" managed-bean="SaveSearchDialog"
icon="/images/icons/edit_search_large.gif" title-id="save_new_search" icon="/images/icons/edit_search_large.gif" title-id="save_new_search"
description-id="save_search_description" /> description-id="save_search_description" />
<dialog name="editSearch" page="/jsp/search/edit-search.jsp" managed-bean="EditSearchDialog" <dialog name="editSearch" page="/jsp/search/edit-search.jsp" managed-bean="EditSearchDialog"
icon="/images/icons/save_search_large.gif" title-id="save_edit_search" icon="/images/icons/save_search_large.gif" title-id="save_edit_search"
description-id="save_search_description" /> description-id="save_search_description" />
<dialog name="editNodeCategories" page="/jsp/categories/edit-node-categories.jsp" <dialog name="editNodeCategories" page="/jsp/categories/edit-node-categories.jsp"
managed-bean="EditNodeCategoriesDialog" icon="/images/icons/edit_large.gif" /> managed-bean="EditNodeCategoriesDialog" icon="/images/icons/edit_large.gif" />
<dialog name="createCategory" page="/jsp/categories/new-category.jsp" managed-bean="CreateCategoryDialog" <dialog name="createCategory" page="/jsp/categories/new-category.jsp" managed-bean="CreateCategoryDialog"
icon="/images/icons/create_category_large.gif" title-id="new_category" icon="/images/icons/create_category_large.gif" title-id="new_category"
description-id="new_category_description" /> description-id="new_category_description" />
<dialog name="deleteItem" page="/jsp/trashcan/delete-item.jsp" managed-bean="TrashcanDeleteItemDialog" <dialog name="deleteItem" page="/jsp/trashcan/delete-item.jsp" managed-bean="TrashcanDeleteItemDialog"
icon="/images/icons/delete_large.gif" title-id="delete_item" icon="/images/icons/delete_large.gif" title-id="delete_item"
description-id="delete_item_info" /> description-id="delete_item_info" />
<dialog name="deleteAllItems" page="/jsp/trashcan/delete-all.jsp" managed-bean="TrashcanDeleteAllItemsDialog" <dialog name="deleteAllItems" page="/jsp/trashcan/delete-all.jsp" managed-bean="TrashcanDeleteAllItemsDialog"
icon="/images/icons/delete_all_large.gif" title-id="delete_all_items" icon="/images/icons/delete_all_large.gif" title-id="delete_all_items"
description-id="delete_all_items_info" /> description-id="delete_all_items_info" />
<dialog name="deleteListedItems" page="/jsp/trashcan/delete-listed.jsp" managed-bean="TrashcanDeleteListedItemsDialog" <dialog name="deleteListedItems" page="/jsp/trashcan/delete-listed.jsp" managed-bean="TrashcanDeleteListedItemsDialog"
icon="/images/icons/delete_all_large.gif" title-id="delete_listed_items" icon="/images/icons/delete_all_large.gif" title-id="delete_listed_items"
description-id="delete_listed_items_info" /> description-id="delete_listed_items_info" />
<dialog name="applyDocTemplate" page="/jsp/content/apply-doc-template.jsp" managed-bean="ApplyDocTemplateDialog" <dialog name="applyDocTemplate" page="/jsp/content/apply-doc-template.jsp" managed-bean="ApplyDocTemplateDialog"
icon="/images/icons/preview_large.gif" title-id="apply_template" icon="/images/icons/preview_large.gif" title-id="apply_template"
description-id="apply_dashboard_doc_info" /> description-id="apply_dashboard_doc_info" />
<dialog name="applyRSSTemplate" page="/jsp/spaces/apply-rss-template.jsp" managed-bean="ApplyRssTemplateDialog" <dialog name="applyRSSTemplate" page="/jsp/spaces/apply-rss-template.jsp" managed-bean="ApplyRssTemplateDialog"
icon="/images/icons/rss_large.gif" title-id="apply_rss_feed" icon="/images/icons/rss_large.gif" title-id="apply_rss_feed"
description-id="apply_rss_feed_info" /> description-id="apply_rss_feed_info" />
<dialog name="applySpaceTemplate" page="/jsp/spaces/apply-space-template.jsp" managed-bean="ApplySpaceTemplateDialog" <dialog name="applySpaceTemplate" page="/jsp/spaces/apply-space-template.jsp" managed-bean="ApplySpaceTemplateDialog"
icon="/images/icons/preview_large.gif" title-id="apply_template" icon="/images/icons/preview_large.gif" title-id="apply_template"
description-id="apply_dashboard_info" /> description-id="apply_dashboard_info" />
<dialog name="editSimpleWorkflow" page="/jsp/content/edit-simple-workflow.jsp" managed-bean="EditSimpleWorkflowDialog" <dialog name="editSimpleWorkflow" page="/jsp/content/edit-simple-workflow.jsp" managed-bean="EditSimpleWorkflowDialog"
icon="/images/icons/edit_large.gif" title-id="modify_workflow_props" icon="/images/icons/edit_large.gif" title-id="modify_workflow_props"
description-id="editworkflow_description" /> description-id="editworkflow_description" />
<dialog name="editSpaceSimpleWorkflow" page="/jsp/spaces/edit-simple-workflow.jsp" managed-bean="EditSimpleWorkflowDialog" <dialog name="editSpaceSimpleWorkflow" page="/jsp/spaces/edit-simple-workflow.jsp" managed-bean="EditSimpleWorkflowDialog"
icon="/images/icons/edit_large.gif" title-id="modify_workflow_props" icon="/images/icons/edit_large.gif" title-id="modify_workflow_props"
description-id="editworkflow_description" /> description-id="editworkflow_description" />
<dialog name="changeMyPassword" page="/jsp/users/change-my-password.jsp" managed-bean="ChangeMyPasswordDialog" <dialog name="changeMyPassword" page="/jsp/users/change-my-password.jsp" managed-bean="ChangeMyPasswordDialog"
icon="/images/icons/edituser_large.gif" title-id="change_password" icon="/images/icons/edituser_large.gif" title-id="change_password"
description-id="change_my_password_description" error-message-id="error_wizard" /> description-id="change_my_password_description" error-message-id="error_wizard" />
<dialog name="changePassword" page="/jsp/users/change-password.jsp" managed-bean="ChangePasswordDialog" <dialog name="changePassword" page="/jsp/users/change-password.jsp" managed-bean="ChangePasswordDialog"
icon="/images/icons/edituser_large.gif" title-id="change_password" icon="/images/icons/edituser_large.gif" title-id="change_password"
description-id="change_password_description" error-message-id="error_wizard" /> description-id="change_password_description" error-message-id="error_wizard" />
<dialog name="itemDetails" page="/jsp/trashcan/item-details.jsp" managed-bean="TrashcanItemDetailsDialog" <dialog name="itemDetails" page="/jsp/trashcan/item-details.jsp" managed-bean="TrashcanItemDetailsDialog"
icon="/images/icons/details_large.gif" description-id="deleteditem_details_description" icon="/images/icons/details_large.gif" description-id="deleteditem_details_description"
show-ok-button="false" actions-config-id="deleteditem_actions" /> show-ok-button="false" actions-config-id="deleteditem_actions" />
<dialog name="recoverItem" page="/jsp/trashcan/recover-item.jsp" managed-bean="TrashcanRecoverItemDialog" <dialog name="recoverItem" page="/jsp/trashcan/recover-item.jsp" managed-bean="TrashcanRecoverItemDialog"
icon="/images/icons/recover_large.gif" title-id="recover_item" icon="/images/icons/recover_large.gif" title-id="recover_item"
description-id="recover_item_info" /> description-id="recover_item_info" />
<dialog name="recoverAllItems" page="/jsp/trashcan/recover-all.jsp" managed-bean="TrashcanRecoverAllItemsDialog" <dialog name="recoverAllItems" page="/jsp/trashcan/recover-all.jsp" managed-bean="TrashcanRecoverAllItemsDialog"
icon="/images/icons/recover_all_large.gif" title-id="recover_all_items" icon="/images/icons/recover_all_large.gif" title-id="recover_all_items"
description-id="recover_all_items_info" /> description-id="recover_all_items_info" />
<dialog name="recoverListedItems" page="/jsp/trashcan/recover-listed.jsp" managed-bean="TrashcanRecoverListedItemsDialog" <dialog name="recoverListedItems" page="/jsp/trashcan/recover-listed.jsp" managed-bean="TrashcanRecoverListedItemsDialog"
icon="/images/icons/recover_all_large.gif" title-id="recover_listed_items" icon="/images/icons/recover_all_large.gif" title-id="recover_listed_items"
description-id="recover_listed_items_info" /> description-id="recover_listed_items_info" />
<dialog name="userConsole" page="/jsp/users/user-console.jsp" managed-bean="UserConsoleDialog" <dialog name="userConsole" page="/jsp/users/user-console.jsp" managed-bean="UserConsoleDialog"
icon="/images/icons/user_console_large.gif" title-id="user_console_info" icon="/images/icons/user_console_large.gif" title-id="user_console_info"
description-id="user_console_description" show-ok-button="false"/> description-id="user_console_description" show-ok-button="false"/>
<dialog name="userProfile" page="/jsp/users/user-profile.jsp" managed-bean="UserProfileDialog" <dialog name="userProfile" page="/jsp/users/user-profile.jsp" managed-bean="UserProfileDialog"
icon="/images/icons/user_console_large.gif" title-id="user_profile" icon="/images/icons/user_console_large.gif" title-id="user_profile"
show-ok-button="false"/> show-ok-button="false"/>
<dialog name="recoveryReport" page="/jsp/trashcan/recovery-report.jsp" managed-bean="TrashcanRecoveryReportDialog" <dialog name="recoveryReport" page="/jsp/trashcan/recovery-report.jsp" managed-bean="TrashcanRecoveryReportDialog"
icon="/images/icons/recover_all_large.gif" title-id="recovery_report" icon="/images/icons/recover_all_large.gif" title-id="recovery_report"
description-id="recovery_report_info" show-ok-button="false" /> description-id="recovery_report_info" show-ok-button="false" />
<dialog name="showSystemInfo" page="/jsp/admin/system-info.jsp" managed-bean="ShowSystemInfoDialog" <dialog name="showSystemInfo" page="/jsp/admin/system-info.jsp" managed-bean="ShowSystemInfoDialog"
icon="/images/icons/file_large.gif" title-id="system_info" show-ok-button="false"/> icon="/images/icons/file_large.gif" title-id="system_info" show-ok-button="false"/>
<dialog name="aboutDialog" page="/jsp/dialog/about.jsp" managed-bean="AboutBean" <dialog name="aboutDialog" page="/jsp/dialog/about.jsp" managed-bean="AboutBean"
icon="/images/logo/AlfrescoLogo32_bluebg.gif" title-id="title_about" show-ok-button="false"/> icon="/images/logo/AlfrescoLogo32_bluebg.gif" title-id="title_about" show-ok-button="false"/>
<dialog name="showMLContainerDetails" page="/jsp/ml/ml-container-details.jsp" managed-bean="MultilingualManageDialog" <dialog name="showMLContainerDetails" page="/jsp/ml/ml-container-details.jsp" managed-bean="MultilingualManageDialog"
icon="/images/icons/details_large.gif" title-id="manage_multilingual_details_for" icon="/images/icons/details_large.gif" title-id="manage_multilingual_details_for"
description-id="manage_multilingual_details_description" show-ok-button="false" description-id="manage_multilingual_details_description" show-ok-button="false"
error-message-id="empty_message" /> error-message-id="empty_message" />
<dialog name="showDocDetails" page="/jsp/content/document-details.jsp" managed-bean="DocumentDetailsDialog" <dialog name="showDocDetails" page="/jsp/content/document-details.jsp" managed-bean="DocumentDetailsDialog"
icon="/images/icons/details_large.gif" title-id="details_of" description-id="documentdetails_description" show-ok-button="false" icon="/images/icons/details_large.gif" title-id="details_of" description-id="documentdetails_description" show-ok-button="false"
error-message-id="empty_message" /> error-message-id="empty_message" />
<dialog name="showSpaceDetails" page="/jsp/spaces/space-details.jsp" managed-bean="SpaceDetailsDialog" <dialog name="showSpaceDetails" page="/jsp/spaces/space-details.jsp" managed-bean="SpaceDetailsDialog"
icon="/images/icons/details_large.gif" title-id="details_of" description-id="spacedetails_description" show-ok-button="false" icon="/images/icons/details_large.gif" title-id="details_of" description-id="spacedetails_description" show-ok-button="false"
error-message-id="empty_message" /> error-message-id="empty_message" />
<dialog name="showFileDetails" page="/jsp/wcm/file-details.jsp" managed-bean="FileDetailsBean" <dialog name="showFileDetails" page="/jsp/wcm/file-details.jsp" managed-bean="FileDetailsBean"
icon="/images/icons/details_large.gif" title-id="details_of" icon="/images/icons/details_large.gif" title-id="details_of"
description-id="file_details_desc" show-ok-button="false" description-id="file_details_desc" show-ok-button="false"
error-message-id="empty_message"/> error-message-id="empty_message"/>
<dialog name="showFolderDetails" page="/jsp/wcm/folder-details.jsp" managed-bean="FolderDetailsBean" <dialog name="showFolderDetails" page="/jsp/wcm/folder-details.jsp" managed-bean="FolderDetailsBean"
icon="/images/icons/details_large.gif" title-id="details_of" icon="/images/icons/details_large.gif" title-id="details_of"
description-id="folder_details_desc" show-ok-button="false" description-id="folder_details_desc" show-ok-button="false"
error-message-id="empty_message"/> error-message-id="empty_message"/>
<dialog name="manageCategories" page="/jsp/categories/categories.jsp" managed-bean="CategoriesDialog" <dialog name="manageCategories" page="/jsp/categories/categories.jsp" managed-bean="CategoriesDialog"
icon="/images/icons/category.gif" title-id="category_management" show-ok-button="false" icon="/images/icons/category.gif" title-id="category_management" show-ok-button="false"
description-id="categories_description" subtitle-id="categories" description-id="categories_description" subtitle-id="categories"
actions-config-id="category_actions" /> actions-config-id="category_actions" />
<dialog name="manageRules" page="/jsp/rules/rules.jsp" managed-bean="RulesDialog" <dialog name="manageRules" page="/jsp/rules/rules.jsp" managed-bean="RulesDialog"
icon="/images/icons/rule_large.gif" title-id="content_rules" description-id="space_rules_description" show-ok-button="false" icon="/images/icons/rule_large.gif" title-id="content_rules" description-id="space_rules_description" show-ok-button="false"
actions-config-id="create_rule_menu" more-actions-config-id="rules_actions_menu" error-message-id="empty_message"/> actions-config-id="create_rule_menu" more-actions-config-id="rules_actions_menu" error-message-id="empty_message"/>
<dialog name="manageDeletedItems" page="/jsp/trashcan/trash-list.jsp" managed-bean="TrashcanDialog" <dialog name="manageDeletedItems" page="/jsp/trashcan/trash-list.jsp" managed-bean="TrashcanDialog"
icon="/images/icons/trashcan_large.gif" title-id="manage_deleted_items" description-id="manage_deleted_items_description" show-ok-button="false" icon="/images/icons/trashcan_large.gif" title-id="manage_deleted_items" description-id="manage_deleted_items_description" show-ok-button="false"
more-actions-config-id="manage_deleted_items_menu" error-message-id="empty_message"/> more-actions-config-id="manage_deleted_items_menu" error-message-id="empty_message"/>
<dialog name="manageUsers" page="/jsp/users/users.jsp" managed-bean="UsersDialog" <dialog name="manageUsers" page="/jsp/users/users.jsp" managed-bean="UsersDialog"
icon="/images/icons/users_large.gif" title-id="manage_users" icon="/images/icons/users_large.gif" title-id="manage_users"
description-id="manageusers_description" description-id="manageusers_description"
actions-config-id="create_user_menu" show-ok-button="false"/> actions-config-id="create_user_menu" show-ok-button="false"/>
<dialog name="createProject" page="/jsp/projects/create-project-details.jsp" managed-bean="CreateProjectDialog" <dialog name="createProject" page="/jsp/projects/create-project-details.jsp" managed-bean="CreateProjectDialog"
icon="/images/icons/create_project_large.gif" title-id="create_project_title" icon="/images/icons/create_project_large.gif" title-id="create_project_title"
description-id="create_project_desc" /> description-id="create_project_desc" />
<dialog name="addTranslation" page="/jsp/ml/add-translation-dialog.jsp" managed-bean="AddTranslationDialog" <dialog name="addTranslation" page="/jsp/ml/add-translation-dialog.jsp" managed-bean="AddTranslationDialog"
icon="/images/icons/add_tranlsation_large.gif" title-id="add_translation" description-id="add_translation_description"/> icon="/images/icons/add_tranlsation_large.gif" title-id="add_translation" description-id="add_translation_description"/>
<dialog name="updateFile" page="/jsp/content/update-file.jsp" managed-bean="CCUpdateFileDialog" <dialog name="updateFile" page="/jsp/content/update-file.jsp" managed-bean="CCUpdateFileDialog"
icon="/images/icons/update_large.gif" title-id="update" description-id="updatefile_description"/> icon="/images/icons/update_large.gif" title-id="update" description-id="updatefile_description"/>
<dialog name="checkinFile" page="/jsp/coci/checkin-file.jsp" managed-bean="CCCheckinFileDialog" <dialog name="checkinFile" page="/jsp/coci/checkin-file.jsp" managed-bean="CCCheckinFileDialog"
icon="/images/icons/check_in_large.gif" title-id="check_in" icon="/images/icons/check_in_large.gif" title-id="check_in"
description-id="checkinfile_description" /> description-id="checkinfile_description" />
<dialog name="doneEditingFile" page="/jsp/coci/done-editing.jsp" managed-bean="CCDoneEditingDialog"
icon="/images/icons/check_in_large.gif" />
<dialog name="previewSpace" page="/jsp/spaces/preview-space.jsp" managed-bean="SpacePreviewBean" <dialog name="previewSpace" page="/jsp/spaces/preview-space.jsp" managed-bean="SpacePreviewBean"
icon="/images/icons/preview_large.gif" title-id="preview_of" description-id="previewdocument_description" show-ok-button="false" /> icon="/images/icons/preview_large.gif" title-id="preview_of" description-id="previewdocument_description" show-ok-button="false" />
<dialog name="previewContent" page="/jsp/content/preview-file.jsp" managed-bean="DocumentPreviewBean" <dialog name="previewContent" page="/jsp/content/preview-file.jsp" managed-bean="DocumentPreviewBean"
icon="/images/icons/preview_large.gif" title-id="preview_of" description-id="previewdocument_description" show-ok-button="false" /> icon="/images/icons/preview_large.gif" title-id="preview_of" description-id="previewdocument_description" show-ok-button="false" />
<dialog name="manageInvitedUsers" page="/jsp/roles/manage-invited-users.jsp" managed-bean="SpaceUsersBean"
icon="/images/icons/users_large.gif" title-id="manage_invited_users" description-id="manage_invited_users_description" show-ok-button="false"
actions-config-id="invite_user_menu" error-message-id="empty_message"/>
<dialog name="manageContentUsers" page="/jsp/roles/manage-content-users.jsp" managed-bean="ContentUsersBean"
icon="/images/icons/users_large.gif" title-id="manage_content_users" description-id="manage_content_users_description" show-ok-button="false"
actions-config-id="invite_content_user_menu" error-message-id="empty_message"/>
<dialog name="uploadVersion" page="/jsp/content/upload-new-version.jsp" managed-bean="UploadNewVersionDialog"
icon="/images/icons/upload_new_version_large.gif" title-id="upload_new_version_of" />
<dialog name="manageInvitedUsers" page="/jsp/roles/manage-invited-users.jsp" managed-bean="SpaceUsersBean"
icon="/images/icons/users_large.gif" title-id="manage_invited_users" description-id="manage_invited_users_description" show-ok-button="false"
actions-config-id="invite_user_menu" error-message-id="empty_message"/>
<dialog name="manageContentUsers" page="/jsp/roles/manage-content-users.jsp" managed-bean="ContentUsersBean"
icon="/images/icons/users_large.gif" title-id="manage_content_users" description-id="manage_content_users_description" show-ok-button="false"
actions-config-id="invite_content_user_menu" error-message-id="empty_message"/>
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="fm:forums"> <config evaluator="node-type" condition="fm:forums">
<dialogs> <dialogs>
<dialog name="deleteSpace" page="/jsp/dialog/delete.jsp" managed-bean="DeleteForumsDialog" <dialog name="deleteSpace" page="/jsp/dialog/delete.jsp" managed-bean="DeleteForumsDialog"
icon="/images/icons/delete_forums_large.gif" title-id="delete_forums" icon="/images/icons/delete_forums_large.gif" title-id="delete_forums"
description-id="delete_forums_info" /> description-id="delete_forums_info" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="fm:forum"> <config evaluator="node-type" condition="fm:forum">
<dialogs> <dialogs>
<dialog name="deleteSpace" page="/jsp/dialog/delete.jsp" managed-bean="DeleteForumDialog" <dialog name="deleteSpace" page="/jsp/dialog/delete.jsp" managed-bean="DeleteForumDialog"
icon="/images/icons/delete_forum_large.gif" title-id="delete_forum" icon="/images/icons/delete_forum_large.gif" title-id="delete_forum"
description-id="delete_forum_info" /> description-id="delete_forum_info" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="fm:topic"> <config evaluator="node-type" condition="fm:topic">
<dialogs> <dialogs>
<dialog name="deleteSpace" page="/jsp/dialog/delete.jsp" managed-bean="DeleteTopicDialog" <dialog name="deleteSpace" page="/jsp/dialog/delete.jsp" managed-bean="DeleteTopicDialog"
icon="/images/icons/delete_topic_large.gif" title-id="delete_topic" icon="/images/icons/delete_topic_large.gif" title-id="delete_topic"
description-id="delete_topic_info" /> description-id="delete_topic_info" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="fm:post"> <config evaluator="node-type" condition="fm:post">
<dialogs> <dialogs>
<dialog name="deleteFile" page="/jsp/dialog/delete.jsp" managed-bean="DeletePostDialog" <dialog name="deleteFile" page="/jsp/dialog/delete.jsp" managed-bean="DeletePostDialog"
icon="/images/icons/delete_large.gif" title-id="delete_post" icon="/images/icons/delete_large.gif" title-id="delete_post"
description-id="delete_post_info" /> description-id="delete_post_info" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="wca:webfolder"> <config evaluator="node-type" condition="wca:webfolder">
<dialogs> <dialogs>
<dialog name="deleteSpace" page="/jsp/dialog/delete.jsp" managed-bean="DeleteWebsiteDialog" <dialog name="deleteSpace" page="/jsp/dialog/delete.jsp" managed-bean="DeleteWebsiteDialog"
icon="/images/icons/delete_website_large.gif" title-id="delete_website" icon="/images/icons/delete_website_large.gif" title-id="delete_website"
description-id="delete_website_info" /> description-id="delete_website_info" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="wcmwf:reviewTask"> <config evaluator="node-type" condition="wcmwf:reviewTask">
<dialogs> <dialogs>
<dialog name="manageTask" page="/jsp/wcm/manage-review-task-dialog.jsp" <dialog name="manageTask" page="/jsp/wcm/manage-review-task-dialog.jsp"
managed-bean="ManageLinkValidationTaskDialog" managed-bean="ManageLinkValidationTaskDialog"
icon="/images/icons/manage_workflow_task_large.gif" icon="/images/icons/manage_workflow_task_large.gif"
description-id="manage_task_desc" /> description-id="manage_task_desc" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="wcmwf:verifyBrokenLinksTask"> <config evaluator="node-type" condition="wcmwf:verifyBrokenLinksTask">
<dialogs> <dialogs>
<dialog name="manageTask" page="/jsp/wcm/manage-review-task-dialog.jsp" <dialog name="manageTask" page="/jsp/wcm/manage-review-task-dialog.jsp"
managed-bean="ManageLinkValidationTaskDialog" managed-bean="ManageLinkValidationTaskDialog"
icon="/images/icons/manage_workflow_task_large.gif" icon="/images/icons/manage_workflow_task_large.gif"
description-id="manage_task_desc" /> description-id="manage_task_desc" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="wcmwf:changeRequestTask"> <config evaluator="node-type" condition="wcmwf:changeRequestTask">
<dialogs> <dialogs>
<dialog name="manageTask" page="/jsp/wcm/manage-review-task-dialog.jsp" <dialog name="manageTask" page="/jsp/wcm/manage-review-task-dialog.jsp"
managed-bean="ManageChangeRequestTaskDialog" managed-bean="ManageChangeRequestTaskDialog"
icon="/images/icons/manage_workflow_task_large.gif" icon="/images/icons/manage_workflow_task_large.gif"
description-id="manage_task_desc" /> description-id="manage_task_desc" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="app:filelink"> <config evaluator="node-type" condition="app:filelink">
<dialogs> <dialogs>
<dialog name="showDocDetails" page="/jsp/content/filelink-details.jsp" <dialog name="showDocDetails" page="/jsp/content/filelink-details.jsp"
managed-bean="DocumentLinkDetailsDialog" managed-bean="DocumentLinkDetailsDialog"
icon="/images/icons/details_large.gif" title-id="details_of" icon="/images/icons/details_large.gif" title-id="details_of"
description-id="linkdetails_description" show-ok-button="false" description-id="linkdetails_description" show-ok-button="false"
error-message-id="empty_message" /> error-message-id="empty_message" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="app:folderlink"> <config evaluator="node-type" condition="app:folderlink">
<dialogs> <dialogs>
<dialog name="showSpaceDetails" page="/jsp/spaces/spacelink-details.jsp" <dialog name="showSpaceDetails" page="/jsp/spaces/spacelink-details.jsp"
managed-bean="SpaceLinkDetailsDialog" managed-bean="SpaceLinkDetailsDialog"
icon="/images/icons/details_large.gif" title-id="details_of" icon="/images/icons/details_large.gif" title-id="details_of"
description-id="linkdetails_description" show-ok-button="false" description-id="linkdetails_description" show-ok-button="false"
error-message-id="empty_message" /> error-message-id="empty_message" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="fm:forum"> <config evaluator="node-type" condition="fm:forum">
<dialogs> <dialogs>
<dialog name="showSpaceDetails" page="/jsp/forums/forum-details.jsp" <dialog name="showSpaceDetails" page="/jsp/forums/forum-details.jsp"
managed-bean="ForumDetailsDialog" managed-bean="ForumDetailsDialog"
icon="/images/icons/details_large.gif" title-id="details_of" icon="/images/icons/details_large.gif" title-id="details_of"
description-id="forum_details_description" show-ok-button="false" description-id="forum_details_description" show-ok-button="false"
error-message-id="empty_message" /> error-message-id="empty_message" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="fm:forums"> <config evaluator="node-type" condition="fm:forums">
<dialogs> <dialogs>
<dialog name="showSpaceDetails" page="/jsp/forums/forums-details.jsp" <dialog name="showSpaceDetails" page="/jsp/forums/forums-details.jsp"
managed-bean="ForumsDetailsDialog" managed-bean="ForumsDetailsDialog"
icon="/images/icons/details_large.gif" title-id="details_of" icon="/images/icons/details_large.gif" title-id="details_of"
description-id="forums_details_description" show-ok-button="false" description-id="forums_details_description" show-ok-button="false"
error-message-id="empty_message" /> error-message-id="empty_message" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="fm:topic"> <config evaluator="node-type" condition="fm:topic">
<dialogs> <dialogs>
<dialog name="showSpaceDetails" page="/jsp/forums/topic-details.jsp" <dialog name="showSpaceDetails" page="/jsp/forums/topic-details.jsp"
managed-bean="TopicDetailsDialog" managed-bean="TopicDetailsDialog"
icon="/images/icons/details_large.gif" title-id="details_of" icon="/images/icons/details_large.gif" title-id="details_of"
description-id="topic_details_description" show-ok-button="false" description-id="topic_details_description" show-ok-button="false"
error-message-id="empty_message" /> error-message-id="empty_message" />
</dialogs> </dialogs>
</config> </config>
<config evaluator="node-type" condition="wca:webfolder"> <config evaluator="node-type" condition="wca:webfolder">
<dialogs> <dialogs>
<dialog name="showSpaceDetails" page="/jsp/wcm/website-details.jsp" <dialog name="showSpaceDetails" page="/jsp/wcm/website-details.jsp"
managed-bean="WebSiteDetailsDialog" managed-bean="WebSiteDetailsDialog"
icon="/images/icons/details_large.gif" title-id="details_of" icon="/images/icons/details_large.gif" title-id="details_of"
show-ok-button="false" error-message-id="empty_message"/> show-ok-button="false" error-message-id="empty_message"/>
</dialogs> </dialogs>
</config> </config>

View File

@@ -1,50 +0,0 @@
/*
* Copyright (C) 2005-2007 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
*/
package org.alfresco.web.action.evaluator;
import javax.faces.context.FacesContext;
import org.alfresco.model.ContentModel;
import org.alfresco.service.cmr.dictionary.DictionaryService;
import org.alfresco.web.bean.repository.Node;
import org.alfresco.web.bean.repository.Repository;
/**
* UI Action Evaluator - Upload new version
*
*/
public class UploadNewVersionEvaluator extends BaseActionEvaluator
{
/**
* @see org.alfresco.web.action.ActionEvaluator#evaluate(org.alfresco.web.bean.repository.Node)
*/
public boolean evaluate(Node node)
{
DictionaryService dd = Repository.getServiceRegistry(
FacesContext.getCurrentInstance()).getDictionaryService();
return dd.isSubClass(node.getType(), ContentModel.TYPE_CONTENT) && node.isWorkingCopyOwner();
}
}

View File

@@ -1,96 +0,0 @@
package org.alfresco.web.bean.coci;
import java.io.Serializable;
import java.util.Map;
import java.util.StringTokenizer;
import javax.faces.context.FacesContext;
import org.alfresco.model.ContentModel;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.version.Version;
import org.alfresco.service.namespace.QName;
import org.alfresco.web.app.Application;
/**
* This bean class handle done-editing(commit) dialog.
*
*/
public class CCDoneEditingDialog extends CheckinCheckoutDialog
{
private final static String MSG_DONE = "done";
private final static String MSG_TITLE_VERSIONABLE = "done_editing_title_versionable";
private final static String MSG_TITLE_NOT_VERSIONABLE = "done_editing_title_not_versionable";
/**
* @return Returns label for new version with major changes
*/
public String getMajorNewVersionLabel()
{
String label = getCurrentVersionLabel();
StringTokenizer st = new StringTokenizer(label, ".");
return (Integer.valueOf(st.nextToken()) + 1) + ".0";
}
/**
* @return Returns label for new version with minor changes
*/
public String getMinorNewVersionLabel()
{
String label = getCurrentVersionLabel();
StringTokenizer st = new StringTokenizer(label, ".");
return st.nextToken() + "." + (Integer.valueOf(st.nextToken()) + 1);
}
@Override
public String getFinishButtonLabel()
{
return Application.getMessage(FacesContext.getCurrentInstance(), MSG_DONE);
}
@Override
public boolean getFinishButtonDisabled()
{
return false;
}
@Override
public String getContainerTitle()
{
if (property.getDocument().hasAspect(ContentModel.ASPECT_VERSIONABLE))
{
return Application.getMessage(FacesContext.getCurrentInstance(), MSG_TITLE_VERSIONABLE) + " '" + property.getDocument().getName() + "'";
}
else
{
return Application.getMessage(FacesContext.getCurrentInstance(), MSG_TITLE_NOT_VERSIONABLE) + " '" + property.getDocument().getName() + "'";
}
}
@Override
protected String finishImpl(FacesContext context, String outcome) throws Exception
{
return checkinFileOK(context, outcome);
}
/**
* @return version label for source node for working copy.
*/
private String getCurrentVersionLabel()
{
NodeRef workingCopyNodeRef = property.getDocument().getNodeRef();
if (this.nodeService.hasAspect(workingCopyNodeRef, ContentModel.ASPECT_COPIEDFROM) == true)
{
Map<QName, Serializable> workingCopyProperties = nodeService.getProperties(workingCopyNodeRef);
NodeRef nodeRef = (NodeRef) workingCopyProperties.get(ContentModel.PROP_COPY_REFERENCE);
Version curVersion = property.getVersionQueryService().getCurrentVersion(nodeRef);
return curVersion.getVersionLabel();
}
return null;
}
}

View File

@@ -15,11 +15,11 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of * As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre * the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's * and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing * FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here: * the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing" * http://www.alfresco.com/legal/licensing"
*/ */
package org.alfresco.web.bean.coci; package org.alfresco.web.bean.coci;
@@ -29,7 +29,6 @@ import java.io.File;
import org.alfresco.service.cmr.coci.CheckOutCheckInService; import org.alfresco.service.cmr.coci.CheckOutCheckInService;
import org.alfresco.service.cmr.repository.ContentService; import org.alfresco.service.cmr.repository.ContentService;
import org.alfresco.service.cmr.repository.NodeRef; import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.version.VersionService;
import org.alfresco.service.cmr.workflow.WorkflowService; import org.alfresco.service.cmr.workflow.WorkflowService;
import org.alfresco.web.bean.repository.Node; import org.alfresco.web.bean.repository.Node;
@@ -39,9 +38,6 @@ public class CCProperties
/** The VersionOperationsService to be used by the bean */ /** The VersionOperationsService to be used by the bean */
protected CheckOutCheckInService versionOperationsService; protected CheckOutCheckInService versionOperationsService;
/** The VersionQueryService to be used by the bean */
protected VersionService versionQueryService;
/** The ContentService to be used by the bean */ /** The ContentService to be used by the bean */
protected ContentService contentService; protected ContentService contentService;
@@ -68,11 +64,11 @@ public class CCProperties
private boolean isWorkflowAction = false; private boolean isWorkflowAction = false;
private String workflowTaskId; private String workflowTaskId;
private NodeRef selectedSpaceId = null; private NodeRef selectedSpaceId = null;
/** constants for copy location selection */ /** constants for copy location selection */
public static final String COPYLOCATION_CURRENT = "current"; public static final String COPYLOCATION_CURRENT = "current";
public static final String COPYLOCATION_OTHER = "other"; public static final String COPYLOCATION_OTHER = "other";
private String versionNotes = ""; private String versionNotes = "";
private String copyLocation = COPYLOCATION_CURRENT; private String copyLocation = COPYLOCATION_CURRENT;
@@ -93,23 +89,6 @@ public class CCProperties
this.versionOperationsService = versionOperationsService; this.versionOperationsService = versionOperationsService;
} }
/**
* @return Returns the VersionQueryService.
*/
public VersionService getVersionQueryService()
{
return this.versionQueryService;
}
/**
* @param versionQueryService
* The VersionQueryService to set.
*/
public void setVersionQueryService(VersionService versionQueryService)
{
this.versionQueryService = versionQueryService;
}
/** /**
* @return Returns the ContentService. * @return Returns the ContentService.
*/ */
@@ -326,7 +305,7 @@ public class CCProperties
{ {
this.workflowTaskId = workflowTaskId; this.workflowTaskId = workflowTaskId;
} }
/** /**
* @return Returns the version history notes. * @return Returns the version history notes.
*/ */
@@ -343,7 +322,7 @@ public class CCProperties
{ {
this.versionNotes = versionNotes; this.versionNotes = versionNotes;
} }
/** /**
* @return Returns the copy location. Either the current or other space. * @return Returns the copy location. Either the current or other space.
*/ */
@@ -351,7 +330,7 @@ public class CCProperties
{ {
if (this.getFileName() == null || this.getFileName().length() == 0) if (this.getFileName() == null || this.getFileName().length() == 0)
{ {
return this.copyLocation; return this.copyLocation;
} }
else else
{ {

View File

@@ -1,119 +0,0 @@
/*
* Copyright (C) 2005-2007 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
*/
package org.alfresco.web.bean.coci;
import javax.faces.context.FacesContext;
import org.alfresco.model.ContentModel;
import org.alfresco.web.app.Application;
import org.alfresco.web.bean.repository.Node;
import org.alfresco.web.ui.common.Utils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class CancelEditingDialog extends CheckinCheckoutDialog
{
public static final String LBL_CANCEL_EDITING = "cancel_editing";
public static final String MSG_CANCEL_EDITING_FOR = "cancel_editing_for";
private static Log logger = LogFactory.getLog(CheckinCheckoutDialog.class);
@Override
protected String finishImpl(FacesContext context, String outcome) throws Exception
{
undoCheckoutFile(context, outcome);
return "dialog:close[2]";
}
@Override
public String getContainerTitle()
{
return Application.getMessage(FacesContext.getCurrentInstance(), MSG_CANCEL_EDITING_FOR) + " '" + property.getDocument().getName() + "'";
}
@Override
public boolean getFinishButtonDisabled()
{
return false;
}
@Override
public String getFinishButtonLabel()
{
return Application.getMessage(FacesContext.getCurrentInstance(), LBL_CANCEL_EDITING);
}
/**
* Action to undo the checkout of a locked document. This document may
* either by the original copy or the working copy node. Therefore calculate
* which it is, if the working copy is found then we simply cancel checkout
* on that document. If the original copy is found then we need to find the
* appropriate working copy and perform the action on that node.
*/
public String undoCheckoutFile(FacesContext context, String outcome)
{
Node node = property.getDocument();
if (node != null)
{
try
{
if (node.hasAspect(ContentModel.ASPECT_WORKING_COPY))
{
this.property.getVersionOperationsService().cancelCheckout(node.getNodeRef());
}
else if (node.hasAspect(ContentModel.ASPECT_LOCKABLE))
{
// TODO: find the working copy for this document and cancel
// the checkout on it
// is this possible? as currently only the workingcopy
// aspect has the copyReference
// attribute - this means we cannot find out where the copy
// is to cancel it!
// can we construct an XPath node lookup?
throw new RuntimeException("NOT IMPLEMENTED");
}
else
{
throw new IllegalStateException("Node supplied for undo checkout has neither Working Copy or Locked aspect!");
}
resetState();
}
catch (Throwable err)
{
Utils.addErrorMessage(Application.getMessage(FacesContext.getCurrentInstance(), MSG_ERROR_CANCELCHECKOUT) + err.getMessage(), err);
}
}
else
{
logger.warn("WARNING: undoCheckout called without a current WorkingDocument!");
}
return outcome;
}
}

View File

@@ -14,13 +14,13 @@
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of * As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre * the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's * and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing * FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here: * the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing" * http://www.alfresco.com/legal/licensing"
*/ */
package org.alfresco.web.bean.coci; package org.alfresco.web.bean.coci;
@@ -28,7 +28,6 @@ import java.io.Serializable;
import java.text.MessageFormat; import java.text.MessageFormat;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.StringTokenizer;
import javax.faces.context.FacesContext; import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent; import javax.faces.event.ActionEvent;
@@ -80,12 +79,12 @@ public class CheckinCheckoutDialog extends BaseDialogBean
public static final String MSG_ERROR_CHECKOUT = "error_checkout"; public static final String MSG_ERROR_CHECKOUT = "error_checkout";
public static final String FILE = "file"; public static final String FILE = "file";
protected CCProperties property; protected CCProperties property;
// ------------------------------------------------------------------------------ // ------------------------------------------------------------------------------
// Bean property getters and setters // Bean property getters and setters
/** /**
* @param property the property to set * @param property the property to set
*/ */
@@ -93,7 +92,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
this.property = property; this.property = property;
} }
/** /**
* @param navigator The NavigationBean to set. * @param navigator The NavigationBean to set.
*/ */
@@ -101,7 +100,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
this.navigator = navigator; this.navigator = navigator;
} }
/** /**
* @return Returns the BrowseBean. * @return Returns the BrowseBean.
*/ */
@@ -109,7 +108,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
return this.browseBean; return this.browseBean;
} }
/** /**
* @param browseBean The BrowseBean to set. * @param browseBean The BrowseBean to set.
*/ */
@@ -117,7 +116,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
this.browseBean = browseBean; this.browseBean = browseBean;
} }
/** /**
* @return Returns the NodeService. * @return Returns the NodeService.
*/ */
@@ -133,33 +132,33 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
this.nodeService = nodeService; this.nodeService = nodeService;
} }
public boolean getFinishButtonDisabled() public boolean getFinishButtonDisabled()
{ {
return false; return false;
} }
public String getFinishButtonLabel() public String getFinishButtonLabel()
{ {
return Application.getMessage(FacesContext.getCurrentInstance(), "check_in"); return Application.getMessage(FacesContext.getCurrentInstance(), "check_in");
} }
public String getContainerTitle() public String getContainerTitle()
{ {
return Application.getMessage(FacesContext.getCurrentInstance(), "check_in") + " '" + this.property.getDocument().getName() + "'"; return Application.getMessage(FacesContext.getCurrentInstance(), "check_in") + " '" + this.property.getDocument().getName() + "'";
} }
/** /**
* Determines whether the document being checked in has * Determines whether the document being checked in has
* the versionable aspect applied * the versionable aspect applied
* *
* @return true if the versionable aspect is applied * @return true if the versionable aspect is applied
*/ */
public boolean isVersionable() public boolean isVersionable()
{ {
return property.getDocument().hasAspect(ContentModel.ASPECT_VERSIONABLE); return property.getDocument().hasAspect(ContentModel.ASPECT_VERSIONABLE);
} }
/** /**
* @return Returns the message to display when a file has been uploaded * @return Returns the message to display when a file has been uploaded
*/ */
@@ -168,7 +167,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
String msg = Application.getMessage(FacesContext.getCurrentInstance(), "file_upload_success"); String msg = Application.getMessage(FacesContext.getCurrentInstance(), "file_upload_success");
return MessageFormat.format(msg, new Object[] {getFileName()}); return MessageFormat.format(msg, new Object[] {getFileName()});
} }
/** /**
* @return Returns the name of the file * @return Returns the name of the file
*/ */
@@ -184,7 +183,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
property.setFile(fileBean.getFile()); property.setFile(fileBean.getFile());
property.setFileName(fileBean.getFileName()); property.setFileName(fileBean.getFileName());
} }
return property.getFileName(); return property.getFileName();
} }
@@ -194,7 +193,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
public void setFileName(String fileName) public void setFileName(String fileName)
{ {
property.setFileName(fileName); property.setFileName(fileName);
// we also need to keep the file upload bean in sync // we also need to keep the file upload bean in sync
FacesContext ctx = FacesContext.getCurrentInstance(); FacesContext ctx = FacesContext.getCurrentInstance();
FileUploadBean fileBean = (FileUploadBean)ctx.getExternalContext().getSessionMap(). FileUploadBean fileBean = (FileUploadBean)ctx.getExternalContext().getSessionMap().
@@ -220,7 +219,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
fileBean.setFileName(null); fileBean.setFileName(null);
} }
} }
/** /**
* Action handler called when the user wishes to remove an uploaded file * Action handler called when the user wishes to remove an uploaded file
*/ */
@@ -231,15 +230,15 @@ public class CheckinCheckoutDialog extends BaseDialogBean
property.setFile(null); property.setFile(null);
return null; return null;
} }
// ------------------------------------------------------------------------------ // ------------------------------------------------------------------------------
// Navigation action event handlers // Navigation action event handlers
/** /**
* Action event called by all actions that need to setup a Content Document context on the * Action event called by all actions that need to setup a Content Document context on the
* CheckinCheckoutDialog before an action page/wizard is called. The context will be a Node in * CheckinCheckoutDialog before an action page/wizard is called. The context will be a Node in
* setDocument() which can be retrieved on action pages via getDocument(). * setDocument() which can be retrieved on action pages via getDocument().
* *
* @param event ActionEvent * @param event ActionEvent
*/ */
public void setupContentAction(ActionEvent event) public void setupContentAction(ActionEvent event)
@@ -250,34 +249,34 @@ public class CheckinCheckoutDialog extends BaseDialogBean
if (id != null && id.length() != 0) if (id != null && id.length() != 0)
{ {
setupContentDocument(id); setupContentDocument(id);
} }
else else
{ {
property.setDocument(null); property.setDocument(null);
} }
resetState(); resetState();
} }
public void setupWorkflowContentAction(ActionEvent event) public void setupWorkflowContentAction(ActionEvent event)
{ {
// do the common processing // do the common processing
setupContentAction(event); setupContentAction(event);
// retrieve the id of the task // retrieve the id of the task
UIActionLink link = (UIActionLink)event.getComponent(); UIActionLink link = (UIActionLink)event.getComponent();
Map<String, String> params = link.getParameterMap(); Map<String, String> params = link.getParameterMap();
property.setWorkflowTaskId(params.get("taskId")); property.setWorkflowTaskId(params.get("taskId"));
property.setWorkflowAction(true); property.setWorkflowAction(true);
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
logger.debug("Setup for workflow package action for task id: " + property.getWorkflowTaskId()); logger.debug("Setup for workflow package action for task id: " + property.getWorkflowTaskId());
} }
/** /**
* Setup a content document node context * Setup a content document node context
* *
* @param id GUID of the node to setup as the content document context * @param id GUID of the node to setup as the content document context
* @return The Node * @return The Node
*/ */
@@ -287,23 +286,23 @@ public class CheckinCheckoutDialog extends BaseDialogBean
logger.debug("Setup for action, setting current document to: " + id); logger.debug("Setup for action, setting current document to: " + id);
Node node = null; Node node = null;
try try
{ {
// create the node ref, then our node representation // create the node ref, then our node representation
NodeRef ref = new NodeRef(Repository.getStoreRef(), id); NodeRef ref = new NodeRef(Repository.getStoreRef(), id);
node = new Node(ref); node = new Node(ref);
// create content URL to the content download servlet with ID and expected filename // create content URL to the content download servlet with ID and expected filename
// the myfile part will be ignored by the servlet but gives the browser a hint // the myfile part will be ignored by the servlet but gives the browser a hint
String url = DownloadContentServlet.generateDownloadURL(ref, node.getName()); String url = DownloadContentServlet.generateDownloadURL(ref, node.getName());
node.getProperties().put("url", url); node.getProperties().put("url", url);
node.getProperties().put("workingCopy", node.hasAspect(ContentModel.ASPECT_WORKING_COPY)); node.getProperties().put("workingCopy", node.hasAspect(ContentModel.ASPECT_WORKING_COPY));
node.getProperties().put("fileType32", Utils.getFileTypeImage(node.getName(), false)); node.getProperties().put("fileType32", Utils.getFileTypeImage(node.getName(), false));
// remember the document // remember the document
property.setDocument(node); property.setDocument(node);
// refresh the UI, calling this method now is fine as it basically makes sure certain // refresh the UI, calling this method now is fine as it basically makes sure certain
// beans clear the state - so when we finish here other beans will have been reset // beans clear the state - so when we finish here other beans will have been reset
UIContextService.getInstance(FacesContext.getCurrentInstance()).notifyBeans(); UIContextService.getInstance(FacesContext.getCurrentInstance()).notifyBeans();
@@ -313,12 +312,12 @@ public class CheckinCheckoutDialog extends BaseDialogBean
Utils.addErrorMessage(MessageFormat.format(Application.getMessage( Utils.addErrorMessage(MessageFormat.format(Application.getMessage(
FacesContext.getCurrentInstance(), Repository.ERROR_NODEREF), new Object[] {id}) ); FacesContext.getCurrentInstance(), Repository.ERROR_NODEREF), new Object[] {id}) );
} }
return node; return node;
} }
/** /**
* Action handler called to calculate which editing screen to display based on the mimetype * Action handler called to calculate which editing screen to display based on the mimetype
* of a document. If appropriate, the in-line editing screen will be shown. * of a document. If appropriate, the in-line editing screen will be shown.
*/ */
public void editFile(ActionEvent event) public void editFile(ActionEvent event)
@@ -330,21 +329,21 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
boolean editingInline = false; boolean editingInline = false;
Node node = setupContentDocument(id); Node node = setupContentDocument(id);
if (node.hasAspect(WCMAppModel.ASPECT_FORM_INSTANCE_DATA)) if (node.hasAspect(WCMAppModel.ASPECT_FORM_INSTANCE_DATA))
{ {
editingInline = true; editingInline = true;
// editable form document // editable form document
FacesContext fc = FacesContext.getCurrentInstance(); FacesContext fc = FacesContext.getCurrentInstance();
this.navigator.setupDispatchContext(node); this.navigator.setupDispatchContext(node);
// TODO - rename editContent Wizard since it only deals with editing form content // TODO - rename editContent Wizard since it only deals with editing form content
fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "wizard:editContent"); fc.getApplication().getNavigationHandler().handleNavigation(fc, null, "wizard:editContent");
} }
// detect the inline editing aspect to see which edit mode to use // detect the inline editing aspect to see which edit mode to use
else if (node.hasAspect(ApplicationModel.ASPECT_INLINEEDITABLE) && else if (node.hasAspect(ApplicationModel.ASPECT_INLINEEDITABLE) &&
node.getProperties().get(ApplicationModel.PROP_EDITINLINE) != null && node.getProperties().get(ApplicationModel.PROP_EDITINLINE) != null &&
((Boolean)node.getProperties().get(ApplicationModel.PROP_EDITINLINE)).booleanValue() == true) ((Boolean)node.getProperties().get(ApplicationModel.PROP_EDITINLINE)).booleanValue() == true)
{ {
@@ -354,7 +353,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
editingInline = true; editingInline = true;
String mimetype = reader.getMimetype(); String mimetype = reader.getMimetype();
// calculate which editor screen to display // calculate which editor screen to display
if (MimetypeMap.MIMETYPE_TEXT_PLAIN.equals(mimetype) || if (MimetypeMap.MIMETYPE_TEXT_PLAIN.equals(mimetype) ||
MimetypeMap.MIMETYPE_XML.equals(mimetype) || MimetypeMap.MIMETYPE_XML.equals(mimetype) ||
@@ -363,7 +362,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
// make content available to the text editing screen // make content available to the text editing screen
property.setEditorOutput(reader.getContentString()); property.setEditorOutput(reader.getContentString());
// navigate to appropriate screen // navigate to appropriate screen
FacesContext fc = FacesContext.getCurrentInstance(); FacesContext fc = FacesContext.getCurrentInstance();
this.navigator.setupDispatchContext(node); this.navigator.setupDispatchContext(node);
@@ -374,7 +373,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
// make content available to the html editing screen // make content available to the html editing screen
property.setDocumentContent(reader.getContentString()); property.setDocumentContent(reader.getContentString());
property.setEditorOutput(null); property.setEditorOutput(null);
// navigate to appropriate screen // navigate to appropriate screen
FacesContext fc = FacesContext.getCurrentInstance(); FacesContext fc = FacesContext.getCurrentInstance();
this.navigator.setupDispatchContext(node); this.navigator.setupDispatchContext(node);
@@ -382,7 +381,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
} }
} }
} }
if (editingInline == false) if (editingInline == false)
{ {
// normal downloadable document // normal downloadable document
@@ -392,7 +391,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
} }
} }
} }
/** /**
* Action handler called to set the content of a node from an inline editing page. * Action handler called to set the content of a node from an inline editing page.
*/ */
@@ -405,11 +404,11 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
logger.debug("Trying to update content node Id: " + node.getId()); logger.debug("Trying to update content node Id: " + node.getId());
// get an updating writer that we can use to modify the content on the current node // get an updating writer that we can use to modify the content on the current node
ContentWriter writer = property.getContentService().getWriter(node.getNodeRef(), ContentModel.PROP_CONTENT, true); ContentWriter writer = property.getContentService().getWriter(node.getNodeRef(), ContentModel.PROP_CONTENT, true);
writer.putContent(property.getEditorOutput()); writer.putContent(property.getEditorOutput());
// clean up and clear action context // clean up and clear action context
resetState(); resetState();
property.setDocument(null); property.setDocument(null);
@@ -429,14 +428,14 @@ public class CheckinCheckoutDialog extends BaseDialogBean
} }
return outcome; return outcome;
} }
/** /**
* Action to undo the checkout of a document just checked out from the checkout screen. * Action to undo the checkout of a document just checked out from the checkout screen.
*/ */
public String undoCheckout() public String undoCheckout()
{ {
String outcome = null; String outcome = null;
Node node = property.getWorkingDocument(); Node node = property.getWorkingDocument();
if (node != null) if (node != null)
{ {
@@ -444,9 +443,9 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
// try to cancel checkout of the working copy // try to cancel checkout of the working copy
this.property.getVersionOperationsService().cancelCheckout(node.getNodeRef()); this.property.getVersionOperationsService().cancelCheckout(node.getNodeRef());
resetState(); resetState();
outcome = AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME; outcome = AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME;
} }
catch (Throwable err) catch (Throwable err)
@@ -459,16 +458,16 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
logger.warn("WARNING: undoCheckout called without a current WorkingDocument!"); logger.warn("WARNING: undoCheckout called without a current WorkingDocument!");
} }
return outcome; return outcome;
} }
/** /**
* Action called upon completion of the Check In file page * Action called upon completion of the Check In file page
*/ */
public String checkinFileOK(final FacesContext context, String outcome) public String checkinFileOK(final FacesContext context, String outcome)
{ {
// NOTE: for checkin the document node _is_ the working document! // NOTE: for checkin the document node _is_ the working document!
final Node node = property.getDocument(); final Node node = property.getDocument();
if (node != null && (property.getCopyLocation().equals(CCProperties.COPYLOCATION_CURRENT) || (this.getFileName() != null && !this.getFileName().equals("")))) if (node != null && (property.getCopyLocation().equals(CCProperties.COPYLOCATION_CURRENT) || (this.getFileName() != null && !this.getFileName().equals(""))))
@@ -482,7 +481,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
logger.debug("Trying to checkin content node Id: " + node.getId()); logger.debug("Trying to checkin content node Id: " + node.getId());
// we can either checkin the content from the current working copy node // we can either checkin the content from the current working copy node
// which would have been previously updated by the user // which would have been previously updated by the user
String contentUrl; String contentUrl;
@@ -521,22 +520,22 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
props.put(VersionModel.PROP_VERSION_TYPE, VersionType.MAJOR); props.put(VersionModel.PROP_VERSION_TYPE, VersionType.MAJOR);
} }
// perform the checkin // perform the checkin
property.getVersionOperationsService().checkin(node.getNodeRef(), property.getVersionOperationsService().checkin(node.getNodeRef(),
props, contentUrl, property.getKeepCheckedOut()); props, contentUrl, property.getKeepCheckedOut());
return null; return null;
} }
}; };
txnHelper.doInTransaction(callback); txnHelper.doInTransaction(callback);
outcome = AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME; outcome = AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME;
if (property.isWorkflowAction() == false) if (property.isWorkflowAction() == false)
{ {
outcome = outcome + AlfrescoNavigationHandler.OUTCOME_SEPARATOR + "browse"; outcome = outcome + AlfrescoNavigationHandler.OUTCOME_SEPARATOR + "browse";
} }
// clear action context // clear action context
property.setDocument(null); property.setDocument(null);
resetState(); resetState();
@@ -551,16 +550,16 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
logger.warn("WARNING: checkinFileOK called without a current Document!"); logger.warn("WARNING: checkinFileOK called without a current Document!");
} }
return outcome; return outcome;
} }
/** /**
* Action called upon completion of the Update File page * Action called upon completion of the Update File page
*/ */
public String updateFileOK(final FacesContext context, String outcome) public String updateFileOK(final FacesContext context, String outcome)
{ {
// NOTE: for update the document node _is_ the working document! // NOTE: for update the document node _is_ the working document!
final Node node = property.getDocument(); final Node node = property.getDocument();
if (node != null && this.getFileName() != null) if (node != null && this.getFileName() != null)
@@ -574,24 +573,24 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
if (logger.isDebugEnabled()) if (logger.isDebugEnabled())
logger.debug("Trying to update content node Id: " + node.getId()); logger.debug("Trying to update content node Id: " + node.getId());
// get an updating writer that we can use to modify the content on the current node // get an updating writer that we can use to modify the content on the current node
ContentWriter writer = property.getContentService().getWriter(node.getNodeRef(), ContentModel.PROP_CONTENT, true); ContentWriter writer = property.getContentService().getWriter(node.getNodeRef(), ContentModel.PROP_CONTENT, true);
// also update the mime type in case a different type of file is uploaded // also update the mime type in case a different type of file is uploaded
String mimeType = Repository.getMimeTypeForFileName(context, property.getFileName()); String mimeType = Repository.getMimeTypeForFileName(context, property.getFileName());
writer.setMimetype(mimeType); writer.setMimetype(mimeType);
writer.putContent(property.getFile()); writer.putContent(property.getFile());
return null; return null;
} }
}; };
txnHelper.doInTransaction(callback); txnHelper.doInTransaction(callback);
// clear action context // clear action context
property.setDocument(null); property.setDocument(null);
resetState(); resetState();
outcome = AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME; outcome = AlfrescoNavigationHandler.CLOSE_DIALOG_OUTCOME;
} }
catch (Throwable err) catch (Throwable err)
@@ -604,10 +603,10 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
logger.warn("WARNING: updateFileOK called without a current Document!"); logger.warn("WARNING: updateFileOK called without a current Document!");
} }
return outcome; return outcome;
} }
/** /**
* Deals with the cancel button being pressed on the check in file page * Deals with the cancel button being pressed on the check in file page
*/ */
@@ -621,11 +620,11 @@ public class CheckinCheckoutDialog extends BaseDialogBean
resetState(); resetState();
return outcome; return outcome;
} }
@Override @Override
protected String finishImpl(FacesContext context, String outcome) throws Exception protected String finishImpl(FacesContext context, String outcome) throws Exception
{ {
return null; return null;
} }
@@ -639,7 +638,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
{ {
property.getFile().delete(); property.getFile().delete();
} }
property.setFile(null); property.setFile(null);
property.setFileName(null); property.setFileName(null);
property.setKeepCheckedOut(false); property.setKeepCheckedOut(false);
@@ -649,7 +648,7 @@ public class CheckinCheckoutDialog extends BaseDialogBean
property.setSelectedSpaceId(null); property.setSelectedSpaceId(null);
property.setWorkflowAction(false); property.setWorkflowAction(false);
property.setWorkflowTaskId(null); property.setWorkflowTaskId(null);
// remove the file upload bean from the session // remove the file upload bean from the session
FacesContext ctx = FacesContext.getCurrentInstance(); FacesContext ctx = FacesContext.getCurrentInstance();
ctx.getExternalContext().getSessionMap().remove(FileUploadBean.FILE_UPLOAD_BEAN_NAME); ctx.getExternalContext().getSessionMap().remove(FileUploadBean.FILE_UPLOAD_BEAN_NAME);

View File

@@ -1,77 +0,0 @@
/*
* Copyright (C) 2005-2007 Alfresco Software Limited.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
*/
package org.alfresco.web.bean.coci;
import javax.faces.context.FacesContext;
import org.alfresco.web.app.Application;
public class UploadNewVersionDialog extends CCDoneEditingDialog
{
private final static String MSG_UPLOAD_NEW_VERSION = "upload_new_version";
private final static String MSG_OF = "of";
private boolean finishedEditing = false;
public void setFinishedEditing(boolean finished)
{
this.finishedEditing = finished;
}
public boolean isFinishedEditing()
{
return finishedEditing;
}
@Override
public boolean getFinishButtonDisabled()
{
return property.getFile() == null;
}
@Override
public String getContainerTitle()
{
return Application.getMessage(FacesContext.getCurrentInstance(), MSG_UPLOAD_NEW_VERSION) + " " + Application.getMessage(FacesContext.getCurrentInstance(), MSG_OF) + " '"
+ property.getDocument().getName() + "'";
}
@Override
protected String finishImpl(FacesContext context, String outcome) throws Exception
{
property.setKeepCheckedOut(!finishedEditing);
return checkinFileOK(context, outcome);
}
@Override
public void resetState()
{
super.resetState();
finishedEditing = false;
}
}

View File

@@ -1,223 +0,0 @@
package org.alfresco.web.bean.content;
import java.text.MessageFormat;
import java.util.Map;
import org.alfresco.model.ContentModel;
import org.alfresco.repo.workflow.WorkflowModel;
import org.alfresco.service.cmr.repository.ChildAssociationRef;
import org.alfresco.service.cmr.repository.InvalidNodeRefException;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.workflow.WorkflowTask;
import org.alfresco.service.namespace.NamespaceService;
import org.alfresco.service.namespace.QName;
import org.alfresco.web.app.Application;
import org.alfresco.web.app.context.UIContextService;
import org.alfresco.web.app.servlet.DownloadContentServlet;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;
import org.alfresco.web.bean.FileUploadBean;
import org.alfresco.web.bean.coci.CCProperties;
import org.alfresco.web.bean.coci.CheckinCheckoutDialog;
import org.alfresco.web.bean.dialog.BaseDialogBean;
import org.alfresco.web.bean.repository.Node;
import org.alfresco.web.bean.repository.Repository;
import org.alfresco.web.ui.common.Utils;
import org.alfresco.web.ui.common.component.UIActionLink;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class EditOfflineDialog extends BaseDialogBean
{
private static final String CLOSE = "close";
public static final String MSG_ERROR_CHECKOUT = "error_checkout";
private static Log logger = LogFactory.getLog(EditOfflineDialog.class);
protected CCProperties property;
public CCProperties getProperty()
{
return property;
}
public void setProperty(CCProperties property)
{
this.property = property;
}
@Override
public String getContainerTitle()
{
return "Download of '" + getProperty().getDocument().getName() + "' for offline editing.";
}
@Override
protected String finishImpl(FacesContext context, String outcome) throws Exception
{
return outcome;
}
@Override
public String getCancelButtonLabel()
{
return Application.getMessage(FacesContext.getCurrentInstance(), CLOSE);
}
public void setupContentAction(ActionEvent event)
{
UIActionLink link = (UIActionLink) event.getComponent();
Map<String, String> params = link.getParameterMap();
String id = params.get("id");
if (id != null && id.length() != 0)
{
setupContentDocument(id);
checkoutFile();
}
else
{
property.setDocument(null);
}
resetState();
}
private Node setupContentDocument(String id)
{
if (logger.isDebugEnabled())
logger.debug("Setup for action, setting current document to: " + id);
Node node = null;
try
{
// create the node ref, then our node representation
NodeRef ref = new NodeRef(Repository.getStoreRef(), id);
node = new Node(ref);
// create content URL to the content download servlet with ID and expected filename
// the myfile part will be ignored by the servlet but gives the browser a hint
String url = DownloadContentServlet.generateDownloadURL(ref, node.getName());
node.getProperties().put("url", url);
node.getProperties().put("workingCopy", node.hasAspect(ContentModel.ASPECT_WORKING_COPY));
node.getProperties().put("fileType32", Utils.getFileTypeImage(node.getName(), false));
// remember the document
property.setDocument(node);
// refresh the UI, calling this method now is fine as it basically makes sure certain
// beans clear the state - so when we finish here other beans will have been reset
UIContextService.getInstance(FacesContext.getCurrentInstance()).notifyBeans();
}
catch (InvalidNodeRefException refErr)
{
Utils.addErrorMessage(MessageFormat.format(Application.getMessage(
FacesContext.getCurrentInstance(), Repository.ERROR_NODEREF), new Object[] {id}) );
}
return node;
}
public void resetState()
{
// delete the temporary file we uploaded earlier
if (property.getFile() != null)
{
property.getFile().delete();
}
property.setFile(null);
property.setFileName(null);
property.setKeepCheckedOut(false);
property.setMinorChange(true);
property.setCopyLocation(CCProperties.COPYLOCATION_CURRENT);
property.setVersionNotes("");
property.setSelectedSpaceId(null);
property.setWorkflowAction(false);
property.setWorkflowTaskId(null);
// remove the file upload bean from the session
FacesContext ctx = FacesContext.getCurrentInstance();
ctx.getExternalContext().getSessionMap().remove(FileUploadBean.FILE_UPLOAD_BEAN_NAME);
}
public void checkoutFile()
{
final Node node = property.getDocument();
if (node != null)
{
try
{
if (logger.isDebugEnabled())
logger.debug("Trying to checkout content node Id: " + node.getId());
// checkout the node content to create a working copy
if (logger.isDebugEnabled())
{
logger.debug("Checkout copy location: " + property.getCopyLocation());
logger.debug("Selected Space Id: " + property.getSelectedSpaceId());
}
NodeRef workingCopyRef = null;
if (property.getCopyLocation().equals(CCProperties.COPYLOCATION_OTHER) && property.getSelectedSpaceId() != null)
{
// checkout to a arbituary parent Space
NodeRef destRef = property.getSelectedSpaceId();
ChildAssociationRef childAssocRef = nodeService.getPrimaryParent(destRef);
workingCopyRef = property.getVersionOperationsService().checkout(node.getNodeRef(), destRef, ContentModel.ASSOC_CONTAINS, childAssocRef.getQName());
}
else
{
// checkout the content to the current space
workingCopyRef = property.getVersionOperationsService().checkout(node.getNodeRef());
// if this is a workflow action and there is a task id
// present we need
// to also link the working copy to the workflow package so
// it appears
// in the resources panel in the manage task dialog
if (property.isWorkflowAction() && property.getWorkflowTaskId() != null && (property.getWorkflowTaskId().equals("null") == false))
{
WorkflowTask task = property.getWorkflowService().getTaskById(property.getWorkflowTaskId());
if (task != null)
{
NodeRef workflowPackage = (NodeRef) task.properties.get(WorkflowModel.ASSOC_PACKAGE);
if (workflowPackage != null)
{
nodeService.addChild(workflowPackage, workingCopyRef, ContentModel.ASSOC_CONTAINS, QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, QName
.createValidLocalName((String) nodeService.getProperty(workingCopyRef, ContentModel.PROP_NAME))));
if (logger.isDebugEnabled())
logger.debug("Added working copy to workflow package: " + workflowPackage);
}
}
}
}
// set the working copy Node instance
Node workingCopy = new Node(workingCopyRef);
property.setWorkingDocument(workingCopy);
// create content URL to the content download servlet with ID
// and expected filename
// the myfile part will be ignored by the servlet but gives the
// browser a hint
String url = DownloadContentServlet.generateDownloadURL(workingCopyRef, workingCopy.getName());
workingCopy.getProperties().put("url", url);
workingCopy.getProperties().put("fileType32", Utils.getFileTypeImage(workingCopy.getName(), false));
}
catch (Throwable err)
{
Utils.addErrorMessage(Application.getMessage(FacesContext.getCurrentInstance(), MSG_ERROR_CHECKOUT) + err.getMessage(), err);
}
}
else
{
logger.warn("WARNING: checkoutFile called without a current Document!");
}
}
}

View File

@@ -4,7 +4,7 @@
<faces-config> <faces-config>
<!-- ==================== MANAGED BEANS ==================== --> <!-- ==================== MANAGED BEANS ==================== -->
<managed-bean> <managed-bean>
<description> <description>
The bean for the Delete Category screen. The bean for the Delete Category screen.
@@ -43,7 +43,7 @@
<value>#{DocumentDetailsDialog.translationDocument}</value> <value>#{DocumentDetailsDialog.translationDocument}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that make a document multilingual The bean that make a document multilingual
@@ -755,7 +755,7 @@
<value>#{FormsService}</value> <value>#{FormsService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the Edit Content Wizard The bean that backs up the Edit Content Wizard
@@ -1135,7 +1135,7 @@
<managed-property> <managed-property>
<property-name>tenantService</property-name> <property-name>tenantService</property-name>
<value>#{tenantService}</value> <value>#{tenantService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
@@ -1301,10 +1301,6 @@
<managed-bean-name>CCProperties</managed-bean-name> <managed-bean-name>CCProperties</managed-bean-name>
<managed-bean-class>org.alfresco.web.bean.coci.CCProperties</managed-bean-class> <managed-bean-class>org.alfresco.web.bean.coci.CCProperties</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope> <managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>versionQueryService</property-name>
<value>#{VersionService}</value>
</managed-property>
<managed-property> <managed-property>
<property-name>versionOperationsService</property-name> <property-name>versionOperationsService</property-name>
<value>#{CheckoutCheckinService}</value> <value>#{CheckoutCheckinService}</value>
@@ -1318,29 +1314,6 @@
<value>#{WorkflowService}</value> <value>#{WorkflowService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean>
<description>The bean that help with edit offline procedure.</description>
<managed-bean-name>EditOfflineDialog</managed-bean-name>
<managed-bean-class>org.alfresco.web.bean.content.EditOfflineDialog</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>browseBean</property-name>
<value>#{BrowseBean}</value>
</managed-property>
<managed-property>
<property-name>navigator</property-name>
<value>#{NavigationBean}</value>
</managed-property>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
<managed-property>
<property-name>property</property-name>
<value>#{CCProperties}</value>
</managed-property>
</managed-bean>
<managed-bean> <managed-bean>
<description>The bean that backs up the Checkin and Checkout pages.</description> <description>The bean that backs up the Checkin and Checkout pages.</description>
@@ -1364,7 +1337,7 @@
<value>#{CCProperties}</value> <value>#{CCProperties}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description>The bean for the Update File Screen.</description> <description>The bean for the Update File Screen.</description>
<managed-bean-name>CCUpdateFileDialog</managed-bean-name> <managed-bean-name>CCUpdateFileDialog</managed-bean-name>
@@ -1377,28 +1350,7 @@
<value>#{CCProperties}</value> <value>#{CCProperties}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean>
<description>The bean for the Upload a new versoin Screen.</description>
<managed-bean-name>UploadNewVersionDialog</managed-bean-name>
<managed-bean-class>
org.alfresco.web.bean.coci.UploadNewVersionDialog
</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>property</property-name>
<value>#{CCProperties}</value>
</managed-property>
<managed-property>
<property-name>navigator</property-name>
<value>#{NavigationBean}</value>
</managed-property>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
</managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that holds manage content rules state The bean that holds manage content rules state
@@ -1427,7 +1379,7 @@
<value>#{NavigationBean}</value> <value>#{NavigationBean}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that holds delete content rules state The bean that holds delete content rules state
@@ -1529,7 +1481,7 @@
<property-name>ownableService</property-name> <property-name>ownableService</property-name>
<value>#{OwnableService}</value> <value>#{OwnableService}</value>
</managed-property> </managed-property>
<managed-property> <managed-property>
<property-name>navigator</property-name> <property-name>navigator</property-name>
<value>#{NavigationBean}</value> <value>#{NavigationBean}</value>
@@ -1609,7 +1561,7 @@
<value>#{CopyService}</value> <value>#{CopyService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
Backing bean used by the forum details dialog Backing bean used by the forum details dialog
@@ -1633,7 +1585,7 @@
<property-name>ownableService</property-name> <property-name>ownableService</property-name>
<value>#{OwnableService}</value> <value>#{OwnableService}</value>
</managed-property> </managed-property>
<managed-property> <managed-property>
<property-name>navigator</property-name> <property-name>navigator</property-name>
<value>#{NavigationBean}</value> <value>#{NavigationBean}</value>
@@ -1643,7 +1595,7 @@
<value>#{PermissionService}</value> <value>#{PermissionService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
Backing bean used by the forums details dialog Backing bean used by the forums details dialog
@@ -1676,7 +1628,7 @@
<value>#{PermissionService}</value> <value>#{PermissionService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
Backing bean used by the topic details dialog Backing bean used by the topic details dialog
@@ -1700,7 +1652,7 @@
<property-name>ownableService</property-name> <property-name>ownableService</property-name>
<value>#{OwnableService}</value> <value>#{OwnableService}</value>
</managed-property> </managed-property>
<managed-property> <managed-property>
<property-name>navigator</property-name> <property-name>navigator</property-name>
<value>#{NavigationBean}</value> <value>#{NavigationBean}</value>
@@ -2587,7 +2539,7 @@
<property-name>workflowService</property-name> <property-name>workflowService</property-name>
<value>#{WorkflowService}</value> <value>#{WorkflowService}</value>
</managed-property> </managed-property>
<managed-property> <managed-property>
<property-name>unprotectedNodeService</property-name> <property-name>unprotectedNodeService</property-name>
<value>#{nodeService}</value> <value>#{nodeService}</value>
</managed-property> </managed-property>
@@ -2765,7 +2717,7 @@
<value>#{workflowInterpreter}</value> <value>#{workflowInterpreter}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description>Backing bean used for the Web Client Config Admin Console</description> <description>Backing bean used for the Web Client Config Admin Console</description>
<managed-bean-name>ConfigAdminConsoleBean</managed-bean-name> <managed-bean-name>ConfigAdminConsoleBean</managed-bean-name>
@@ -2798,7 +2750,7 @@
<value>#{tenantInterpreter}</value> <value>#{tenantInterpreter}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the Email Space Users Dialog The bean that backs up the Email Space Users Dialog
@@ -2876,7 +2828,7 @@
</managed-bean> </managed-bean>
<!-- ==================== WCM BEANS ==================== --> <!-- ==================== WCM BEANS ==================== -->
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the Create XML Content Type Wizard The bean that backs up the Create XML Content Type Wizard
@@ -2974,7 +2926,7 @@
<value>#{FormsService}</value> <value>#{FormsService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the Create XML Content Type Wizard (WCM) The bean that backs up the Create XML Content Type Wizard (WCM)
@@ -3186,7 +3138,7 @@
<value>#{FormsService}</value> <value>#{FormsService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the Edit Web Content Wizard The bean that backs up the Edit Web Content Wizard
@@ -3511,7 +3463,7 @@
<value>#{FormsService}</value> <value>#{FormsService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the Snapshot Sandbox Dialog The bean that backs up the Snapshot Sandbox Dialog
@@ -4192,7 +4144,7 @@
</managed-property> </managed-property>
--> -->
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
Bean that generates a link component Bean that generates a link component
@@ -4520,7 +4472,7 @@
<managed-bean-class>org.alfresco.web.bean.ajax.PresenceProxyBean</managed-bean-class> <managed-bean-class>org.alfresco.web.bean.ajax.PresenceProxyBean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope> <managed-bean-scope>request</managed-bean-scope>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
Bean backing the ajax requests for the ajax based picker components Bean backing the ajax requests for the ajax based picker components
@@ -4635,7 +4587,7 @@
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<!-- This is the bean for managing the profiles of one IG --> <!-- This is the bean for managing the profiles of one IG -->
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the view of the Versioned Properties The bean that backs up the view of the Versioned Properties
@@ -4666,7 +4618,7 @@
<value>#{ContentFilterLanguagesService}</value> <value>#{ContentFilterLanguagesService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the New User Wizard The bean that backs up the New User Wizard
@@ -4766,7 +4718,7 @@
<managed-property> <managed-property>
<property-name>tenantService</property-name> <property-name>tenantService</property-name>
<value>#{tenantService}</value> <value>#{tenantService}</value>
</managed-property> </managed-property>
<managed-property> <managed-property>
<property-name>ownableService</property-name> <property-name>ownableService</property-name>
<value>#{OwnableService}</value> <value>#{OwnableService}</value>
@@ -4970,7 +4922,7 @@
<value>#{DictionaryService}</value> <value>#{DictionaryService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean for the Edit Category screen. The bean for the Edit Category screen.
@@ -5042,7 +4994,7 @@
<value>#{BrowseBean}</value> <value>#{BrowseBean}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description>The bean for Apply RSS Template Screen.</description> <description>The bean for Apply RSS Template Screen.</description>
<managed-bean-name>ApplyRssTemplateDialog</managed-bean-name> <managed-bean-name>ApplyRssTemplateDialog</managed-bean-name>
@@ -5110,7 +5062,7 @@
<value>#{NodeService}</value> <value>#{NodeService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description>The bean for Change Current User Password Screen.</description> <description>The bean for Change Current User Password Screen.</description>
<managed-bean-name>ChangeMyPasswordDialog</managed-bean-name> <managed-bean-name>ChangeMyPasswordDialog</managed-bean-name>
@@ -5465,20 +5417,6 @@
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean>
<description>The bean for the Cancel Editing File Screen.</description>
<managed-bean-name>CancelEditingDialog</managed-bean-name>
<managed-bean-class>
org.alfresco.web.bean.coci.CancelEditingDialog
</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>property</property-name>
<value>#{CCProperties}</value>
</managed-property>
</managed-bean>
<managed-bean> <managed-bean>
<description>The bean for the Working Copy Missing Screen.</description> <description>The bean for the Working Copy Missing Screen.</description>
<managed-bean-name>CCWorkingCopyMissingDialog</managed-bean-name> <managed-bean-name>CCWorkingCopyMissingDialog</managed-bean-name>
@@ -5491,7 +5429,7 @@
<value>#{CCProperties}</value> <value>#{CCProperties}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description>The bean for the Checkin File Screen.</description> <description>The bean for the Checkin File Screen.</description>
<managed-bean-name>CCCheckinFileDialog</managed-bean-name> <managed-bean-name>CCCheckinFileDialog</managed-bean-name>
@@ -5504,24 +5442,7 @@
<value>#{CCProperties}</value> <value>#{CCProperties}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean>
<description>The bean for the Done-Editing File Screen(New commit dialog).</description>
<managed-bean-name>CCDoneEditingDialog</managed-bean-name>
<managed-bean-class>
org.alfresco.web.bean.coci.CCDoneEditingDialog
</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>property</property-name>
<value>#{CCProperties}</value>
</managed-property>
<managed-property>
<property-name>nodeService</property-name>
<value>#{NodeService}</value>
</managed-property>
</managed-bean>
<managed-bean> <managed-bean>
<description>The bean for the Edit Search Screen.</description> <description>The bean for the Edit Search Screen.</description>
<managed-bean-name>EditSearchDialog</managed-bean-name> <managed-bean-name>EditSearchDialog</managed-bean-name>
@@ -5579,7 +5500,7 @@
<value>#{SearchProperties}</value> <value>#{SearchProperties}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<description> <description>
The bean that backs up the Create Project Dialog The bean that backs up the Create Project Dialog
@@ -5633,7 +5554,7 @@
<value>#{AboutBean}</value> <value>#{AboutBean}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<managed-bean-name>CategoryBrowserPluginBean</managed-bean-name> <managed-bean-name>CategoryBrowserPluginBean</managed-bean-name>
<managed-bean-class>org.alfresco.web.bean.ajax.CategoryBrowserPluginBean</managed-bean-class> <managed-bean-class>org.alfresco.web.bean.ajax.CategoryBrowserPluginBean</managed-bean-class>
@@ -5647,7 +5568,7 @@
<value>#{CategoryService}</value> <value>#{CategoryService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
<managed-bean> <managed-bean>
<managed-bean-name>CategoryBrowserBean</managed-bean-name> <managed-bean-name>CategoryBrowserBean</managed-bean-name>
<managed-bean-class>org.alfresco.web.bean.CategoryBrowserBean</managed-bean-class> <managed-bean-class>org.alfresco.web.bean.CategoryBrowserBean</managed-bean-class>
@@ -5657,5 +5578,5 @@
<value>#{NodeService}</value> <value>#{NodeService}</value>
</managed-property> </managed-property>
</managed-bean> </managed-bean>
</faces-config> </faces-config>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 852 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 859 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 847 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 B

View File

@@ -1,48 +0,0 @@
<%--
* Copyright (C) 2005-2007 Alfresco Software Limited.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
--%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
<f:verbatim>
<table cellspacing="0" cellpadding="3" border="0" width="100%">
<tr>
<td width="100%" valign="top">
<% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc"); %>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign=top style="padding-top:2px" width=20></f:verbatim><h:graphicImage url="/images/icons/info_icon.gif" width="16" height="16"/><f:verbatim></td>
<td class="mainSubText"></f:verbatim><h:outputText value="#{msg.cancel_editing_info}" /><f:verbatim></td>
</tr>
</table>
<% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner"); %>
</td>
</tr>
</table>
</f:verbatim>

View File

@@ -1,101 +0,0 @@
<%--
* Copyright (C) 2005-2007 Alfresco Software Limited.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
--%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
<%@ page isELIgnored="false"%>
<%@page import="org.alfresco.web.ui.common.PanelGenerator"%>
<a:booleanEvaluator value="#{!DialogManager.bean.versionable}">
<f:verbatim>
<table cellspacing="0" cellpadding="3" border="0" width="100%">
<tr>
<td width="100%" valign="top">
<% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc"); %>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td valign=top style="padding-top:2px" width=20></f:verbatim><h:graphicImage url="/images/icons/info_icon.gif" width="16" height="16"/><f:verbatim></td>
<td class="mainSubText"> </f:verbatim>
<h:outputText value="#{msg.done_editing}?" /> <f:verbatim>
</td>
</tr>
</table>
<% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner"); %>
</td>
</tr>
</table>
</f:verbatim>
</a:booleanEvaluator>
<a:booleanEvaluator value="#{DialogManager.bean.versionable}">
<f:verbatim>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td>
<table cellpadding="2" cellspacing="2" border="0" width="100%">
<tr>
<td class="wizardSectionHeading"> </f:verbatim>
<h:outputText value="#{msg.version_info}" rendered="#{DialogManager.bean.versionable}" /> <f:verbatim>
</td>
</tr>
<tr>
<td> </f:verbatim>
<h:outputText value="#{msg.new_version_has}" escape="false" rendered="#{DialogManager.bean.versionable}" /> <f:verbatim>
</td>
</tr>
<tr>
<td> </f:verbatim>
<h:selectOneRadio value="#{CCProperties.minorChange}" layout="pageDirection" rendered="#{DialogManager.bean.versionable}" >
<f:selectItem itemValue="#{true}" itemLabel="#{msg.minor_changes} (#{DialogManager.bean.minorNewVersionLabel})" />
<f:selectItem itemValue="#{false}" itemLabel="#{msg.major_changes} (#{DialogManager.bean.majorNewVersionLabel})" />
</h:selectOneRadio> <f:verbatim>
</span> <br/>
</td>
</tr>
<tr>
<td> </f:verbatim>
<h:outputText value="#{msg.version_notes}" rendered="#{DialogManager.bean.versionable}" /> <f:verbatim>
</td>
</tr>
<tr>
<td> </f:verbatim>
<h:inputTextarea value="#{CCProperties.versionNotes}" rows="4" cols="50" rendered="#{DialogManager.bean.versionable}" /> <f:verbatim>
</span></td>
</tr>
<tr>
<td class="paddingRow"> </td>
</tr>
</table>
</td>
</tr>
</table>
</f:verbatim>
</a:booleanEvaluator>

View File

@@ -1,61 +0,0 @@
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="a" uri="/WEB-INF/alfresco.tld" %>
<%@taglib prefix="c" uri="/WEB-INF/c.tld" %>
<script type="text/javascript">
<!--
setTimeout("document.location.href=" + "\'" + document.getElementById("url") + "\'", 10000);
//-->
</script>
<script type="text/javascript">
<!--
function timer(second)
{
document.getElementById("time").innerHTML = second;
second--;
if (second >=0)
{
window.setTimeout('timer('+second+')', 1000);
}
}
//-->
</script>
<f:verbatim>
<body onload="timer(10)">
&nbsp;&nbsp;&nbsp;</f:verbatim><h:outputText value="#{msg.offline_download_first}"/>
<f:verbatim>&nbsp;<b id="time">10</b>&nbsp;</f:verbatim>
<h:outputText value="#{msg.offline_download_second}"/><f:verbatim>&nbsp;</f:verbatim>
<a:actionLink id="url" style="text-decoration: underline;" value="#{msg.click_here}" href="#{CCProperties.document.properties.url}"/>
<f:verbatim><br/><br/>
&nbsp;&nbsp;&nbsp;</f:verbatim><h:outputText value="#{msg.offline_download_third}"/><f:verbatim>&nbsp;</f:verbatim>
<a:actionLink value="#{msg.click_here}"
action="dialog:userConsole"
actionListener="#{UsersDialog.setupUserAction}"
style="text-decoration: underline;">
<f:param name="id" value="#{NavigationBean.currentUser.person.id}" />
</a:actionLink>
<f:verbatim><br/><br/>&nbsp;&nbsp;&nbsp;</f:verbatim>
<h:graphicImage url="/images/icons/Help_icon.gif" alt="#{msg.help}"/><f:verbatim>&nbsp;&nbsp;</f:verbatim>
<h:outputText value="#{msg.offline_help}"/><f:verbatim>&nbsp;</f:verbatim>
<a:actionLink style="text-decoration: underline;" value="#{msg.click_here}" target="_blank" href="http://wiki.alfresco.com/wiki/Main_Page"/>
<f:verbatim>
<br/>
</f:verbatim>

View File

@@ -1,160 +0,0 @@
<%--
* Copyright (C) 2005-2007 Alfresco Software Limited.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* As a special exception to the terms and conditions of version 2.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* and Open Source Software ("FLOSS") applications as described in Alfresco's
* FLOSS exception. You should have recieved a copy of the text describing
* the FLOSS exception, and it is also available here:
* http://www.alfresco.com/legal/licensing"
--%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
<%@ page import="org.alfresco.web.bean.coci.UploadNewVersionDialog"%>
<%@ page import="org.alfresco.web.app.servlet.FacesHelper"%>
<%@ page import="javax.faces.context.FacesContext"%>
<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
<%
boolean fileUploaded = false;
UploadNewVersionDialog dialog = (UploadNewVersionDialog) FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "UploadNewVersionDialog");
if (dialog != null && dialog.getFileName() != null)
{
fileUploaded = true;
}
%>
<f:verbatim>
<script type="text/javascript" src="<%=request.getContextPath()%>/scripts/validation.js"> </script>
<%
if (fileUploaded)
{
PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");
out.write("<img alt='' align='absmiddle' src='");
out.write(request.getContextPath());
out.write("/images/icons/info_icon.gif' />&nbsp;&nbsp;");
out.write(dialog.getFileUploadSuccessMsg());
PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");
out.write("<div style='padding:2px;'></div>");
}
%>
<table cellpadding="2" cellspacing="2" border="0" width="100%">
</f:verbatim>
<a:booleanEvaluator value="#{empty DialogManager.bean.fileName}" ><f:verbatim>
<tr>
<td class="wizardSectionHeading"></f:verbatim><h:outputText value="#{msg.local_copy_location}" /><f:verbatim></td>
</tr>
<tr>
<td></f:verbatim>
<h:panelGrid id="upload_panel" columns="2" cellpadding="2" cellspacing="2" border="0" width="100%" columnClasses="panelGridLabelColumn,panelGridValueColumn" >
<h:outputText value="#{msg.locate_content_upload}" style="padding-left:8px"/>
<f:verbatim/>
<h:outputText id="out_schema" value="#{msg.file_location}:" style="padding-left:8px" />
<h:column id="upload_empty" rendered="#{empty DialogManager.bean.fileName}">
<r:upload id="uploader" value="#{DialogManager.bean.fileName}" framework="dialog"/>
</h:column>
</h:panelGrid>
<f:verbatim>
</td>
</tr>
</f:verbatim>
</a:booleanEvaluator>
<f:verbatim>
<tr>
<td>
</f:verbatim>
<%
if (fileUploaded)
{
%>
<a:booleanEvaluator value="#{DialogManager.bean.versionable}" >
<f:verbatim>
<table cellpadding="2" cellspacing="2" border="0" width="100%">
<tr>
<td class="wizardSectionHeading"> </f:verbatim>
<h:outputText value="#{msg.version_info}" /> <f:verbatim>
</td>
</tr>
<tr>
<td> </f:verbatim>
<h:outputText value="#{msg.new_version_has}" escape="false" /> <f:verbatim>
</td>
</tr>
<tr>
<td> </f:verbatim>
<h:selectOneRadio id="vvvv" value="#{CCProperties.minorChange}" required="true" layout="pageDirection" rendered="#{DialogManager.bean.versionable}">
<f:selectItem itemValue="#{true}" itemLabel="#{msg.minor_changes} (#{DialogManager.bean.minorNewVersionLabel})" />
<f:selectItem itemValue="#{false}" itemLabel="#{msg.major_changes} (#{DialogManager.bean.majorNewVersionLabel})" />
</h:selectOneRadio>
<h:message for="vvvv"></h:message>
<f:verbatim>
</span> <br/>
</td>
</tr>
<tr>
<td> </f:verbatim>
<h:outputText value="#{msg.version_notes}" /> <f:verbatim>
</td>
</tr>
<tr>
<td> </f:verbatim>
<h:inputTextarea value="#{CCProperties.versionNotes}" rows="4" cols="50" /> <f:verbatim>
</span></td>
</tr>
<tr>
<td class="paddingRow"></td>
</tr>
</table> </f:verbatim>
</a:booleanEvaluator>
<f:verbatim>
</td>
</tr>
</f:verbatim>
<f:verbatim>
<tr>
<td class="wizardSectionHeading"></f:verbatim><h:outputText value="#{msg.other_options}" /><f:verbatim></td>
</tr>
<tr>
<td>
</f:verbatim>
<h:selectBooleanCheckbox value="#{DialogManager.bean.finishedEditing}"/> <h:outputText value="#{msg.done_editing_file}"/>
<f:verbatim>
</td>
</tr>
</f:verbatim>
<%
}
%>
<f:verbatim>
</table>
</f:verbatim>