org.zkoss.bind.annotation
Annotation Type DefaultGlobalCommand


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface DefaultGlobalCommand

Marker annotation to identify a global command method. When a global command send to a view model, it will check GlobalCommand method first, if no GlobalCommand method was found, then it will check DefaultGlobalCommand method.
A DefaultGlobalCommand method could also use with BindingParam and others to assign a binding argument as its parameter, and Default to assign a default value if the argument is null.

Since:
6.5.1
Author:
dennischen
See Also:
GlobalCommand, BindingParam, ExecutionParam, ExecutionArgParam, HeaderParam, CookieParam, QueryParam, ScopeParam, ContextParam, Default



Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo