public void close(final AjaxRequestTarget target) { toggle(target, false); }
/** * Force toggle via java. To be used when the onclick has been intercepted before. * Also, set key value in label name for copy-to-clipboard feature. * * @param target ajax request target. * @param modelObject model object * @param toggle toggle action. */ public void toggle(final AjaxRequestTarget target, final Serializable modelObject, final boolean toggle) { updateLabelKeyValue(modelObject); toggle(target, toggle); }