Package com.mierdasoft.bowlpoolmanager.model.beans

Examples of com.mierdasoft.bowlpoolmanager.model.beans.PathBean


public class ApplyTemplateCommand implements Command {
  @Override
  public void execute(CommandContext context) {
    LoginBean login;
    PathBean cssPath, jQueryPath, jQueryUIPath;
    ServletContext servletContext;
    String baseUrl, view;

    servletContext = context.getServletContext();

    baseUrl = servletContext.getInitParameter("site.url");

    if (!baseUrl.endsWith("/"))
      baseUrl = baseUrl + "/";

    cssPath = new PathBean(baseUrl
        + servletContext.getInitParameter("site.css"));

    jQueryPath = new PathBean(baseUrl
        + servletContext.getInitParameter("site.jquery"));

    jQueryUIPath = new PathBean(baseUrl
        + servletContext.getInitParameter("site.jquery-ui"));

    view = (String) context.getRequest().getAttribute("forwardToView");

    if (view == null)
View Full Code Here

TOP

Related Classes of com.mierdasoft.bowlpoolmanager.model.beans.PathBean

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.