Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.action
Class ActionUtils

java.lang.Object
  extended by com.jivesoftware.base.action.ActionUtils

Deprecated. With no replacement

public class ActionUtils
extends java.lang.Object

A small utility class for developers when writing JSP templates for WebWork.


Method Summary
static com.opensymphony.xwork.Action getAction()
          Deprecated. Returns the current XWork action.
static java.util.Collection getActionMessages()
          Deprecated. Returns xwork action messages provided by the current action if there is any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAction

public static com.opensymphony.xwork.Action getAction()
Deprecated. 
Returns the current XWork action. If you're using the WW taglibs then you won't need this method since that's handled implicitly. This method is useful if you need direct access to the action object for a particular view:

Returns:
the action for the current view or null if the action was not found (that might happen if the action was never executed perhaps because the JSP page was called directly).

getActionMessages

public static java.util.Collection getActionMessages()
Deprecated. 
Returns xwork action messages provided by the current action if there is any.

Returns:
xwork action messages provided by the current action if there is any.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.