public class ELFunctions extends Object
${wicket:url('mypackage.MyPage')} and ${wicket:urlWithQuery('mypackage.MyPage','param1=value1¶m2=value2')}
Constructor and Description |
---|
ELFunctions() |
Modifier and Type | Method and Description |
---|---|
static String |
ajaxCallbackUrl()
Gets the plan callback URL to process a request to the current rendered page
|
static String |
ajaxCallbackUrlWithQuery(String query)
Gets the plan callback URL to process a request to the current rendered page with pre
rendered query arguments
|
static String |
ajaxFormSubmit(String method)
Creates a ajax callback function to send a form via AJAX to the current rendered page.
|
static String |
ajaxGet()
Creates a ajax callback function that processes a request to the current rendered page
|
static String |
ajaxGetWithQuery(String query)
Creates a ajax callback function that processes a request to the current rendered page.
|
static String |
url(String page)
Creates a URL based on the given page
|
static String |
urlWithQuery(String page,
String query)
Creates a URL based on the given page and the given query
|
public static String urlWithQuery(String page, String query)
page
- the page to be used within the linkquery
- the query with all parameterspublic static String url(String page)
page
- the page to be used within the linkpublic static String ajaxCallbackUrlWithQuery(String query)
query
- the querypublic static String ajaxCallbackUrl()
public static String ajaxGet()
public static String ajaxGetWithQuery(String query)
query
- the query to be send to the functionCopyright © 2015. All rights reserved.