er.extensions.components
Class ERXDataHyperlink
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WODynamicElement
com.webobjects.appserver._private.WODynamicGroup
com.webobjects.appserver._private.WOHTMLDynamicElement
com.webobjects.appserver._private.WOHyperlink
er.extensions.components._private.ERXHyperlink
er.extensions.components.ERXDataHyperlink
public class ERXDataHyperlink
- extends ERXHyperlink
ERXDataHyperlink works like a WOHyperlink except that instead of turning
unknown bindings into tag attributes, it instead passes them to the page
specified in pageName. For instance, if you have a pageName = "PersonPage"
and person = "$currentPerson", when the link is clicked, the next page will
be a PersonPage with setPerson(currentPerson) passed into it.
You can pass in as many bindings as you need, but there are some bindings
that are used by this element by itself and thus are not passed to the page:
The ones defined by WOHyperlink and additionally "id", "class", "onclick" and
"otherTagString", which are handled like bindings on a stock WOHyperlink.
If the "pageName" binding is not set, ERXDataHyperlink will behave like a
regular WOHyperlink.
- Author:
- mschrag, timo
Fields inherited from class er.extensions.components._private.ERXHyperlink |
log |
Fields inherited from class com.webobjects.appserver._private.WOHyperlink |
_action, _disabled, _fragmentIdentifier, _href, _pageName, _secure, _string |
Fields inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_associations, _constantAttributesRepresentation, _dyneltName, _finishedInitialization |
Fields inherited from class com.webobjects.appserver._private.WODynamicGroup |
_children |
Fields inherited from class com.webobjects.appserver.WODynamicElement |
_ConstructorParameters |
Constructor Summary |
ERXDataHyperlink(java.lang.String s,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement woelement)
|
Method Summary |
com.webobjects.appserver.WOActionResults |
invokeAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
Overriden to perform the logging, propagating the action to subelements and returning the
current page if an empty page is returned from super. |
Methods inherited from class com.webobjects.appserver._private.WOHyperlink |
_appendCGIActionURLToResponse, _appendCloseTagToResponse, _appendFragmentToResponse, _appendOpenTagToResponse, _appendQueryStringToResponse, appendChildrenToResponse, appendContentStringToResponse, toString |
Methods inherited from class com.webobjects.appserver._private.WOHTMLDynamicElement |
_appendAttributesFromAssociationsToResponse, _frameworkNameInComponent, appendConstantAttributesToResponse, appendNonURLAttributesToResponse, appendToResponse, appendURLAttributesToResponse, computeActionStringInContext, computeQueryDictionaryInContext, constantAttributesRepresentation, elementName, escapeHTML, nonUrlAttributeAssociations, urlAttributeAssociations |
Methods inherited from class com.webobjects.appserver._private.WODynamicGroup |
addChildElement, childrenElements, EmptyGroup, hasChildrenElements, invokeChildrenAction, takeChildrenValuesFromRequest, takeValuesFromRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERXDataHyperlink
public ERXDataHyperlink(java.lang.String s,
com.webobjects.foundation.NSDictionary associations,
com.webobjects.appserver.WOElement woelement)
invokeAction
public com.webobjects.appserver.WOActionResults invokeAction(com.webobjects.appserver.WORequest worequest,
com.webobjects.appserver.WOContext wocontext)
- Description copied from class:
ERXHyperlink
- Overriden to perform the logging, propagating the action to subelements and returning the
current page if an empty page is returned from super.
- Overrides:
invokeAction
in class ERXHyperlink
Copyright © 2002 – 2007 Project Wonder.