Package com.ateam.webstore.ui.views

Examples of com.ateam.webstore.ui.views.OrderShippingView


   * @param message
   * @return
   */
  public OrderShippingView getOrderShippingView(String message, Address addr) {

    OrderShippingView osv = new OrderShippingView(getMainView());

    AddressHandler ah = new AddressHandler(req);
    osv.setUserAddresses(ah.getUserAddresses());

    ShippingCodeHandler sch = new ShippingCodeHandler(req);
    osv.setShippers(sch.getShippingCodes(2));
   
    osv.addContentView(new ContentView(Constants.JSP_ORDER_SHIPPING, "Shipping Options"));
    osv.addContentView(new ContentView(Constants.JSP_ADDRESS, "Add New Shipping Address"));
   
    osv.setMessage(message);
    osv.setAddress(addr);
   
    return osv;
   
  }
View Full Code Here

TOP

Related Classes of com.ateam.webstore.ui.views.OrderShippingView

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.