API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web.views. JOTLightweightView View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTLightweightView
Implements
 JOTViewParserData
Subclasses
Description
publicabstract abstract class JOTLightweightView
  This is a lightweight view object, which is decoupled from the webcontainer whereas JOTVIew is tightly coupled.
See also:   
Constructors
public JOTLightweightView ()
Methods
Hide/Show inherited methods
protected void addBlock (String id, JOTViewBlock element)
  Defines a page block to be "defined" on the fly at runtime For example blah will be replaced by the data provided in the view element with dataId "toto" if it exists.
protected void addForm (JOTForm form)
  Adds a Form to this View.
protected void addTag (String id, JOTViewBlock element)
  Defines an HTML tag to be "redefined" on the fly at runtime For example
, content will be replaced by the data provided in the view element with dataId "toto" if it exists.
public void addVariable (String id, Object value)
  Adds a variable to this View Then you can use the varibale in the view: Ex: jot:var value="id"
public Hashtable getBlocks () [Specified in JOTViewParserData]
public Hashtable getForms () [Specified in JOTViewParserData]
public JOTView getFullView () [Specified in JOTViewParserData]
public Hashtable getTags () [Specified in JOTViewParserData]
public Hashtable getVariables () [Specified in JOTViewParserData]
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar