|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Link
Contains the attributes of a html link
Method Summary | |
---|---|
HttpMethod |
getMethod()
|
UrlBuilder |
getUrl()
|
void |
setMethod(HttpMethod method)
Set the HttpMethod of this link. |
Methods inherited from interface org.loom.tags.HtmlTag |
---|
addCssClass, getCssBuilder |
Methods inherited from interface org.loom.tags.LoomTag |
---|
getExtendedAttributes, getRequest, getScopedAttribute, setExtendedAttribute, setScopedAttribute |
Method Detail |
---|
UrlBuilder getUrl()
HttpMethod getMethod()
HttpMethod
of this link. If null, GET will be usedvoid setMethod(HttpMethod method)
HttpMethod
of this link. /
If specified (and != GET), be aware that you should setup the
javascript needed to actually perform the POST call. Browsers without javascript enabled
(such as web crawlers, or normal browsers with ctrl+click) will ignore this and perform
a GET call that should be accepted and i.e. get this same HTML page.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |