Bug 818549 - RFE allow for conditions in configuration properties for e.g. setting r/o state
RFE allow for conditions in configuration properties for e.g. setting r/o state
Status: NEW
Product: RHQ Project
Classification: Other
Component: Configuration (Show other bugs)
4.3
Unspecified Unspecified
medium Severity unspecified (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-03 06:42 EDT by Heiko W. Rupp
Modified: 2012-05-08 14:23 EDT (History)
1 user (show)

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
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

Note You need to log in before you can comment on or make changes to this bug.