| java.lang.Object uk.org.ponder.rsf.components.UIComponent uk.org.ponder.rsf.components.UIVerbatim uk.org.ponder.rsf.components.UIInitBlock
UIInitBlock | public class UIInitBlock extends UIVerbatim (Code) | | A component which will render an "initialisation block" to contextualise the
environment on the client side. This abstractly consists of the invocation of
a single client-side function call, with a set of arguments. For example, in
a HTML/Javascript environment, this would peer with a <script> and
render a single Javascript call, with arguments encoded as Strings or JSON.
For more information, see RSJCIS on
http://www2.caret.cam.ac.uk/rsfwiki/Wiki.jsp?page=BuildingRSFComponents
author: Antranig Basman (antranig@caret.cam.ac.uk) |
arguments | public Object[] arguments(Code) | | The arguments to be supplied to the invocation *
|
functionname | public String functionname(Code) | | The name of the function to be invoked on the client *
|
make | public static UIInitBlock make(UIContainer parent, String ID, String functionname, Object[] arguments)(Code) | | Construct a client-side initialisation block. Arguments may be of the types:
- Leaf types - these will be converted to String values by the standard conversion
- UIComponents - these will be rendered as their own fullIDs.
- ViewParameters - these will be converted to "fragment URLs", suitable for
rendering direct (unportalised) versions of the views they address.
|
|
|