WSRR: Explanation of read-only property in Web UI

Technote (FAQ)


Question

In detail views definitions for the WSRR Web UI you may mark properties as being read-only. Below is an explanation of the behaviour of properties marked read-only.

Answer

The read-only attribute in a web UI detail view is controlled by the read-only attribute of the property element. The default value is false.

<definition:property read-only="true">

For example:

<definition:property read-only="true">
<definition:property-name>samp_field01</definition:property-name>
<definition:property-messages>
<definition:property-message message-key="detail.view.SampleModel.field01" resource-bundle-name="sampResources"/>
<definition:field-help-message message-key="detail.view.SampleModel.field01.field.help" resource-bundle-name="sampResources"/>
</definition:property-messages>

</definition:property>

This defines a read-only attribute samp_field01.

Read-only properties are displayed but are not editable on the detail views for existing objects.
Until APAR IV38416 was introduced, read-only properties were not displayed on the create page for new objects.
After IV38416, read-only properties can be set on the create page for new objects. This is vital when an object defines a mandatory property and it is marked as read-only in the detail view.

Note that the read-only property attribute only applies to a specific detail view in the Web UI. None of the WSRR APIs, nor the Businses Space UI are affected by the read-only attribute and they will not enforce the read-only nature of the property.

Related information

IV38416

Product Alias/Synonym

WSRR

Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Service Registry and Repository
Web UI

Software version:

8.0.0.2

Operating system(s):

AIX, HP Itanium, HP-UX, Linux, Linux/x86, Solaris, Windows

Software edition:

All Editions

Reference #:

1639481

Modified date:

2014-04-11

Translate my page

Machine Translation

Content navigation