public class AjaxTabbedPanelTab extends AjaxDynamicElement
for details on CSS and usage
Name | Description |
---|---|
name | required, String the text shown in the tab that is clicked on to select the tab |
isSelected | optional, boolean true if this tab is initially selected when the page is first rendered, defaults to false. If present and can be set, is set to true when this tab is selected and to false when it is no longer the selected tab |
id | optional, String the id attribute of the A element selecting this panel, [id]_panel is the id of LI element implementing this tab |
refreshOnSelect | optional, if true the tab content will reload each time the tab is selected. Defaults to false |
onLoad | optional, String JavaScript to execute after the tab loads |
isVisible | optional, default is true, indicates if tab and panel should be displayed |
accesskey | optional, The accesskey for this tab |
ERXDynamicElement.ContextData<T>
log
Constructor and Description |
---|
AjaxTabbedPanelTab(String aName,
NSDictionary associations,
com.webobjects.appserver.WOElement template) |
Modifier and Type | Method and Description |
---|---|
protected String |
_containerID(com.webobjects.appserver.WOContext context)
Override this method and return an update container ID this element should react on.
|
com.webobjects.appserver.WOAssociation |
accesskey() |
protected void |
addRequiredWebResources(com.webobjects.appserver.WOResponse response,
com.webobjects.appserver.WOContext context)
Override this method to append the needed scripts for this component.
|
void |
appendToResponse(com.webobjects.appserver.WOResponse aResponse,
com.webobjects.appserver.WOContext aContext)
Creates the panes.
|
com.webobjects.appserver.WOActionResults |
handleRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
The pane content is rendered when an Ajax request is received.
|
com.webobjects.appserver.WOAssociation |
id() |
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Do nothing if not visible.
|
boolean |
isSelected(com.webobjects.appserver.WOComponent component) |
boolean |
isVisble(com.webobjects.appserver.WOComponent component)
Returns current component's value for the isVisible binding.
|
com.webobjects.appserver.WOAssociation |
name() |
com.webobjects.appserver.WOAssociation |
parentId() |
Boolean |
refreshesOnSelect(com.webobjects.appserver.WOComponent component)
Returns current component's value for the refreshOnSelect binding.
|
void |
setId(com.webobjects.appserver.WOAssociation newID)
Sets the id association so that the AjaxTabbedPanel can provide an id if needed.
|
void |
setIsSelected(com.webobjects.appserver.WOComponent component,
boolean isTabSelected)
If present and settable, sets the isSelected association to true for this tab when it selected and
to false when it is no longer the selected tab.
|
void |
setParentId(com.webobjects.appserver.WOAssociation aParentId) |
void |
setTabNumber(com.webobjects.appserver.WOAssociation aTabNumber) |
String |
tabIdInComponent(com.webobjects.appserver.WOComponent component)
If the id binding is set, then this is used for the id, otherwise the parentId and tabNumber bindings are combined
to make an id.
|
com.webobjects.appserver.WOAssociation |
tabNumber() |
void |
takeValuesFromRequest(com.webobjects.appserver.WORequest request,
com.webobjects.appserver.WOContext context)
Do nothing if not visible.
|
addScriptResourceInHead, addScriptResourceInHead, addStylesheetResourceInHead, addStylesheetResourceInHead, shouldHandleRequest
afterProcessing, appendTagAttributeToResponse, arrayValueForBinding, arrayValueForBinding, associations, beforeProcessing, bindingIsSettable, bindingNamed, booleanValueForBinding, booleanValueForBinding, hasBinding, id, integerValueForBinding, nameInContext, secureInContext, setValueForBinding, stringValueForBinding, stringValueForBinding, valueForBinding, valueForBinding
addChildElement, appendChildrenToResponse, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
valueForBinding, valueForBinding
public AjaxTabbedPanelTab(String aName, NSDictionary associations, com.webobjects.appserver.WOElement template)
public void appendToResponse(com.webobjects.appserver.WOResponse aResponse, com.webobjects.appserver.WOContext aContext)
appendToResponse
in class AjaxDynamicElement
aResponse
- the current responseaContext
- context of the transactionpublic void takeValuesFromRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
takeValuesFromRequest
in class com.webobjects.appserver._private.WODynamicGroup
public com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
invokeAction
in class AjaxDynamicElement
request
- the current requestcontext
- context of the transactionpublic boolean isSelected(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered intrue
if this pane is the selected onepublic void setIsSelected(com.webobjects.appserver.WOComponent component, boolean isTabSelected)
component
- the component this is being rendered inisTabSelected
- true is this is being rendered as the selected tabprotected void addRequiredWebResources(com.webobjects.appserver.WOResponse response, com.webobjects.appserver.WOContext context)
AjaxDynamicElement
addRequiredWebResources
in class AjaxDynamicElement
response
- the current responsecontext
- context of the transactionpublic com.webobjects.appserver.WOActionResults handleRequest(com.webobjects.appserver.WORequest request, com.webobjects.appserver.WOContext context)
handleRequest
in interface IAjaxElement
handleRequest
in class AjaxDynamicElement
request
- the current requestcontext
- context of the transactionprotected String _containerID(com.webobjects.appserver.WOContext context)
AjaxDynamicElement
_containerID
in class AjaxDynamicElement
context
- WOContext response is being returned inpublic String tabIdInComponent(com.webobjects.appserver.WOComponent component)
component
- for value lookupspublic com.webobjects.appserver.WOAssociation id()
public void setId(com.webobjects.appserver.WOAssociation newID)
newID
- the association to use to get the HTML id attributepublic com.webobjects.appserver.WOAssociation name()
public Boolean refreshesOnSelect(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered inpublic boolean isVisble(com.webobjects.appserver.WOComponent component)
component
- the component this is being rendered inpublic com.webobjects.appserver.WOAssociation accesskey()
public void setParentId(com.webobjects.appserver.WOAssociation aParentId)
public com.webobjects.appserver.WOAssociation parentId()
public void setTabNumber(com.webobjects.appserver.WOAssociation aTabNumber)
public com.webobjects.appserver.WOAssociation tabNumber()
Copyright © 2002 – 2020 Project Wonder.