Package org.g4studio.core.mvc.xstruts.action

Examples of org.g4studio.core.mvc.xstruts.action.ActionForm


   * @return TRUE if processing should halt
   * @throws Exception
   *             on any error
   */
  public boolean execute(ActionContext actionContext) throws Exception {
    ActionForm form = findOrCreateForm(actionContext);

    if (isEmpty(getToKey())) {
      throw new IllegalStateException("Property 'toKey' must be defined.");
    }

View Full Code Here


   * @throws Exception
   *             On an unexpected error
   */
  public boolean execute(ActionContext actionCtx) throws Exception {
    // Is there a form bean for this request?
    ActionForm actionForm = actionCtx.getActionForm();

    if (actionForm == null) {
      return (false);
    }

View Full Code Here

      context = (ActionContextBase) ctx;
    } catch (ClassCastException e) {
      throw new IllegalStateException("ActionContext [" + ctx + "]" + " must be subclass of ActionContextBase");
    }

    ActionForm form = context.findOrCreateActionForm(effectiveFormName, effectiveScope);

    if (form == null) {
      throw new IllegalArgumentException("No form found under scope [" + effectiveScope + "] and formName ["
          + effectiveFormName + "]");
    }
View Full Code Here

TOP

Related Classes of org.g4studio.core.mvc.xstruts.action.ActionForm

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.