I have an override of PasteContent and PasteContentValues to force a view to copy and don't check attributes by default.
<extension id="my.override.PasteContent" ref-id="org.ametys.cms.content.PasteContent" point="org.ametys.core.ui.RibbonControlsManager" class="org.ametys.core.ui.StaticClientSideElement"> <class> <viewName>copyAsNew</viewName> <checkByDefault>false</checkByDefault> </class> </extension> <extension id="my.override.PasteContentValues" ref-id="org.ametys.cms.content.PasteContentValues" point="org.ametys.core.ui.RibbonControlsManager" class="org.ametys.core.ui.StaticClientSideElement"> <class> <checkByDefault>false</checkByDefault> </class> </extension>
Mandatory attributes should be automatically checked but it is not anymore.
And because these attributes are mandatory, they are disabled so I can't check it.
- Référence
-
CMS-10483 CopyContentValues: Choose the default checked status of attributes in configuration
-
- Closed
-