Package org.apache.turbine.util.template

Examples of org.apache.turbine.util.template.TemplateLink


     {
         RunData data =
             (RunData)pageContext.getAttribute(JspService.RUNDATA,
                                               PageContext.REQUEST_SCOPE);

         TemplateLink link = new TemplateLink( data );
         DynamicURI uri = link.setPage( template );
         if ( action != null ) uri = uri.setAction( action );

         try
         {
             if (uri != null) {
View Full Code Here


    public WebContext getContext(RunData data)
    {
        WebContext newWC = wcPrototype.newInstance(data.getRequest(),
                                                   data.getResponse());
        newWC.put( "data", data );
        newWC.put( "link", new TemplateLink(data) );
        newWC.put( "page", new TemplatePageAttributes(data) );
        newWC.put( "formatter", new WebMacroFormatter(newWC) );
        newWC.put( "content", new ContentURI(data) );
        return newWC;
    }
View Full Code Here

    public WebContext getContext(RunData data)
    {
        WebContext newWC = wcPrototype.newInstance(data.getRequest(),
                                                   data.getResponse());
        newWC.put( "data", data );
        newWC.put( "link", new TemplateLink(data) );
        newWC.put( "page", new TemplatePageAttributes(data) );
        newWC.put( "formatter", new WebMacroFormatter(newWC) );
        newWC.put( "content", new ContentURI(data) );
        return newWC;
    }
View Full Code Here

    public WebContext getContext(RunData data)
    {
        WebContext newWC = wcPrototype.newInstance(data.getRequest(),
                                                   data.getResponse());
        newWC.put( "data", data );
        newWC.put( "link", new TemplateLink(data) );
        newWC.put( "page", new TemplatePageAttributes(data) );
        newWC.put( "formatter", new WebMacroFormatter(newWC) );
        newWC.put( "content", new ContentURI(data) );
        return newWC;
    }
View Full Code Here

     {
         RunData data =
             (RunData)pageContext.getAttribute(JspService.RUNDATA,
                                               PageContext.REQUEST_SCOPE);

         TemplateLink link = new TemplateLink( data );
         DynamicURI uri = link.setPage( template );
         if ( action != null ) uri = uri.setAction( action );

         try
         {
             if (uri != null) {
View Full Code Here

    public WebContext getContext(RunData data)
    {
        WebContext newWC = wcPrototype.newInstance(data.getRequest(),
                                                   data.getResponse());
        newWC.put( "data", data );
        newWC.put( "link", new TemplateLink(data) );
        newWC.put( "page", new TemplatePageAttributes(data) );
        newWC.put( "formatter", new WebMacroFormatter(newWC) );
        newWC.put( "content", new ContentURI(data) );
        return newWC;
    }
View Full Code Here

TOP

Related Classes of org.apache.turbine.util.template.TemplateLink

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.