Copyright © 2009 Marc Worrell Based on Nitrogen, which is copyright (c) 2008-2009 Rusty Klophaus
Authors: Marc Worrell (marc@worrell.nl), Rusty Klophaus.
appear/3 | Set the contents of an element to the the html fragment. |
appear_bottom/3 | Append a html fragment at the bottom of the contents of an element. |
appear_bottom_selector/3 | |
appear_bottom_selector_js/2 | |
appear_selector/3 | |
appear_selector_js/2 | |
appear_top/3 | Insert a html fragment at the top of the contents of an element. |
appear_top_selector/3 | |
appear_top_selector_js/2 | |
css_selector/1 | Map a target id to a css selector. |
css_selector/2 | Map a target id to a css selector, check the Args proplist for additional selectors. |
dialog/4 | |
dialog_close/1 | |
growl/2 | |
growl/4 | |
growl_error/2 | |
insert_bottom/3 | Append a html fragment at the bottom of the contents of an element. |
insert_bottom_selector/3 | |
insert_bottom_selector_js/2 | |
insert_top/3 | Insert a html fragment at the top of the contents of an element. |
insert_top_selector/3 | |
insert_top_selector_js/2 | |
make_postback/6 | Make a javascript to call the postback, posting an encoded string containing callback information. |
make_postback_info/6 | Make an encoded string containing information which module and function to call. |
make_validation_postback/2 | |
make_validation_postback/3 | |
quote_css_selector/1 | Quote a css selector (assume no escaping needed...). |
render/2 | Render adds output to the render field of the context state, makes sure that the added output is an iolist. |
render_actions/4 | |
render_css_selector/1 | Render a css selector, allow direct expressions like. |
render_to_iolist/2 | Render adds output to the render field of the context state. |
render_validator/4 | Render a validator to the correct javascript. |
set_value/3 | Set the value of an input element. |
set_value_selector/3 | |
update/3 | Set the contents of an element to the the html fragment. |
update_selector/3 | Set the contents of all elements matching the css selector to the the html fragment. |
update_selector_js/2 | Set the contents of all elements matching the css selector to the the html fragment. |
validator/4 | Add an input validator to the list of known validators, used when rendering custom validators. |
wire/2 | |
wire/3 | |
wire/4 |
appear(TargetId, Html, Context) -> any()
Set the contents of an element to the the html fragment
appear_bottom(TargetId, Html, Context) -> any()
Append a html fragment at the bottom of the contents of an element
appear_bottom_selector(CssSelector, Html, Context) -> any()
appear_bottom_selector_js(CssSelector, Html) -> any()
appear_selector(CssSelector, Html, Context) -> any()
appear_selector_js(CssSelector, Html) -> any()
appear_top(TargetId, Html, Context) -> any()
Insert a html fragment at the top of the contents of an element
appear_top_selector(CssSelector, Html, Context) -> any()
appear_top_selector_js(CssSelector, Html) -> any()
css_selector(TargetId) -> any()
Map a target id to a css selector
css_selector(TargetId, Args) -> any()
Map a target id to a css selector, check the Args proplist for additional selectors
dialog(Title, Template, Vars, Context) -> any()
dialog_close(Context) -> any()
growl(Text, Context) -> any()
growl(Text, Type, Stay, Context) -> any()
growl_error(Text, Context) -> any()
insert_bottom(TargetId, Html, Context) -> any()
Append a html fragment at the bottom of the contents of an element
insert_bottom_selector(CssSelector, Html, Context) -> any()
insert_bottom_selector_js(CssSelector, Html) -> any()
insert_top(TargetId, Html, Context) -> any()
Insert a html fragment at the top of the contents of an element
insert_top_selector(CssSelector, Html, Context) -> any()
insert_top_selector_js(CssSelector, Html) -> any()
make_postback(PostbackTag, EventType, TriggerId, TargetId, Delegate, Context) -> {JavascriptString, PickledPostback}
Make a javascript to call the postback, posting an encoded string containing callback information. The PostbackTag is send to the server, EventType is normally the atom 'postback'.
make_postback_info(Tag, EventType, TriggerId, TargetId, Delegate, Context) -> any()
Make an encoded string containing information which module and function to call.
make_validation_postback(Validator, Context) -> any()
make_validation_postback(Validator, Args, Context) -> any()
quote_css_selector(S) -> any()
Quote a css selector (assume no escaping needed...)
render(Context, X2) -> any()
Render adds output to the render field of the context state, makes sure that the added output is an iolist
render_actions(TriggerId, TargetId, T, Context) -> any()
render_css_selector(Selector) -> any()
Render a css selector, allow direct expressions like
render_to_iolist(Ts::TemplateOutput, Context::Context1) -> {iolist(), Context2}
Render adds output to the render field of the context state. Do update the context for possible changes in scripts etc.
render_validator(TriggerId, TargetId, Args, Context) -> any()
Render a validator to the correct javascript. Args are all arguments of the validator scomp. This renders an allocation of the initial validator and then appends all validations. 'type' holds multiple validations. Validations are of the form: {validator, [Args]}
set_value(TargetId, Value, Context) -> any()
Set the value of an input element.
set_value_selector(CssSelector, Value, Context) -> any()
update(TargetId, Html, Context) -> any()
Set the contents of an element to the the html fragment
update_selector(CssSelector, Html, Context) -> any()
Set the contents of all elements matching the css selector to the the html fragment
update_selector_js(CssSelector, Html) -> any()
Set the contents of all elements matching the css selector to the the html fragment
validator(TriggerID::string(), TargetID::string(), Validator::#validator{}, Context::#context{}) -> #context{}
Add an input validator to the list of known validators, used when rendering custom validators
wire(Actions, Context) -> any()
wire(TriggerId, Actions, Context) -> any()
wire(TriggerId, TargetId, Actions, Context) -> any()
Generated by EDoc, Feb 25 2011, 21:14:41.