Class ActionLink

  extended bycom.oktiva.mogno.Component
      extended bycom.oktiva.mogno.Visual
          extended bycom.oktiva.mogno.Container
              extended bycom.oktiva.mogno.html.A
                  extended bycom.oktiva.mogno.additional.ActionLink
All Implemented Interfaces:

public class ActionLink
extends A

ActionLink - A link associated with an action

A container that holds a link with a evOnClick event. This link will be received and will dispatch an event in Mogno.

The property application and the property params overrides the href property.

evOnClick - This event is dispatched when this link is clicked.

$Id:,v 2005/01/05 16:52:50 ruoso Exp $
Itamar Carvalho <> and others.

Field Summary
 java.lang.String application
          The url of this web application
 java.lang.String evOnClick
          Event dispatched when this link is clicked.
 java.lang.String origin
          The mognoOrigin param, defaults to
 java.lang.String params
          Another params (in URL encoded format) to add to the link
Fields inherited from class com.oktiva.mogno.html.A
accesskey, charset, coords, dir, href, hreflang, lang, onblur, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, rel, rev, shape, tabindex, target, type
Fields inherited from class com.oktiva.mogno.Container
afterEnd, content
Fields inherited from class com.oktiva.mogno.Visual
evOnShow, evOnSyntaxError, gridHeight, gridWeightX, gridWeightY, gridWidth, id, lastError, left, parent, problematic, style, styleClass, title, top
Fields inherited from class com.oktiva.mogno.Component
bag, componentFiler, componentFilerParams, designing, eventQueue, evOnCreate, name, owned, ownedClasses, owner, tag, xmlFileName
Constructor Summary
Method Summary
 java.lang.String getApplicationUrl()
 java.lang.String getEvOnClick()
 java.lang.String getOrigin()
 java.lang.String getParams()
 void receiveRequest(javax.servlet.http.HttpServletRequest request)
          Receive the request and rebuild the properties using the data that the user has filled in.
 void setApplicationUrl(java.lang.String applicationUrl)
 void setEvOnClick(java.lang.String evOnClick)
 void setOrigin(java.lang.String origin)
 void setParams(java.lang.String params)
 java.lang.String startContainer()
          Starts container's tag.
Methods inherited from class com.oktiva.mogno.html.A
getAccesskey, getCharset, getCoords, getDir, getHref, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getTabindex, getTarget, getType, htmlAttributes, setAccesskey, setCharset, setCoords, setDir, setHref, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setShape, setTabindex, setTarget, setType
Methods inherited from class com.oktiva.mogno.Container
addChildsVector, betweenColumns, betweenRows, endColumn, endContainer, endRow, getChildsVector, getContent, getFullComponentsVector, getOrderedChildNames, getOrderedChildsVector, nonAttributeGetters, orderChildsVector, selectParentComponent, setContent, show, startColumn, startRow
Methods inherited from class com.oktiva.mogno.Visual
buildHtmlAttributes, cellhalignHtmlAttributes, cellvalignHtmlAttributes, checkSyntax, coreHtmlAttributes, descendentOf, eventsHtmlAttributes, getEvOnShow, getEvOnSyntaxError, getGridHeight, getGridWeightX, getGridWeightY, getGridWidth, getId, getLastError, getLeft, getParent, getStyle, getStyleClass, getTitle, getTop, i18nHtmlAttributes, localizableAttributes, setEvOnShow, setEvOnSyntaxError, setGridHeight, setGridWeightX, setGridWeightY, setGridWidth, setId, setLastError, setLeft, setParent, setStyle, setStyleClass, setTitle, setTop, showHtmlAttributes
Methods inherited from class com.oktiva.mogno.Component
attribsHash, createOwnedComponents, dispatch, dispatchAll, dispatchFunction, eventParamTypes, eventParamValues, freeChild, getApplication, getAttrsTypes, getBag, getChild, getChildClass, getClone, getEvOnCreate, getFromBag, getName, getOwner, initialize, initialize, initialize, initialize, isDesigning, listChilds, putInBag, queue, registerChild, removeFromBag, serializedBag, setBag, setComponentFiler, setComponentFilerParams, setDesigning, setEvOnCreate, setName, setOwner, setProperties, store, unserializeBag
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public java.lang.String application
The url of this web application


public java.lang.String params
Another params (in URL encoded format) to add to the link


public java.lang.String origin
The mognoOrigin param, defaults to


public java.lang.String evOnClick
Event dispatched when this link is clicked.

Constructor Detail


public ActionLink()
Method Detail


public java.lang.String getApplicationUrl()


public void setApplicationUrl(java.lang.String applicationUrl)


public java.lang.String getParams()


public void setParams(java.lang.String params)


public java.lang.String getOrigin()


public void setOrigin(java.lang.String origin)


public java.lang.String getEvOnClick()


public void setEvOnClick(java.lang.String evOnClick)


public void receiveRequest(javax.servlet.http.HttpServletRequest request)
Description copied from class: Visual
Receive the request and rebuild the properties using the data that the user has filled in. This is a stub method

receiveRequest in class Visual
request - HttpServletRequest


public java.lang.String startContainer()
Description copied from class: Container
Starts container's tag.
If the tag attribute is not null, assumes the default behavior:
< + tag + htmlAttributes + >

startContainer in class Container