public interface ValidationFocusTransferHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
ON_FOCUS_TRANSFER_REQUESTED
Event indicating that focus transfer has been requested due to validation
|
static String |
ON_FOCUS_TRANSFERRED
Event indicating that focus transfer has been made due to validation
|
static int |
TRANSFER_ERROR_OTHER
Some other error occurred during focus transfer
|
static int |
TRANSFER_ERROR_UNKNOWN_PATH
Focus could not be transferred, as no field for provided path could be found
|
static int |
TRANSFER_SUCCESS
Focus has bean successfully transferred
|
| Modifier and Type | Method and Description |
|---|---|
int |
focusValidationPath(org.zkoss.zk.ui.Component parent,
String path)
Tries to transfer focus to field bound to specified path
|
static final String ON_FOCUS_TRANSFER_REQUESTED
static final String ON_FOCUS_TRANSFERRED
static final int TRANSFER_SUCCESS
static final int TRANSFER_ERROR_UNKNOWN_PATH
static final int TRANSFER_ERROR_OTHER
int focusValidationPath(org.zkoss.zk.ui.Component parent,
String path)
parent - parent component of fieldspath - path to be focusedTRANSFER_SUCCESS,
TRANSFER_ERROR_UNKNOWN_PATH,
TRANSFER_ERROR_OTHERCopyright © 2018. All rights reserved.