Package org.strecks.action

Examples of org.strecks.action.BasicDispatchAction


  @Override
  protected ViewAdapter executeAction(Object actionBean, ActionContext context)
  {

    BasicDispatchAction action = (BasicDispatchAction) actionBean;
    ActionMapping mapping = context.getMapping();
    String parameterName = mapping.getParameter();

    helper.checkParameterName(mapping, parameterName);

    String methodName = getMethodName(context, parameterName);
    String result = null;
    if (methodName == null)
    {
      result = action.unspecified();
    }
    else
    {
      Method method = helper.getMethod(action, methodName);
      result = ReflectHelper.invokeMethod(action, method, String.class);
View Full Code Here

TOP

Related Classes of org.strecks.action.BasicDispatchAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.