|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBodyTagSupport
com.raritantechnologies.verity.taglibrary.DidYouMeanTag
JSP CustomTag that provides a Verity Did You Mean link.
| Constructor Summary | |
DidYouMeanTag()
|
|
| Method Summary | |
int |
doStartTag()
|
void |
setCollection(java.lang.String collection)
A colon(:) separated list of collections to search collection="col1:col2:col3" |
void |
setLabel(java.lang.String label)
Set the label for the link, i.e. |
void |
setLinkTemplate(java.lang.String linkTemplate)
|
void |
setPassword(java.lang.String password)
Password for user |
void |
setProperties(java.lang.String props)
Properties for the link such as class, target onClick etc. |
void |
setQueryParam(java.lang.String query)
Name of the search parameter (query) |
void |
setSearchSourceName(java.lang.String source)
Can either be the name of a source configured in the application config xml or a verity collection name and port i.e. |
void |
setUserName(java.lang.String userName)
User name that Verity will use to restrict which collections are searched |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DidYouMeanTag()
| Method Detail |
public void setQueryParam(java.lang.String query)
public void setProperties(java.lang.String props)
props - public void setLabel(java.lang.String label)
label - public void setLinkTemplate(java.lang.String linkTemplate)
public void setSearchSourceName(java.lang.String source)
source - public void setCollection(java.lang.String collection)
collection - public void setUserName(java.lang.String userName)
userName - public void setPassword(java.lang.String password)
password -
public int doStartTag()
throws JspException
JspException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||