Package com.ocpsoft.pretty.faces.component

Examples of com.ocpsoft.pretty.faces.component.UrlBuffer


      if (!component.isRendered())
      {
         return;
      }

      UrlBuffer urlBuffer = (UrlBuffer) component;
      String var = (String) urlBuffer.getAttributes().get("var");

      String mappingId = (String) component.getAttributes().get("mappingId");
      if (mappingId == null)
      {
         throw new PrettyException("Mapping id was null when attempting to build URL for component: "
                  + component.toString() + " <" + component.getClientId(context) + ">");
      }
     
      String relative = (String) urlBuffer.getAttributes().get("relative");

      PrettyContext prettyContext = PrettyContext.getCurrentInstance(context);
      PrettyConfig prettyConfig = prettyContext.getConfig();
      UrlMapping urlMapping = prettyConfig.getMappingById(mappingId);
View Full Code Here


      if (!component.isRendered())
      {
         return;
      }

      UrlBuffer urlBuffer = (UrlBuffer) component;
      String var = (String) urlBuffer.getAttributes().get("var");

      String mappingId = (String) component.getAttributes().get("mappingId");
      if (mappingId == null)
      {
         throw new PrettyException("Mapping id was null when attempting to build URL for component: "
View Full Code Here

TOP

Related Classes of com.ocpsoft.pretty.faces.component.UrlBuffer

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.