Try the readOnly="true" and type="password" attributes.
Use the rhq-plugin.xsd/rhq-configuration.xsd schemas to help you write
the plugin descriptors - if you import them into your XML editor, the
XML editor (a good one anyway :) would provide you with auto-completion
and help that should assist in discovering these types of features and
syntax. Our schemas have schema annotations with help text documentation.
They are here:
http://git.fedorahosted.org/git/?p=rhq/rhq.git;a=tree;f=modules/core/clie...
On 02/10/2011 12:04 AM, Lin Gao wrote:
Hi:
Here is the resource configuration definition:
<c:list-property name="config-property">
<c:map-property name="config-property">
<c:simple-property name="name"/>
<c:simple-property name="value"/>
</c:map-property>
</c:list-property>
Below is the result I respect:
Name Value
Name_1 Value_1[Read Only] // this is read only
Name_2 ******* // this is confidential
Name_3 Value_3 // this is normal
configuration
The value of the 'Name_1' needs to be read only, and the value of the
'Name_2' needs to be in password type.
Do you have any idea on that?
The point is that: the read only and password type are pre-defined in
the rhq-plugin.xml file, but the real data is dynamic,
some of the values are read only, some of the values are not.