Zimbu Templates. For creating interactive web pages.
ALIAS |
TextDialog @public |
CLASS |
EventConfig @public | The configuration for events handled by ZUT.
|
CLASS |
Context @public | The context for processing ZUT templates.
|
ALIAS |
HtmlFunc @public | The type used for a ZUT template method producing HTML.
|
CLASS |
Page @public | The properties of an HTML page.
|
CLASS |
DomElement @public | Lowest level object, an HTML element.
|
CLASS |
DomEvent @public | A low level browser event.
|
CLASS |
Element @public | A wrapper around an HTML element.
|
ENUM |
EventType @public |
CLASS |
Controller @public | All controllers should inherite from this.
|
CLASS |
Event @public | The properties of an event.
|
INTERFACE |
I_Listener @public | An interface which is used to pass information from a Controller to the
object that created the DOM.
|
CLASS |
Timer @public | A Timer is used to postpone a callback to be invoked. The Timer fires
once. To trigger multiple times use an Interval.
|
CLASS |
E_BadValue @file | Exception thrown when using a value in a way the result can't possibly be
valid.
|
CLASS |
Html @public | A string that is properly formatted HTML.
|
CLASS |
Attributes @public | A string that is properly formatted HTML attributes.
|
CLASS |
Url @public | A string that is a properly formatted URL.
|
CLASS |
Css @public | A string that is properly formatted CSS.
|
CLASS |
Javascript @public | A string that is properly formatted Javascript.
|
|
|
callOnLoad(method) @public | Add a method to be invoked after the HTML page has loaded.
|
|
getElementById(id)
ZUT.Element @public | Finds element id.
|
|
appendToDom(html, blockStyle)
ZUT.Element @public | Append html to the DOM.
|
|
appendToDom(template, blockStyle)
ZUT.Element @public | Append the result of template to the DOM.
|
|
addCss(name, css) @public | Add a CSS style element to the document.
|
|
fillElement(id, template) @public | Fill element id with the result of template.
|
|
setDisplay(id, display) @public | Set the display attribute of element id.
|
|
getDisplay(id)
bool @public | Returns wether element id is being displayed.
|
|
getRadioValue(name)
string @public | Returns the value of the selected radio button of the group name
|
|
getValue(name)
string @public | Returns the value of the first input with name
|
|
getLocation()
IO.Url @public | Returns the location of the current page.
|
|
navigate(url) @public | Navigate to url.
|
|
createPage(httpContext, page)
string @public | Function passed to a FunctionServlet to create the HTML page.
|
|
controllerName(f)
string @public | Gets the internal name of a controller.
|
|
registerAction(f) @public | Registers an action on a controller.
|
|
uid()
string @public | Return a unique ID.
|
|
alert(message) @public | In the browser show an alert. In the server log a message.
|
|
throw(msg) @public |
|
htmlTextEscape(text)
string @public | Returns text conservatively HTML-escaped.
|
|
htmlEscape(text)
string @public | Returns text HTML-escaped.
|
|
htmlUnescape(text)
string @public | Returns text HTML-un-escaped.
|
|
htmlDataHtmlEscape(htmlText)
string @public | Returns htmlText HTML-data-escaped.
|
|
htmlDataStringEscape(text)
string @public | Returns text HTML-data-escaped.
|
|
tagNameEscape(text)
string @public | Returns text when it is a valid tag name.
|
|
attributesEscape(text)
string @public | Returns text Attributes-escaped.
|
|
attrValueEscape(text)
string @public | Returns text Attribute-value-escaped.
|
|
attrValueEscape(url)
string @public | Returns url Attribute-value-escaped.
|
|
attrNoSpaceEscape(text)
string @public | Returns text Attribute-value-escaped for values not in quotes.
|
|
attrNoSpaceEscape(url)
string @public | Returns url Attribute-unquoted-value-escaped.
|
|
urlEscape(text, isParamVal)
string @file | Apply URL-escaping to a plain text URL.
|
|
urlParamValEscape(text)
string @file | Apply URL-escaping to a plain text URL parameter value.
|
|
urlUnEscape(text)
string @file | Turns all %xx pieces into the xx byte.
|
|
urlEscape(byte, isParamVal)
string @file | Returns byte as a URL-escaped string.
|
|
cssEscape(text)
string @public | Returns text and throws an error for missing quotes, "</", etc.
|
|
cssSingleStringEscape(text)
string @public | Returns url CSS-string-escaped for single quotes.
|
|
cssDoubleStringEscape(text)
string @public | Returns text Css-string-escaped for double quotes.
|
|
cssCommentEscape(text)
string @public | Returns text Css-comment-escaped for a /* comment
|
|
cssCommentEscape(text)
string @public | Returns text Css-comment-escaped for a /* comment
|
|
javascriptEscape(text)
string @public | Returns text and throws an error for missing quotes, "</", etc.
|
|
javascriptSingleStringEscape(text)
string @public | Returns url Javascript-string-escaped for single quotes.
|
|
javascriptSingleStringEscape(url)
string @public | Returns url Javascript-string-escaped for single quotes.
|
|
javascriptDoubleStringEscape(text)
string @public | Returns text Javascript-string-escaped for double quotes.
|
|
javascriptDoubleStringEscape(url)
string @public | Returns url Javascript-string-escaped for double quotes.
|
|
javascriptRegexpEscape(text)
string @public | Returns text Javascript-string-escaped for a regular expression.
|
|
javascriptRegexpEscape(url)
string @public | Returns text Javascript-string-escaped for a regular expression.
|
|
javascriptLineCommentEscape(text)
string @public | Returns text Javascript-comment-escaped for a // comment
|
|
javascriptLineCommentEscape(text)
string @public | Returns text Javascript-comment-escaped for a // comment
|
|
javascriptBlockCommentEscape(text)
string @public | Returns text Javascript-comment-escaped for a /* comment
|
|
javascriptBlockCommentEscape(text)
string @public | Returns text Javascript-comment-escaped for a /* comment
|
|