public class UrlFragment extends Object
Constructor and Description |
---|
UrlFragment(org.apache.wicket.ajax.AjaxRequestTarget target) |
Modifier and Type | Method and Description |
---|---|
UrlFragment |
putParameter(String parameterName,
Object parameterValue)
Puts the given key-value-pair into window.location.hash.
|
UrlFragment |
putParameter(String parameterName,
Object parameterValue,
String valueDelimiter)
Puts the given key-value-pair into window.location.hash.
|
UrlFragment |
removeParameter(String parameterName)
Removes the key-value-pair from window.location.hash that is identified by the given
parameter name.
|
UrlFragment |
set(Object urlFragment)
Sets the value of window.location.hash to the given String.
|
UrlFragment |
set(String parameterName,
Object parameterValue)
Sets the value of window.location.hash to the given key-value-pair.
|
public UrlFragment set(Object urlFragment)
urlFragment
- public UrlFragment set(String parameterName, Object parameterValue)
parameterName
- parameterValue
- public UrlFragment putParameter(String parameterName, Object parameterValue)
parameterName
- parameterValue
- public UrlFragment putParameter(String parameterName, Object parameterValue, String valueDelimiter)
parameterName
- parameterValue
- valueDelimiter
- public UrlFragment removeParameter(String parameterName)
parameterName
- Copyright © 2015. All rights reserved.