|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.grails.plugin.vaadin.gsp.GspContext
class GspContext
For executing a tag's body, using the tag's Vaadin Component as the 'active' component, to which nested tags will append their Vaadin Components.
Property Summary | |
---|---|
HttpSession |
session
The current active Vaadin Component node is stored in the session. |
Constructor Summary | |
GspContext(HttpSession session)
Creates a new GspContext using the specified session to store the current active Vaadin Component. |
Method Summary | |
---|---|
CharSequence
|
evaluate(GspComponentNode node, boolean isRoot = false)
Evaluates the body of the specified Gsp Component Node, but first sets the specified node to be the 'active' component node. |
GspComponentNode
|
getNode()
Gets the current active node, to which any child nodes will attach their Vaadin Components. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
HttpSession session
Constructor Detail |
---|
GspContext(HttpSession session)
session
- The session that will store the active component
Method Detail |
---|
CharSequence evaluate(GspComponentNode node, boolean isRoot = false)
node
- The node that will be the 'active' node, and whose body will be evaluatednode
- True if the node is the top-level Gsp - if so, the context has no active node when done
GspComponentNode getNode()
Groovy Documentation