| java.lang.Object org.apache.turbine.util.DynamicURI org.apache.turbine.services.jsp.util.JspLink
JspLink | public class JspLink extends DynamicURI (Code) | | A customized version of the DynamicURI to be used in JSP templates.
This is automatically inserted into the request so page authors
can create links in templates.
Here's an example of its use:
<%= link.setPage("index.jsp").setPathInfo("key", "value") %>
This would return:
http://foo.com/myapp/servlet/Turbine/key/value/template/index.jsp
author: John McNally author: Dave Bryson author: Jon S. Stevens jon@latchkey.com author: Henning P. Schmiedehausen version: $Id: JspLink.java 534872 2007-05-03 14:07:18Z tv $ |
JspLink | public JspLink(RunData data)(Code) | | Constructor
Parameters: data - A Rundata Object |
setPage | public JspLink setPage(String t)(Code) | | Sets the template variable used by the WebMacroSite Service
Parameters: String - the template name JspLink |
toString | public String toString()(Code) | | Returns the URI
String the uri http://foo.com/... |
Methods inherited from org.apache.turbine.util.DynamicURI | protected void add(int type, String name, String value)(Code)(Java Doc) protected void add(int type, ParameterParser pp)(Code)(Java Doc) public DynamicURI addPathInfo(String name, Object value)(Code)(Java Doc) public DynamicURI addPathInfo(String name, String value)(Code)(Java Doc) public DynamicURI addPathInfo(String name, double value)(Code)(Java Doc) public DynamicURI addPathInfo(String name, int value)(Code)(Java Doc) public DynamicURI addPathInfo(String name, long value)(Code)(Java Doc) public DynamicURI addPathInfo(ParameterParser pp)(Code)(Java Doc) public DynamicURI addQueryData(String name, Object value)(Code)(Java Doc) public DynamicURI addQueryData(String name, String value)(Code)(Java Doc) public DynamicURI addQueryData(String name, double value)(Code)(Java Doc) public DynamicURI addQueryData(String name, int value)(Code)(Java Doc) public DynamicURI addQueryData(String name, long value)(Code)(Java Doc) public DynamicURI addQueryData(ParameterParser pp)(Code)(Java Doc) protected void assertInitialized()(Code)(Java Doc) public String getA(String name)(Code)(Java Doc) public String getContextPath()(Code)(Java Doc) public String getReference()(Code)(Java Doc) public String getScriptName()(Code)(Java Doc) public ServerData getServerData()(Code)(Java Doc) public String getServerName()(Code)(Java Doc) public int getServerPort()(Code)(Java Doc) public String getServerScheme()(Code)(Java Doc) public void init(RunData data)(Code)(Java Doc) public void init(ServerData serverData)(Code)(Java Doc) protected void remove(int type, String name)(Code)(Java Doc) public void removePathInfo()(Code)(Java Doc) public void removePathInfo(String name)(Code)(Java Doc) public void removeQueryData()(Code)(Java Doc) public void removeQueryData(String name)(Code)(Java Doc) protected String renderPathInfo(List data)(Code)(Java Doc) protected String renderQueryString(List data)(Code)(Java Doc) public DynamicURI setAction(String action)(Code)(Java Doc) public DynamicURI setActionEvent(String actionName, String eventName)(Code)(Java Doc) public DynamicURI setContextPath(String contextPath)(Code)(Java Doc) public DynamicURI setReference(String reference)(Code)(Java Doc) public DynamicURI setScreen(String screen)(Code)(Java Doc) public DynamicURI setScriptName(String name)(Code)(Java Doc) public DynamicURI setSecure()(Code)(Java Doc) public DynamicURI setSecure(int port)(Code)(Java Doc) public void setServerData(ServerData serverData)(Code)(Java Doc) public DynamicURI setServerName(String name)(Code)(Java Doc) public DynamicURI setServerPort(int port)(Code)(Java Doc) public DynamicURI setServerScheme(String scheme)(Code)(Java Doc) public String toString()(Code)(Java Doc) public static String toString(RunData data)(Code)(Java Doc)
|
|
|