|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.kohsuke.stapler.jelly.BindTag
@NoContent public class BindTag
Binds a server-side object to client side so that JavaScript can call into server. This tag evaluates to a <script> tag.
Field Summary |
---|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, parent |
Constructor Summary | |
---|---|
BindTag()
|
Method Summary | |
---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput out)
|
protected javax.servlet.http.HttpServletRequest |
getRequest()
|
protected javax.servlet.http.HttpServletResponse |
getResponse()
|
protected javax.servlet.ServletContext |
getServletContext()
|
void |
setValue(java.lang.Object o)
|
void |
setVar(java.lang.String varName)
JavaScript variable name to set the proxy to. |
Methods inherited from class org.apache.commons.jelly.TagSupport |
---|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BindTag()
Method Detail |
---|
public void setVar(java.lang.String varName)
This name can be arbitrary left hand side expression, such as "a[0]" or "a.b.c". If this value is unspecified, the tag generates a JavaScript expression to create a proxy.
@Required public void setValue(java.lang.Object o)
public void doTag(org.apache.commons.jelly.XMLOutput out) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
protected javax.servlet.http.HttpServletRequest getRequest()
protected javax.servlet.http.HttpServletResponse getResponse()
protected javax.servlet.ServletContext getServletContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |