public class JspUrlTagSupport
extends javax.servlet.jsp.tagext.TagSupport
<taglib>
<taglib-uri>uri</taglib-uri>
<taglib-location>/WEB-INF/jsp/mytaglib.tld<taglib-location>
</taglib>
Usage: To use the taglib and this tag you only have to define it in the jsp:
<%@ taglib prefix="wicket" uri="http://wicketstuff-jee-web.org/functions/jsp" %> Tag: url // Parameters: page(required), query(optional) // Example: <a href="<wicket:url page="mypage.MyTestPage" query="param1=value1¶m2=value2"/>">LINK</a>
| Constructor and Description |
|---|
JspUrlTagSupport() |
| Modifier and Type | Method and Description |
|---|---|
int |
doStartTag()
Applies the url of wicket to the tag
|
String |
getPage() |
String |
getQuery() |
void |
setPage(String page) |
void |
setQuery(String query) |
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionpublic String getPage()
public void setPage(String page)
public String getQuery()
public void setQuery(String query)
Copyright © 2017. All rights reserved.