In order to use the RepositoryFormHandler to update item property values from a form, reference the item property in this format:

bean="nucleus-path/formhandler-component.value.property"

For example:

<dsp:input type="input-type"
bean="atg/dynamo/droplet/MyRepositoryFormHandler.value.name"/>

The RepositoryFormHandler’s value property is a Dictionary of property/value pairs that temporarily stores all pending property values. The RepositoryFormHandler writes all values from this dictionary on form submission as a single transaction, thus preventing profile properties from being left in an inconsistent state.

Updating Hierarchical Properties

In order to update a property that is referenced by another property, use the following notation:

bean=
"
nucleus-path/formhandler-component.value.property.sub-property[.sub-property]..."

For example, the following input tag references the city property, which is referenced from the address property:

<dsp:input type="text" bean="MyRepositoryFormHandler.value.address.city"/>

In this case, the address property points to an ID that represents an address item with its own set of properties, one of which is city.


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