Bug 818549 - RFE allow for conditions in configuration properties for e.g. setting r/o state
Summary: RFE allow for conditions in configuration properties for e.g. setting r/o state
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Configuration
Version: 4.3
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-03 10:42 UTC by Heiko W. Rupp
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2012-05-03 10:42:07 UTC
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.