public class SearchForm
extends java.lang.Object
Constructor and Description |
---|
SearchForm(AutoComplete autocomplete,
Tnt tnt,
Form form) |
SearchForm(SlingHttpServletRequest request,
AutoComplete autocomplete,
Tnt tnt,
Form form) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Returns the form action attribute.
|
AutoComplete |
getAutocomplete()
Returns
AutoComplete element. |
Form |
getForm()
Returns
Form element. |
SlingHttpServletRequest |
getRequest()
|
Tnt |
getTnt()
Returns
Tnt element. |
void |
setAction(java.lang.String action)
Sets the form action attribute.
|
void |
setRequest(SlingHttpServletRequest request)
|
java.lang.String |
toString()
Prints out the form tag with contained input fields and the DIV elements
for auto-completion and Adobe Target integration.
|
public SearchForm(SlingHttpServletRequest request, AutoComplete autocomplete, Tnt tnt, Form form)
public SearchForm(AutoComplete autocomplete, Tnt tnt, Form form)
public SlingHttpServletRequest getRequest()
SlingHttpServletRequest
public void setRequest(SlingHttpServletRequest request)
request
- SlingHttpServletRequest
public java.lang.String getAction()
public void setAction(java.lang.String action)
action
- form action attributepublic AutoComplete getAutocomplete()
AutoComplete
element.null
if element is missingpublic java.lang.String toString()
toString
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"