The attribute element allows you to identify and pass name and value pair attributes for a property customizer. This element contains the following attributes:

Attribute

Description

name

The name of the attribute.

value

The value of the attribute.

Passing name and value attributes into a property-customizer is similar to passing attributes into a custom repository-descriptor. For example, you can update the maskedCreditCardNumber property that was created in The Property Element section to identify the number of digits that are not masked when displaying a credit card number:

<property name="maskedCreditCardNumber" property-customizer="/atg/rest/filtering/
    customizers/CreditCardNumberProeprtyCustomizer">
  <attribute name="unmaskedLength" value="4"/>
</property>

By creating this new attribute, when the credit card information is rendered, all but four of the numbers will be masked.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices