on 03-27-2015 10:48 AM
Hello,
I'm looking for an exhaustive list of available attributes for customizing the cockpit EditorAera for exemple. Here is an instance of one of the group block in one editorAreaXXX.xml:
<group qualifier="legal" visible="true" initially-opened="true"
show-if-empty="false" printable="true">
<label lang="en">Legal Text</label>
<label lang="en_GB">Legal Text</label>
<property qualifier="BLABLA.additionalNotes" visible="true" editor="wysiwyg" />
<property qualifier="BLABLA.legalTextHeading" visible="true" editor="wysiwyg" />
<property qualifier="BLABLA.dteList" editor="multi" visible="true" />
</group>
So, in the Hybris wiki, I've found : - visible - initially-open - show-if-empty (seems to not work for me)
Do you know other attributes, for instance to: - Set read-only a property ? - Hide if there any available information on the group ? - More generally, an exhaustive list of attribute for property, group tag ?
Thanks you very much for your help. Best Regards.
.
Hi Garnier,
You can view what attributes are available by checking the schema that an xml file is validated against, i.e. an xsd file. Notice in the editorArea-xxx xml's the root element is editor. This is defined in the {Path-to-hybris}\bin\ext-cockpit\cockpit\resources\editor.xsd. In the group complexType you can see a complete list of the allowed attributes for the group and also what child elements are allowed inside (in this case label or property). Likewise you can see a similar structure in the property complexType, which allows parameter as a child and has attributes qualifier, visible, editor etc.
I hope this information is useful to you.
Kind Regards,
Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.