|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.odlabs.wiquery.ui.tabs.JQueryCookieOption
public class JQueryCookieOption
$Id: JQueryCookieOption
Bean storing jQuery cookie options (only the value of cookie won't be stored into the options)
Warning : You must import the CookieJavaScriptResourceReference
to enable the
cookie option
Constructor Summary | |
---|---|
JQueryCookieOption(String name)
Constructeur |
Method Summary | |
---|---|
JsStatement |
deleteCookie()
Method to delete the cookie This will return the element back to its pre-init state. |
void |
deleteCookie(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to delete the cookie within the ajax request |
JsStatement |
getCookie()
Method to retrieve the cookie This will return the element back to its pre-init state. |
String |
getDomain()
|
DateOption |
getExpires()
|
CharSequence |
getJavascriptOption()
Method retrieving the javascript representation of this complex option |
String |
getName()
|
protected Options |
getOptions()
Method retrieving the options |
String |
getPath()
|
String |
getValue()
|
boolean |
isSecure()
|
JsStatement |
setCookie()
Method to set the cookie This will return the element back to its pre-init state. |
void |
setCookie(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
Method to set the cookie within the ajax request |
JQueryCookieOption |
setDomain(String domain)
Set's the domain name (example: server.domain.net) |
JQueryCookieOption |
setExpires(DateOption expires)
Set's with a Number or a Date the time of validation of the cookie |
JQueryCookieOption |
setPath(String path)
Set's the path ("/" or "http://server.domain.net" for examples) |
JQueryCookieOption |
setSecure(boolean secure)
Set's the transaction security status (must we enable the SSL protocol ?) |
JQueryCookieOption |
setValue(String value)
Set's the value of the cookie |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JQueryCookieOption(String name)
name
- Name of the cookieMethod Detail |
---|
public CharSequence getJavascriptOption()
IComplexOption
getJavascriptOption
in interface IComplexOption
protected Options getOptions()
public JQueryCookieOption setDomain(String domain)
domain
- public String getDomain()
public JQueryCookieOption setExpires(DateOption expires)
expires
- public DateOption getExpires()
public String getName()
public JQueryCookieOption setPath(String path)
path
- public String getPath()
public JQueryCookieOption setSecure(boolean secure)
secure
- public boolean isSecure()
public JQueryCookieOption setValue(String value)
value
- public String getValue()
public JsStatement deleteCookie()
public void deleteCookie(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget
- public JsStatement getCookie()
public JsStatement setCookie()
public void setCookie(org.apache.wicket.ajax.AjaxRequestTarget ajaxRequestTarget)
ajaxRequestTarget
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |