Package org.soybeanMilk.web.exe.WebAction

Examples of org.soybeanMilk.web.exe.WebAction.Target


  }
 
  public void handleTarget(WebAction webAction, WebObjectSource webObjectSource)
      throws ServletException, IOException
  {
    Target target=webAction.getTarget();
    if(target == null)
    {
      if(log.isDebugEnabled())
        log.debug("the action "+webAction+" has no Target defined, handling is not needed.");
     
      return;
    }
   
    TargetHandler th=getTargetHandler(target.getType());
    if(th == null)
      throw new NullPointerException("no TargetHandler found for handling Target of type "+SbmUtils.toString(target.getType()));
   
    th.handleTarget(webAction, webObjectSource);
  }
View Full Code Here


   */
  public String getActualTargetUrl(WebAction webAction, ObjectSource objectSource) throws ServletException, IOException
  {
    String re=null;
   
    Target target=webAction.getTarget();
    if(target != null)
      re=evaluateVariableUrl(target.getUrl(), objectSource);
   
    return re;
  }
View Full Code Here

  {
    Element element=getSingleElementByTagName(parent, TAG_TARGET);
    if(element == null)
      return;
   
    Target targetInfo=createTargetInstance();
    setTargetInfoProperties(targetInfo,element);
   
    action.setTarget(targetInfo);
  }
View Full Code Here

    return new WebAction();
  }
 
  protected Target createTargetInstance()
  {
    return new Target();
  }
View Full Code Here

TOP

Related Classes of org.soybeanMilk.web.exe.WebAction.Target

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.