| java.lang.Object org.araneaframework.jsp.util.JspWidgetCallUtil
JspWidgetCallUtil | abstract public class JspWidgetCallUtil (Code) | | Standard util for producing calls to UiLib widgets in various
container frameworks.
author: Jevgeni Kabanov (ekabanov at araneaframework dot org) |
SIMPLE_SUBMIT_FUNCTION | final public static String SIMPLE_SUBMIT_FUNCTION(Code) | | |
getSubmitScriptForEvent | public static String getSubmitScriptForEvent()(Code) | | Returns simple submit script for HTML element. This should be used whenever HTML
element has just one event handling attribute that causes form submit, but can also
be used when submit event should always take the same attributes, regardless of
the DOM event that activates the submit function.
JspWidgetCallUtil.SIMPLE_SUBMIT_FUNCTION |
writeSubmitScriptForEvent | public static void writeSubmitScriptForEvent(Writer out, String attributeName) throws IOException(Code) | | Write out form submit script for specified attribute of HTML element. Aranea custom HTML
tag attributes (See
org.araneaframework.jsp.AraneaAttributes ) are expected to be
present for submit logic to work.
Parameters: out - Parameters: attributeName - HTML attribute name, ('onclick', 'onchange', ...) |
writeSubmitScriptForEvent | public static void writeSubmitScriptForEvent(Writer out, String attributeName, UiEvent event) throws IOException(Code) | | Write out form submit script for specified attribute of HTML element, along with Aranea
custom HTML tag attributes (See
org.araneaframework.jsp.AraneaAttributes ) that
are determined by event parameter.
Parameters: out - Parameters: attributeName - HTML attribute name, ('onclick', 'onchange', ...) Parameters: event - event that should be activated when HTML element |
|
|