Package com.cognifide.slice.commons.link

Examples of com.cognifide.slice.commons.link.LinkBuilderImpl.toLink()


        linkBuilder.setPath(handle);
        linkBuilder.setSelectorString(selector);
        linkBuilder.setExtension(extension);

        final LinkExternalizer linkExternalizer = new LinkExternalizerImpl(null);
        getJspWriter().write(linkExternalizer.externalizeLink(linkBuilder.toLink()).toString());
      } catch (Exception e) {
        // should never occur
        logger.error("unexpected exception occured", e);
      }
    }
View Full Code Here


          linkBuilder.setPath(link);
          linkBuilder.setSelectorString(selector);
          linkBuilder.setExtension(extension);

          final LinkExternalizer linkExternalizer = new LinkExternalizerImpl(null);
          link = linkExternalizer.externalizeLink(linkBuilder.toLink()).toString();
        }

        JspWriter out = getJspWriter();
        out.append("<a");
        apppendAttributeIfNotBlank(out, "href", link);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.