@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Synchronize
By default deduces the name of the property from the name of the getter
unless it has been specified using property()
.
Modifier and Type | Required Element and Description |
---|---|
String[] |
value
The DOM event(s) to use for synchronization.
|
Modifier and Type | Optional Element and Description |
---|---|
DisabledUpdateMode |
allowUpdates
Controls updates for the property from the client side to the server side
when the element is disabled.
|
String |
property
The name of the property to synchronize.
|
public abstract String[] value
public abstract String property
public abstract DisabledUpdateMode allowUpdates
When multiple update mode settings are defined for the same property, the most permissive mode is used. This means that there might be unexpected updates for a disabled component if multiple parties independently configure different aspects for the same component. This is based on the assumption that if a property is explicitly safe to update for disabled components in one context, then the nature of that property is probably such that it's also safe to update in other contexts.
Copyright © 2025. All rights reserved.