-
Improvement
-
Resolution: Unresolved
-
Major
-
2.0.0
-
None
-
None
-
1 - Middle term
-
2 - Normal
- Define a ChooseProjectTag.js which call Ametys.cms.uihelper.ChooseTagHelper (see ChooseTag.js in the cms)
- Define a create action in the ProjectTagAction.js to be call by the ChooseTagHelper
create: function (parentId, callback) { Ametys.plugins.workspaces.project.tag.ProjectTagActions._initFormPanel(); Ametys.plugins.cms.tag.TagHelper.add( parentId, Ametys.plugins.workspaces.project.tag.ProjectTagActions._formPanel, Ametys.message.MessageTarget.PROJECT_TAG, "org.ametys.plugins.workspaces.tags.ProjectJCRTagsDAO", null ); }
- Define a pipeline tags.json to getAll the tags
- Define an action GetProjectTagsAction which extends AbstractGetTagsAction
Handle rights in this action
- define a ProjectTagDAO which extends AbstractTagsDAO
- Define a right to tag a project
- Define a ProjectTreePanel.js which extends Ametys.plugins.cms.tag.TagsTreePanel
- Define a AffectProjectTagAction.js to launch action to selectTag
- Dépend de
-
WORKSPACES-530 Add BO widgets to choose categories, tags or keywords
- Closed