on ‎2021 May 26 1:12 PM
I have a property , for example : disable.mediaFolder.field , which can be set to true in hybris admin console or local.properties. When I load custom context corresponding to backoffice, I want to disable the fields based on this property.
Ex:
<wz:content id="step1.content">
<wz:property-list root="abc" merge-mode="replace">
<wz:property qualifier="name" type="java.lang.String" />
<wz:property qualifier="mediaFolder" type="Media" editor="com.ab.mediafoldereeditor"/> </wz:property-list> => disable this
</wz:content>
Please let me know if this is possible by injection of any bean , or any other way
Tried this approach:
<editorArea:attribute qualifier="xyz" readonly="spring.getBean('configurationService').getConfiguration().getBoolean('make.me.readonly')"/>
Request clarification before answering.
| User | Count |
|---|---|
| 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.