Bug 818549

Summary: RFE allow for conditions in configuration properties for e.g. setting r/o state
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: ConfigurationAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 4.3CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Heiko W. Rupp 2012-05-03 06:42:07 EDT
I have a configuration like this:

<c:list-property>
    <c:map-property name="*:name" displayName="Entry">
            <c:simple-property name="name" required="true" type="string" "/>
            <c:simple-property name="path" required="true" type="string" readOnly="false"/>
            <c:simple-property name="read-only" description="Is this property read-only" default="false" readOnly="true" defaultValue="false" type="boolean"/>
   </c:map-property>
</c:list-property>

This has an included property "read-only".
The whole map itself should be read-only if this included property is set to true

Something like:

<c:list-property>
    <c:map-property name="*:name" displayName="Entry" read-only="${read-only==true}">


This would be needed in the as7 plugin. See e.g. Bug 817651