[
https://jira.jboss.org/jira/browse/EMBJOPR-96?page=com.atlassian.jira.plu...
]
Ondrej Žižka commented on EMBJOPR-96:
-------------------------------------
ips: ozizka: there is a concept of property type
ips: that determines whether the prop is read-only (i.e. a metric) or not (i.e. a
configuration prop)
ips: see ManagedProperty.hasViewUse()
ozizka: ips, I see, so, all props in the Configuration are supposed to be editable?
ips: if (managedProperty.hasViewUse(ViewUse.STATISTIC)) returns true, the prop is
read-only
ips: no, only the ones w/ a view use other than stat should be editable
Read-only properties should be marked as read-only
--------------------------------------------------
Key: EMBJOPR-96
URL:
https://jira.jboss.org/jira/browse/EMBJOPR-96
Project: Embedded Jopr
Issue Type: Bug
Reporter: Ondrej Žižka
Assignee: Ondrej Žižka
Fix For: 1.2
Currently, read-only properties appear the same as editable ones.
See e.g. any EAR Configuration, property Name.
If you edit such property, it simply returns to previous value.
It should be noted somehow that they are readonly,
and their input should be disabled.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira