You are not logged in.
Pages: 1
Ok, j'ai enlevé les 2 balises en trop. par contre je n'ai pas le bouton "cmis". J'ai sans doute fait une autre erreur..
Bonjour,
Tout d'abord, merci de passer du temps à me répondre.
Alors, j'ai pas l'impression de mettre planté...mais je ne vois pas le bouton "cmis"dans le bandeau PJ d'une page.
Voici le code:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2010 Anyware Services
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<ribbon xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ametys.org/cms/3.0/ribbon.xsd">
<tabs>
<tab label="RIBBON_TABS_TAB_HOME_LABEL">
<groups>
<group label="RIBBON_TABS_TAB_HOME_GROUPS_GROUP_TOOL_LABEL" icon="">
<large>
<control id="org.ametys.web.userinterface.Sitemap"/>
<control id="org.ametys.web.Search"/>
<control id="org.ametys.dashboard.Tool"/>
<control id="org.ametys.web.userinterface.Tags"/>
<control id="org.ametys.web.explorer.userinterface.ResourcesExplorerLeft"/>
<control id="org.ametys.web.GlobalConsistencyButton"/>
<control id="org.ametys.plugins.glossary.Glossary"/>
</large>
<medium>
<control id="org.ametys.web.userinterface.Sitemap"/>
<layout size="small" cols="2">
<control id="org.ametys.web.Search"/>
<control id="org.ametys.dashboard.Tool"/>
<control id="org.ametys.web.userinterface.Tags"/>
<control id="org.ametys.web.explorer.userinterface.ResourcesExplorerLeft"/>
<control id="org.ametys.web.GlobalConsistencyButton"/>
<control id="org.ametys.plugins.glossary.Glossary"/>
</layout>
</medium>
<small>
<control id="org.ametys.web.userinterface.Sitemap"/>
<layout size="very-small" cols="2">
<control id="org.ametys.web.Search"/>
<control id="org.ametys.dashboard.Tool"/>
<control id="org.ametys.web.userinterface.Tags"/>
<control id="org.ametys.web.explorer.userinterface.ResourcesExplorerLeft"/>
<control id="org.ametys.web.GlobalConsistencyButton"/>
<control id="org.ametys.plugins.glossary.Glossary"/>
</layout>
</small>
</group>
<group label="RIBBON_TABS_TAB_HOME_GROUPS_GROUP_ADVANCED_TOOL_LABEL" icon="">
<large>
<control id="org.ametys.newsletter.userinterface.Newsletters"/>
<control id="org.ametys.plugins.ugc.Search"/>
<control id="org.ametys.datainclusion.tool.DataSources"/>
<control id="org.ametys.web.userinterface.Alias"/>
<control id="org.ametys.survey.SurveyTool"/>
</large>
<medium>
<control id="org.ametys.newsletter.userinterface.Newsletters"/>
<control id="org.ametys.plugins.ugc.Search"/>
<layout size="small">
<control id="org.ametys.datainclusion.tool.DataSources"/>
<control id="org.ametys.web.userinterface.Alias"/>
<control id="org.ametys.survey.SurveyTool"/>
</layout>
</medium>
<small/>
</group>
<group label="RIBBON_TABS_TAB_HOME_GROUPS_GROUP_ADMIN_TOOL_LABEL" icon="">
<large/>
<medium>
<control id="org.ametys.web.userinterface.Unlock"/>
<control id="org.ametys.cms.rights.RightsAssignmentMenu"/>
</medium>
<small/>
</group>
<group label="RIBBON_TABS_TAB_HOME_GROUPS_GROUP_HELP_LABEL" icon="">
<large></large>
<medium>
<control id="org.ametys.cms.help.HelpButton"/>
</medium>
<small></small>
</group>
</groups>
</tab>
<tab label="RIBBON_TABS_TAB_RIGHTS_HANDLE_LABEL">
<groups>
<group label="RIBBON_TABS_TAB_RIGHTS_HANDLE_USERS_GROUPS_LABEL" icon="">
<large></large>
<medium>
<control id="org.ametys.cms.tool.user.User"/>
<control id="org.ametys.web.tool.user.FOUsers"/>
<control id="org.ametys.cms.rights.group.Group"/>
<control id="org.ametys.web.rights.profiles.Profiles"/>
</medium>
<small/>
</group>
<group label="RIBBON_TABS_TAB_RIGHTS_HANDLE_RIGHTS_ASSIGNMENT_CONTEXT_LABEL" icon="">
<large>
<control id="org.ametys.cms.rights.assignment.tool.Application"/>
<control id="org.ametys.cms.rights.assignment.tool.Contents"/>
<control id="org.ametys.web.rights.assignment.tool.Sitemap"/>
<control id="org.ametys.web.rights.assignment.tool.Resources"/>
</large>
<medium>
<control id="org.ametys.cms.rights.assignment.tool.Application"/>
<layout size="small">
<control id="org.ametys.cms.rights.assignment.tool.Contents"/>
<control id="org.ametys.web.rights.assignment.tool.Sitemap"/>
<control id="org.ametys.web.rights.assignment.tool.Resources"/>
</layout>
</medium>
<small>
<control id="org.ametys.cms.rights.assignment.tool.Application"/>
<layout size="very-small">
<control id="org.ametys.cms.rights.assignment.tool.Contents"/>
<control id="org.ametys.web.rights.assignment.tool.Sitemap"/>
<control id="org.ametys.web.rights.assignment.tool.Resources"/>
</layout>
</small>
</group>
</groups>
</tab>
<tab label="RIBBON_TABS_TAB_DEVELOPPER_LABEL">
<groups>
<group label="RIBBON_TABS_TAB_DEVELOPPER_GROUPS_GROUP_MESSAGES_LABEL" icon="">
<large>
<control id="org.ametys.cms.userinterface.MessageTrackerControl"/>
<layout size="small">
<control id="org.ametys.cms.userinterface.MessageTrackerControl.clear"/>
</layout>
</large>
<medium>
<control id="org.ametys.cms.userinterface.MessageTrackerControl"/>
<layout size="very-small">
<control id="org.ametys.cms.userinterface.MessageTrackerControl.clear"/>
</layout>
</medium>
<small/>
</group>
<group label="RIBBON_TABS_TAB_DEVELOPPER_GROUPS_GROUP_REQUESTS_LABEL" icon="">
<large>
<control id="org.ametys.cms.userinterface.RequestTrackerControl"/>
<layout size="small">
<control id="org.ametys.cms.userinterface.RequestTrackerControl.clear"/>
</layout>
</large>
<medium>
<control id="org.ametys.cms.userinterface.RequestTrackerControl"/>
<layout size="very-small">
<control id="org.ametys.cms.userinterface.RequestTrackerControl.clear"/>
</layout>
</medium>
<small></small>
</group>
<group label="RIBBON_TABS_TAB_DEVELOPPER_GROUPS_GROUP_EDITOR_LABEL" icon="">
<large/>
<medium>
<control id="org.ametys.cms.editor.SourceEdit"/>
</medium>
<small/>
</group>
<group label="RIBBON_TABS_TAB_DEVELOPPER_GROUPS_GROUP_INTEGRATOR_LABEL" icon="">
<large/>
<medium>
<control id="org.ametys.skineditor.tool.SkinEditorTool"/>
<!-- control id="org.ametys.skinfactory.SkinFactoryButton"/-->
</medium>
<small/>
</group>
<group label="RIBBON_TABS_TAB_DEVELOPPER_GROUPS_GROUP_DEVELOPER_LABEL" icon="">
<large/>
<medium>
<control id="org.ametys.cms.userinterface.debug.UI"/>
</medium>
<small/>
</group>
</groups>
</tab>
<!-- Rights -->
<import>plugin:cms://ribbon/cms-ribbon-rights.xml</import>
<import>plugin:web://ribbon/cms-ribbon-rights.xml</import>
<tab label="plugin.web:RIBBON_TABS_TAB_PAGE_LABEL" id="org.ametys.cms.page.Tab" contextualColor="2" contextualGroup="A" contextualLabel="plugin.web:RIBBON_TABS_TAB_PAGE_LABEL">
<groups>
<group label="plugin.web:RIBBON_TABS_TAB_PAGE_GROUPS_GROUP_SITEMAP_LABEL" icon="">
<large>
<control id="org.ametys.web.userinterface.AddPage"/>
<control id="org.ametys.web.userinterface.OpenPage"/>
<control id="org.ametys.web.userinterface.RenamePage"/>
<control id="org.ametys.web.userinterface.DeletePage"/>
<control id="org.ametys.web.userinterface.CopyPage"/>
<control id="org.ametys.web.userinterface.PastePage"/>
</large>
<medium>
<control id="org.ametys.web.userinterface.AddPage"/>
<layout size="small">
<control id="org.ametys.web.userinterface.OpenPage"/>
<control id="org.ametys.web.userinterface.RenamePage"/>
<control id="org.ametys.web.userinterface.DeletePage"/>
</layout>
<layout size="small">
<control id="org.ametys.web.userinterface.CopyPage"/>
<control id="org.ametys.web.userinterface.PastePage"/>
</layout>
</medium>
<small>
<control id="org.ametys.web.userinterface.AddPage"/>
<layout size="small">
<control id="org.ametys.web.userinterface.OpenPage"/>
<control id="org.ametys.web.userinterface.RenamePage"/>
<control id="org.ametys.web.userinterface.DeletePage"/>
</layout>
<layout size="very-small">
<control id="org.ametys.web.userinterface.CopyPage"/>
<control id="org.ametys.web.userinterface.PastePage"/>
</layout>
</small>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_PAGE_GROUPS_GROUP_PAGETYPE_LABEL" icon="">
<large>
</large>
<medium>
<control id="org.ametys.web.blankpage"/>
<control id="org.ametys.web.linkpage"/>
<control id="org.ametys.web.templatesmenu"/>
</medium>
<small>
<layout size="small">
<control id="org.ametys.web.blankpage"/>
<control id="org.ametys.web.linkpage"/>
<control id="org.ametys.web.templatesmenu"/>
</layout>
</small>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_PAGE_GROUPS_GROUP_PAGE_LABEL" icon="">
<large>
<control id="org.ametys.web.userinterface.Tag"/>
<control id="org.ametys.web.pageaccess.SetAccess"/>
<control id="org.ametys.web.userinterface.Attachments"/>
<control id="org.ametys.web.userinterface.Robots"/>
<control id="org.ametys.translationflagging.SetTranslation"/>
<control id="org.ametys.web.page.Properties"/>
</large>
<medium>
<layout align="top" size="small" cols="2">
<control id="org.ametys.web.userinterface.Tag"/>
<control id="org.ametys.web.pageaccess.SetAccess"/>
<control id="org.ametys.web.userinterface.Attachments"/>
<control id="org.ametys.web.userinterface.Robots"/>
<control id="org.ametys.translationflagging.SetTranslation"/>
<control id="org.ametys.web.page.Properties"/>
</layout>
</medium>
<small>
<control id="org.ametys.web.userinterface.Tag"/>
<layout align="top" size="very-small" cols="2">
<control id="org.ametys.web.pageaccess.SetAccess"/>
<control id="org.ametys.web.userinterface.Attachments"/>
<control id="org.ametys.web.userinterface.Robots"/>
<control id="org.ametys.translationflagging.SetTranslation"/>
<control id="org.ametys.web.page.Properties"/>
</layout>
</small>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_PAGE_GROUPS_GROUP_ZONE_LABEL" icon="" priority="10">
<large>
<control id="org.ametys.web.addcontent"/>
<control id="org.ametys.web.addservice"/>
<layout align="top" size="small">
<control id="org.ametys.web.configureservice"/>
<control id="org.ametys.web.removezoneitem"/>
</layout>
</large>
<medium>
<control id="org.ametys.web.addcontent"/>
<layout align="top" size="small">
<control id="org.ametys.web.addservice"/>
<control id="org.ametys.web.configureservice"/>
<control id="org.ametys.web.removezoneitem"/>
</layout>
</medium>
<small>
<control id="org.ametys.web.addcontent"/>
<layout align ="top" size="very-small">
<control id="org.ametys.web.addservice"/>
<control id="org.ametys.web.configureservice"/>
<control id="org.ametys.web.removezoneitem"/>
</layout>
</small>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_PAGE_GROUPS_GROUP_PUBLICATION_LABEL" icon="">
<large>
<control id="org.ametys.web.publication.schedule"/>
<control id="org.ametys.web.preview"/>
<control id="org.ametys.web.livepreview"/>
</large>
<medium>
<layout align ="top" size="small">
<control id="org.ametys.web.publication.schedule"/>
<control id="org.ametys.web.preview"/>
<control id="org.ametys.web.livepreview"/>
</layout>
</medium>
<small/>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_PAGE_GROUPS_GROUP_TOOL_LABEL" icon="">
<large></large>
<medium>
<control id="org.ametys.web.userinterface.ReloadPage"/>
<control id="org.ametys.web.rights.assignment.tool.Sitemap"/>
</medium>
<small/>
</group>
</groups>
</tab>
<tab label="plugin.cms:RIBBON_TABS_TAB_CONTENT_LABEL" id="org.ametys.cms.content.Tab" contextualColor="1" contextualGroup="A" contextualLabel="plugin.web:RIBBON_TABS_TAB_PAGE_LABEL">
<groups>
<group label="plugin.cms:RIBBON_TABS_TAB_CONTENT_GROUPS_GROUP_TOOL_LABEL" icon="" priority="-10">
<large>
<control id="org.ametys.cms.ContentConsistencyTest"/>
<control id="org.ametys.cms.userinterface.History"/>
<control id="org.ametys.cms.repository.comments.view"/>
<control id="org.ametys.web.Details"/>
<control id="org.ametys.forms.ExportForm"/>
<control id="org.ametys.cms.ContentAlerts"/>
<control id="org.ametys.cms.userinterface.Attachments"/>
</large>
<medium>
<!--<control id="org.ametys.plugins.attachment.Button"/>-->
<control id="org.ametys.cms.ContentConsistencyTest"/>
<layout size="small" align="top">
<control id="org.ametys.cms.userinterface.History"/>
<control id="org.ametys.cms.repository.comments.view"/>
<control id="org.ametys.web.Details"/>
</layout>
<layout size="small" align="top">
<control id="org.ametys.forms.ExportForm"/>
<control id="org.ametys.cms.ContentAlerts"/>
<control id="org.ametys.cms.userinterface.Attachments"/>
</layout>
</medium>
<small>
<control id="org.ametys.cms.ContentConsistencyTest"/>
<layout size="very-small" align="top">
<control id="org.ametys.cms.userinterface.History"/>
<control id="org.ametys.cms.repository.comments.view"/>
<control id="org.ametys.web.Details"/>
</layout>
<layout size="very-small" align="top">
<control id="org.ametys.forms.ExportForm"/>
<control id="org.ametys.cms.ContentAlerts"/>
<control id="org.ametys.cms.userinterface.Attachments"/>
</layout>
</small>
</group>
<group label="plugin.cms:RIBBON_TABS_TAB_CONTENT_GROUPS_GROUP_ACTION_LABEL" icon="">
<large/>
<medium>
<control id="org.ametys.web.workflow.Edit"/>
<control id="org.ametys.web.userinterface.Tag"/>
<control id="org.ametys.web.Unlock"/>
</medium>
<small>
<control id="org.ametys.web.workflow.Edit"/>
<layout size="very-small" align="top">
<control id="org.ametys.web.userinterface.Tag"/>
<control id="org.ametys.web.Unlock"/>
</layout>
</small>
</group>
<group label="plugin.cms:RIBBON_TABS_TAB_CONTENT_GROUPS_GROUP_WORKFLOW_LABEL" icon="">
<large>
<control id="org.ametys.web.workflow.Draft"/>
<control id="org.ametys.web.workflow.Proposed"/>
<control id="org.ametys.web.workflow.Validated"/>
<layout size="small" align="top">
<control id="org.ametys.web.workflow.Unpublish"/>
<control id="org.ametys.web.content.Delete"/>
</layout>
</large>
<medium>
<control id="org.ametys.web.workflow.Draft"/>
<layout size="small" align="top">
<control id="org.ametys.web.workflow.Proposed"/>
<control id="org.ametys.web.workflow.Validated"/>
</layout>
<layout size="small" align="top">
<control id="org.ametys.web.workflow.Unpublish"/>
<control id="org.ametys.web.content.Delete"/>
</layout>
</medium>
<small>
<control id="org.ametys.web.workflow.Draft"/>
<layout size="very-small" align="top">
<control id="org.ametys.web.workflow.Proposed"/>
<control id="org.ametys.web.workflow.Validated"/>
</layout>
<layout size="very-small" align="top">
<control id="org.ametys.web.workflow.Unpublish"/>
<control id="org.ametys.web.content.Delete"/>
</layout>
</small>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_CONTENT_GROUPS_GROUP_PRIVACY_LABEL" icon="">
<large/>
<medium>
<control id="org.ametys.web.contentprivacy"/>
</medium>
<small/>
</group>
</groups>
</tab>
<tab label="plugin.cms:RIBBON_TABS_TAB_OLD_CONTENT_LABEL" id="org.ametys.cms.oldcontent.Tab" contextualColor="1" contextualGroup="A" contextualLabel="plugin.web:RIBBON_TABS_TAB_PAGE_LABEL">
<groups>
<group label="plugin.cms:RIBBON_TABS_TAB_CONTENT_GROUPS_GROUP_RESTORE_LABEL" icon="">
<large></large>
<medium>
<control id="org.ametys.web.workflow.Restore"/>
</medium>
<small/>
</group>
</groups>
</tab>
<tab label="plugin.cms:RIBBON_TABS_TAB_ARCHIVED_CONTENT_LABEL" id="org.ametys.cms.archived.content.Tab" contextualColor="1" contextualGroup="A" contextualLabel="plugin.cms:RIBBON_TABS_TAB_ARCHIVED_CONTENT_LABEL">
<groups>
<group label="plugin.cms:RIBBON_TABS_TAB_ARCHIVED_CONTENT_GROUP_ACTIONS_LABEL" icon="">
<large></large>
<medium>
<control id="org.ametys.web.workflow.Unarchive"/>
</medium>
<small/>
</group>
</groups>
</tab>
<tab label="plugin.cms:RIBBON_TABS_TAB_CONTENT_EDIT_LABEL" id="org.ametys.cms.content.EditionTab" contextualColor="1" contextualGroup="Z" contextualLabel="plugin.cms:RIBBON_TABS_TAB_CONTENT_EDIT_LABEL">
<groups>
<group label="plugin.cms:RIBBON_TABS_TAB_CONTENT_EDIT_GROUPS_GROUP_GENERAL_LABEL" icon="" priority="-10">
<large>
<control id="org.ametys.web.edition.Save"/>
<control id="org.ametys.web.edition.UnSave"/>
<layout size="small">
<control id="org.ametys.cms.edition.Undo"/>
<control id="org.ametys.cms.edition.Redo"/>
</layout>
</large>
<medium>
<control id="org.ametys.web.edition.Save"/>
<layout size="small">
<control id="org.ametys.web.edition.UnSave"/>
<control id="org.ametys.cms.edition.Undo"/>
<control id="org.ametys.cms.edition.Redo"/>
</layout>
</medium>
<small>
<control id="org.ametys.web.edition.Save"/>
<layout size="very-small">
<control id="org.ametys.web.edition.UnSave"/>
<control id="org.ametys.cms.edition.Undo"/>
<control id="org.ametys.cms.edition.Redo"/>
</layout>
</small>
</group>
<group label="plugin.cms:RIBBON_TABS_TAB_CONTENT_EDIT_GROUPS_GROUP_CLIPBOARD_LABEL" icon="" priority="-5">
<large>
<control id="org.ametys.cms.edition.clipboard.Paste"/>
<control id="org.ametys.cms.edition.clipboard.Cut"/>
<control id="org.ametys.cms.edition.clipboard.Copy"/>
</large>
<medium>
<control id="org.ametys.cms.edition.clipboard.Paste"/>
<layout size="small">
<control id="org.ametys.cms.edition.clipboard.Cut"/>
<control id="org.ametys.cms.edition.clipboard.Copy"/>
</layout>
</medium>
<small>
<layout size="small">
<control id="org.ametys.cms.edition.clipboard.Paste"/>
<control id="org.ametys.cms.edition.clipboard.Cut"/>
<control id="org.ametys.cms.edition.clipboard.Copy"/>
</layout>
</small>
</group>
<group label="plugin.cms:RIBBON_TABS_TAB_CONTENT_EDIT_GROUPS_GROUP_CHARACTER_LABEL" icon="">
<large/>
<medium>
<layout cols="2" align="middle" size="small">
<control id="org.ametys.cms.edition.character.Style" colspan="2"/>
<toolbar>
<control id="org.ametys.cms.edition.character.Bold"/>
<control id="org.ametys.cms.edition.character.Italic"/>
<control id="org.ametys.cms.edition.character.Sub"/>
<control id="org.ametys.cms.edition.character.Sup"/>
</toolbar>
<toolbar>
<control id="org.ametys.cms.edition.character.AlignLeft"/>
<control id="org.ametys.cms.edition.character.AlignCenter"/>
<control id="org.ametys.cms.edition.character.AlignRight"/>
<control id="org.ametys.cms.edition.character.AlignJustify"/>
</toolbar>
</layout>
<layout align="middle" size="small">
<toolbar>
<control id="org.ametys.cms.edition.character.UnorderedList"/>
<control id="org.ametys.cms.edition.character.OrderedList"/>
<control id="org.ametys.cms.edition.character.Outdent"/>
<control id="org.ametys.cms.edition.character.Indent"/>
</toolbar>
<toolbar>
<control id="org.ametys.cms.edition.Abbreviation"/>
<control id="org.ametys.cms.edition.Acronym"/>
<control id="org.ametys.glossary.editor.AddDefinition"/>
<control id="org.ametys.cms.edition.Quote"/>
<control id="org.ametys.cms.edition.Language"/>
</toolbar>
</layout>
</medium>
<small/>
</group>
<group label="plugin.cms:RIBBON_TABS_TAB_CONTENT_EDIT_GROUPS_GROUP_INSERT_LABEL" icon="">
<large>
<control id="org.ametys.cms.edition.table.Insert"/>
<control id="org.ametys.plugins.explorer.edition.images.Insert"/>
<control id="org.ametys.plugins.explorer.edition.link.Insert"/>
<layout align="top" size="small">
<control id="org.ametys.inlinemedia.editor.Insert.flash"/>
<control id="org.ametys.inlinemedia.editor.Insert.video"/>
<control id="org.ametys.pdf2flash.editor.Insert"/>
</layout>
<layout align="top" size="small">
<control id="org.ametys.cms.edition.toc.Insert"/>
<control id="org.ametys.cms.edition.symbol.Insert"/>
<control id="org.ametys.plugins.forms.Insert"/>
</layout>
<layout align="top" size="small">
<control id="org.ametys.cms.edition.htmlexpert.Insert"/>
<control id="org.ametys.web.InsertLastPublication"/>
<control id="org.ametys.datainclusion.editor.Query"/>
</layout>
</large>
<medium>
<control id="org.ametys.cms.edition.table.Insert"/>
<control id="org.ametys.plugins.explorer.edition.link.Insert"/>
<control id="org.ametys.plugins.explorer.edition.images.Insert"/>
<layout align="top" size="small">
<control id="org.ametys.inlinemedia.editor.Insert.flash"/>
<control id="org.ametys.inlinemedia.editor.Insert.video"/>
<control id="org.ametys.pdf2flash.editor.Insert"/>
</layout>
<layout align="top" size="small">
<control id="org.ametys.cms.edition.toc.Insert"/>
<control id="org.ametys.cms.edition.symbol.Insert"/>
<control id="org.ametys.plugins.forms.Insert"/>
</layout>
<layout align="top" size="small">
<control id="org.ametys.cms.edition.htmlexpert.Insert"/>
<control id="org.ametys.web.InsertLastPublication"/>
<control id="org.ametys.datainclusion.editor.Query"/>
</layout>
</medium>
<small>
<layout align="top" size="small">
<control id="org.ametys.cms.edition.table.Insert"/>
<control id="org.ametys.plugins.explorer.edition.images.Insert"/>
<control id="org.ametys.plugins.explorer.edition.link.Insert"/>
</layout>
<layout size="very-small">
<control id="org.ametys.inlinemedia.editor.Insert.flash"/>
<control id="org.ametys.inlinemedia.editor.Insert.video"/>
<control id="org.ametys.pdf2flash.editor.Insert"/>
</layout>
<layout size="very-small">
<control id="org.ametys.cms.edition.toc.Insert"/>
<control id="org.ametys.cms.edition.symbol.Insert"/>
<control id="org.ametys.plugins.forms.Insert"/>
</layout>
<layout size="very-small">
<control id="org.ametys.cms.edition.htmlexpert.Insert"/>
<control id="org.ametys.web.InsertLastPublication"/>
<control id="org.ametys.datainclusion.editor.Query"/>
</layout>
</small>
</group>
</groups>
</tab>
<!-- Cms -->
<import>plugin:cms://ribbon/cms-ribbon-content.xml</import>
<!-- Web -->
<!-- Page access contextual tab -->
<import>plugin:web://ribbon/cms-ribbon-pageaccess.xml</import>
<!-- Comments contextual tab -->
<import>plugin:web://ribbon/cms-ribbon-comments.xml</import>
<!-- Attachments contextual tab -->
<tabs>
<tab label="plugin.web:RIBBON_TABS_TAB_ATTACHMENTS_LABEL" id="org.ametys.web.AttachmentTab" contextualColor="6" contextualLabel="plugin.web:RIBBON_TABS_TAB_ATTACHMENTS_GROUP_LABEL">
<groups>
<group label="plugin.web:RIBBON_TABS_TAB_ATTACHMENTS_GROUP_GROUP_FOLDER_LABEL" icon="">
<large>
<control id="org.ametys.plugins.attachments.resources.Folder.add"/>
<control id="org.ametys.plugins.explorer.resources.Folder.cmis"/>
<control id="org.ametys.plugins.attachments.resources.Folder.rename"/>
<control id="org.ametys.plugins.attachments.resources.Folder.remove"/>
<!--<control id="org.ametys.plugins.attachments.resources.Folder.archive"/>-->
<control id="org.ametys.plugins.attachments.resources.Search"/>
</large>
<medium>
<control id="org.ametys.plugins.attachments.resources.Folder.add"/>
<control id="org.ametys.plugins.explorer.resources.Folder.cmis"/>
<layout size="small">
<control id="org.ametys.plugins.attachments.resources.Folder.rename"/>
<control id="org.ametys.plugins.attachments.resources.Folder.remove"/>
<!--<control id="org.ametys.plugins.attachments.resources.Folder.archive"/>-->
</layout>
<control id="org.ametys.plugins.attachments.resources.Search"/>
</medium>
<small>
<control id="org.ametys.plugins.attachments.resources.Folder.add"/>
<control id="org.ametys.plugins.explorer.resources.Folder.cmis"/>
<layout size="small">
<control id="org.ametys.plugins.attachments.resources.Folder.rename"/>
<control id="org.ametys.plugins.attachments.resources.Folder.remove"/>
<control id="org.ametys.plugins.attachments.resources.Search"/>
<!--<control id="org.ametys.plugins.attachments.resources.Folder.archive"/>-->
</layout>
</small>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_ATTACHMENTS_GROUP_GROUP_FILE_LABEL" icon="" priority="10">
<large>
<control id="org.ametys.plugins.attachments.resources.File.add"/>
<control id="org.ametys.plugins.attachments.resources.File.rename"/>
<control id="org.ametys.plugins.attachments.resources.File.remove"/>
<control id="org.ametys.plugins.attachments.resources.File.dublincore"/>
<control id="org.ametys.plugins.attachments.resources.File.download"/>
</large>
<medium>
<control id="org.ametys.plugins.attachments.resources.File.add"/>
<layout size="small">
<control id="org.ametys.plugins.attachments.resources.File.rename"/>
<control id="org.ametys.plugins.attachments.resources.File.remove"/>
<control id="org.ametys.plugins.attachments.resources.File.dublincore"/>
</layout>
<control id="org.ametys.plugins.attachments.resources.File.download"/>
</medium>
<small>
<layout size="small">
<control id="org.ametys.plugins.attachments.resources.File.add"/>
<control id="org.ametys.plugins.attachments.resources.File.download"/>
</layout>
<layout size="small">
<control id="org.ametys.plugins.attachments.resources.File.rename"/>
<control id="org.ametys.plugins.attachments.resources.File.remove"/>
<control id="org.ametys.plugins.attachments.resources.File.dublincore"/>
</layout>
</small>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_RESOURCES_GROUP_GROUP_FILE_CLIPBOARD_LABEL" icon="">
<large/>
<medium>
<control id="org.ametys.plugins.attachments.resources.File.paste"/>
<control id="org.ametys.plugins.attachments.resources.File.cut"/>
<!--<control id="org.ametys.plugins.attachments.resources.File.copy"/>-->
</medium>
<small>
<layout size="small">
<control id="org.ametys.plugins.attachments.resources.File.paste"/>
<control id="org.ametys.plugins.attachments.resources.File.cut"/>
<!--<control id="org.ametys.plugins.attachments.resources.File.copy"/>-->
</layout>
</small>
</group>
<group label="plugin.web:RIBBON_TABS_TAB_RESOURCES_GROUP_GROUP_IMAGE_LABEL" icon="">
<large/>
<medium>
<control id="org.ametys.plugins.explorer.File.slideshow"/>
</medium>
<small/>
</group>
</groups>
</tab>
</tabs>
<!-- Content attachments contextual tab -->
<import>plugin:web://ribbon/cms-ribbon-content-attachments.xml</import>
<!-- Resource explorer contextual tab -->
<import>plugin:web://ribbon/cms-ribbon-explorer.xml</import>
<!-- Tags contextual tab -->
<import>plugin:web://ribbon/cms-ribbon-tags.xml</import>
<!-- Alias contextual tab -->
<import>plugin:web://ribbon/cms-ribbon-alias.xml</import>
<!-- Consistency contextual tab -->
<import>plugin:web://ribbon/cms-ribbon-consistency.xml</import>
<!-- Inline Media -->
<import>plugin:inlinemedia://cms-ribbon.xml</import>
<!-- Forms -->
<import>plugin:forms://cms-ribbon.xml</import>
<!-- Newsletter contextual tabs -->
<import>plugin:newsletter://cms-ribbon.xml</import>
<!-- Data inclusion contextual tab -->
<import>plugin:datainclusion://cms-ribbon.xml</import>
<!-- Skin editor contextual tab -->
<import>plugin:skineditor://cms-ribbon.xml</import>
<!-- Glossary -->
<import>plugin:glossary://cms-ribbon.xml</import>
<!-- Survey -->
<import>plugin:survey://cms-ribbon.xml</import>
<!-- UGC -->
<import>plugin:ugc://cms-ribbon.xml</import>
</tabs>
</ribbon>
Merci
Loïc Wyffels
D'accord, dans ma version, menu pièce jointe, j'ai uniquement un bouton "nouveau" pour uploader des fichiers de mon disque.
Je peux ajouter le bouton moi même?
Loïc
Bonjour,
J'ai connecté mon serveur Alfresco à Ametys avec le bouton "serveur CMIS".
Via le moteur de recherche ametys, Est-il possible d'effectuer des recherches dans les ressources de mon serveur CMIS?
Merci,
Loïc Wyffels
Merci, ça fonctionne!!!
Je test sur un serveur en tant que service et sur l'autre je le lance avec startup.bat
Je test sur des serveurs 2008 r2 64 bits.
Loïc Wyffels
Ville d'Olivet
Bonjour,
Exact, les paramètres de mémoire ne sont pas pris en compte.
J'ai essayé de mettre la conf: JAVA_OPTS="-Xms254m -Xmx256m -XX:PermSize=256m -XX:MaxPermSize=256m"
dans catalina.bat, catalina.sh, setenv.sh,startup.bat mais pas de changement....
C'est un tomcat V 7.0.32, avez vous une idée?
Dès que je clique sur le bouton "serveur CMIS" dans l'administration Ametys le CPU du java.exe passe à 100%
Merci
Exact, même avec le "-" le pblm est tjrs présent.
J'ai réinstallé le Tomcat d'Ametys sur un serveur différent que celui d'alfresco.
Dans Ametys quand je rentre les paramètres de mon connecteur CMIS, je valide sur "OK" le processeur du java.exe passe a 100%.
Voici les paramètres du connecteur CMIS:
Nom : Alfresco
URL (AtomPub Service): http://srv-appli:8080/alfresco/service/cmis
Id: e9061f43-9411-4bee-8f50-14000f1238c7
Utilisateur: admin
Mot de passe : *****
Les erreurs dans TomCat
INFO: Using random key for OAuth client-side state encryption
nov. 26, 2012 4:33:08 PM org.apache.shindig.gadgets.oauth.OAuthModule$OAuthStor
Provider loadDefaultKey
WARNING: Couldn't load OAuth signing key. To create a key, run:
openssl req -newkey rsa:1024 -days 365 -nodes -x509 -keyout testkey.pem \
-out testkey.pem -subj '/CN=mytestkey'
openssl pkcs8 -in testkey.pem -out oauthkey.pem -topk8 -nocrypt -outform PEM
Then edit shindig.properties and add these lines:
shindig.signing.key-file=<path-to-oauthkey.pem>
shindig.signing.key-name=mykey
Exception in thread "http-apr-7080-exec-8" java.lang.OutOfMemoryError: PermGen
pace
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBCont
xtImpl.java:171)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBCont
xtImpl.java:126)
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuil
er.build(JAXBContextImpl.java:1148)
at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFac
ory.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:248)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:235)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:445)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:637)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)
at org.apache.chemistry.opencmis.commons.impl.JaxBHelper.<clinit>(JaxBH
lper.java:56)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubPar
er.unmarshalElement(AtomPubParser.java:391)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubPar
er.parseWorkspaceElement(AtomPubParser.java:443)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubPar
er.parseWorkspace(AtomPubParser.java:216)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubPar
er.parseServiceDoc(AtomPubParser.java:186)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AtomPubPar
er.parse(AtomPubParser.java:136)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAt
mPubService.parse(AbstractAtomPubService.java:529)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAt
mPubService.getRepositoriesInternal(AbstractAtomPubService.java:719)
at org.apache.chemistry.opencmis.client.bindings.spi.atompub.Repository
erviceImpl.getRepositoryInfos(RepositoryServiceImpl.java:59)
at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryService
mpl.getRepositoryInfos(RepositoryServiceImpl.java:85)
at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getR
positories(SessionFactoryImpl.java:109)
at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getR
positories(SessionFactoryImpl.java:96)
at org.ametys.plugins.explorer.cmis.CMISTreeFactory.getAtomPubSession(C
ISTreeFactory.java:310)
at org.ametys.plugins.explorer.cmis.CMISRootResourcesCollection.getCMIS
ession(CMISRootResourcesCollection.java:97)
at org.ametys.plugins.explorer.cmis.CMISRootResourcesCollection.getIcon
CMISRootResourcesCollection.java:203)
at org.ametys.plugins.explorer.resources.generators.ResourcesExplorerGe
erator.saxCollection(ResourcesExplorerGenerator.java:149)
at org.ametys.plugins.explorer.resources.generators.ResourcesExplorerGe
erator._saxNode(ResourcesExplorerGenerator.java:114)
at org.ametys.plugins.explorer.resources.generators.ResourcesExplorerGe
erator.generate(ResourcesExplorerGenerator.java:82)
at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.pro
essXMLPipeline(AbstractProcessingPipeline.java:579)
Avez-vous une idée? une modification dans alfresco pour autoriser la connexion CMIS?
Merci
Bonjour,
Lors de l'utilisation de certaine fonction du back office (ajout d'un service/connexion cmis atom) le cpu de java.exe passe a 100%.
J'ai aussi l'erreur, java.lang.OutOfMemoryError: PermGen space
J'ai ajouté la ligne JAVA_OPTS="-Xms254m -Xmx256m -XX:PermSize=256m XX:MaxPermSize=512m" dans mon catalina.bat mais l'erreur est tjrs présente.
Voici le détail de tomcat
Exception in thread "http-apr-7080-exec-4" java.lang.OutOfMemoryError: PermGen s
pace
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp
ClassLoader.java:2904)
at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoa
der.java:1173)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1681)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
der.java:1559)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.commons.jxpath.JXPathContextFactory.newInstance(JXPathCont
extFactory.java:104)
at org.apache.commons.jxpath.JXPathContext.getContextFactory(JXPathConte
xt.java:422)
at org.apache.commons.jxpath.JXPathContext.newContext(JXPathContext.java
:402)
at org.apache.cocoon.components.modules.input.JXPathHelper.getAttributeV
alue(JXPathHelper.java:104)
at org.apache.cocoon.components.modules.input.AbstractJXPathModule.getAt
tribute(AbstractJXPathModule.java:107)
at org.apache.cocoon.components.treeprocessor.variables.PreparedVariable
Resolver.processModule(PreparedVariableResolver.java:258)
at org.apache.cocoon.components.treeprocessor.variables.PreparedVariable
Resolver.resolve(PreparedVariableResolver.java:209)
at org.apache.cocoon.components.treeprocessor.variables.VariableResolver
.buildParameters(VariableResolver.java:107)
at org.apache.cocoon.components.treeprocessor.sitemap.TransformNode.invo
ke(TransformNode.java:60)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.i
nvoke(SwitchSelectNode.java:104)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.HandleErrorsNode.i
nvoke(HandleErrorsNode.java:90)
at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper
.prepareErrorHandler(ErrorHandlerHelper.java:182)
at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper
.prepareErrorHandler(ErrorHandlerHelper.java:135)
at org.apache.cocoon.components.treeprocessor.sitemap.ErrorHandlerHelper
.invokeErrorHandler(ErrorHandlerHelper.java:108)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invok
e(PipelineNode.java:157)
at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNo
de.invokeNodes(AbstractParentProcessingNode.java:69)
at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invo
ke(PipelinesNode.java:93)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:236)
at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.proc
ess(ConcreteTreeProcessor.java:178)
at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Tree
Processor.java:254)
at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(M
ountNode.java:118)
Cordialement
Merci, ça fonctionne...
Bonjour,
J'ai installé Ametys 3.4.0 backoffice + frontoffice sur le même tomcat V 7.0.32 & my-sql 5.5 sur un serveur 2008 sp2 64 bit.
J'ai configuré l'interface d'administration et après validation des paramètres j'ai les erreurs suivantes:
pouvez-vous m'aider?
An error occurred. Please contact the administrator of the application.org.apache.avalon.framework.component.ComponentException: Unable to initialize the ComponentManager (key [org.apache.cocoon.Processor]) at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:94) at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:173) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:266) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108) at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524) at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244) at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244) at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1435) at org.ametys.runtime.servlet.RuntimeServlet.createCocoon(RuntimeServlet.java:225) at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:495) at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:171) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1266) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1185) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1080) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5027) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5314) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1105) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1664) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.apache.avalon.framework.configuration.ConfigurationException: Specified driver class does not exist at org.ametys.runtime.datasource.DataSourceExtensionPoint.addExtension(DataSourceExtensionPoint.java:65) at org.ametys.runtime.plugin.PluginsManager._loadExtensions(PluginsManager.java:1077) at org.ametys.runtime.plugin.PluginsManager._loadFeatures(PluginsManager.java:1030) at org.ametys.runtime.plugin.PluginsManager.initExtensions(PluginsManager.java:472) at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:65) ... 29 more Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at org.ametys.runtime.datasource.DataSourceExtensionPoint.addExtension(DataSourceExtensionPoint.java:61) ... 33 more
Merci
Pages: 1