|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.webwork.components.Component
com.opensymphony.webwork.components.UIBean
com.opensymphony.webwork.components.ClosingUIBean
com.jivesoftware.base.tags.FocusedSpan
public class FocusedSpan
A tag to create a <SPAN> element and give it focus. Only the last focusedspan on the page will have focus.
Usage:
<%-- Register the taglib --%>
<%@ taglib uri="jivetags" prefix="jive" /%>
...
<%-- Get the text and focus --%>
<jive:focusedspan name="resource.property.name" cssClass="aCssClass" id="a-unique-id"
tabindex="0" />
| Name | Required |
|---|---|
| name | No |
| id | Yes |
| tabindex | No |
| cssClass | No |
| Field Summary | |
|---|---|
static java.lang.String |
TEMPLATE
|
static java.lang.String |
TEMPLATE_CLOSE
|
| Fields inherited from class com.opensymphony.webwork.components.UIBean |
|---|
accesskey, cssClass, cssStyle, disabled, label, labelPosition, name, onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect, request, required, requiredposition, response, tabindex, template, templateDir, templateSuffix, theme, title, tooltip, tooltipConfig, value |
| Fields inherited from class com.opensymphony.webwork.components.Component |
|---|
COMPONENT_STACK, id, parameters, stack |
| Constructor Summary | |
|---|---|
FocusedSpan(com.opensymphony.xwork.util.OgnlValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultOpenTemplate()
|
protected java.lang.String |
getDefaultTemplate()
|
| Methods inherited from class com.opensymphony.webwork.components.ClosingUIBean |
|---|
setOpenTemplate, start |
| Methods inherited from class com.opensymphony.webwork.components.UIBean |
|---|
addFormParameter, buildTemplateName, enableAncestorFormCustomOnsubmit, end, escape, evaluateExtraParams, evaluateNameValue, evaluateParams, getTemplate, getTemplateDir, getTheme, getTooltipConfig, getValueClassType, mergeTemplate, populateComponentHtmlId, setAccesskey, setCssClass, setCssStyle, setDisabled, setLabel, setLabelposition, setLabelPosition, setName, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setRequired, setRequiredposition, setTabindex, setTemplate, setTemplateDir, setTheme, setTitle, setTooltip, setTooltipConfig, setValue |
| Methods inherited from class com.opensymphony.webwork.components.Component |
|---|
addAllParameters, addParameter, altSyntax, copyParams, determineActionURL, determineNamespace, end, fieldError, findAncestor, findString, findString, findValue, findValue, findValue, getComponentStack, getId, getParameters, getStack, popComponentStack, setId, toString, usesBody |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TEMPLATE
public static final java.lang.String TEMPLATE_CLOSE
| Constructor Detail |
|---|
public FocusedSpan(com.opensymphony.xwork.util.OgnlValueStack stack,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
| Method Detail |
|---|
public java.lang.String getDefaultOpenTemplate()
getDefaultOpenTemplate in class com.opensymphony.webwork.components.ClosingUIBeanprotected java.lang.String getDefaultTemplate()
getDefaultTemplate in class com.opensymphony.webwork.components.UIBean
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||