Skip to content

Commit

Permalink
Minor documentation fix
Browse files Browse the repository at this point in the history
csadilek committed Jan 9, 2015
1 parent f4d510e commit 13c0896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errai-docs/src/main/asciidoc/reference.asciidoc
Original file line number Diff line number Diff line change
@@ -5078,7 +5078,7 @@ Converters specified on the binding level take precedence over global default co

=== Property Change Handlers

In some cases keeping the model and the UI in sync is not enough. Errai's [code]+DataBinder+ allows for the registration of [code]+PropertyChangeHandlers+ for specific properties, property expressions or all properties of a bound model. A property expression can be a property chain such as customer.address.street. It can end in a wildcard to indicate that changes of any property of the corresponding bean should be observed (e.g [code]+"customer.address.\*"+ ). A double wildcard can be used at the end of a property expression to register a cascading change handler for any nested property (e.g [code]+"customer.\*\*"+).
In some cases keeping the model and the UI in sync is not enough. Errai's [code]+DataBinder+ allows for the registration of [code]+PropertyChangeHandlers+ for specific properties, property expressions or all properties of a bound model. A property expression can be a property chain such as customer.address.street. It can end in a wildcard to indicate that changes of any property of the corresponding bean should be observed (e.g [code]+"customer.address.\*"+ ). A double wildcard can be used at the end of a property expression to register a cascading change handler for any nested property (e.g [code]+"customer.\**"+ or just [code]+"**"+) .

This provides a uniform notification mechanism for model and UI value changes. [code]+PropertyChangeHandlers+ can be used to carry out any additional logic that might be necessary after a model or UI value has changed.

0 comments on commit 13c0896

Please sign in to comment.