All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.stripes-buffered-layout.tld Maven / Gradle / Ivy

There is a newer version: 1.7.0-async-beta
Show newest version






    
        Provides tags for use with the Stripes presentation framework.  There are three main
        groups of tags in this tag library.  First come the HTML form tags.  These include
        the form tag itself as well as tags for most of the input tag variants.  The second
        is a set of tags for output error information, including 'errors', 'individual-error'
        and others.  Last is a set of utility tags.  These include the wizard-fields tag which
        can write out hidden fields for values in the request, the useActionBean tag to use
        ActionBeans as view helpers and the link tags for generating links similar to forms.
    
    Stripes Buffered Layout Tags for Backward Compatibility
    1.0
    stripes-buffered-layout
    http://stripes.sourceforge.net/stripes-buffered-layout.tld

    
    
        Defines a reusable layout. This tag is designed to wrap the entire contents of a
            JSP that is to be re-used to manage the layout of multiple pages. It can contain
            HTML, JSP content, scriptlets etc.  It may also contain stripes:layout-component
            tags.  The stripes:layout-component names a section of the layout that can be
            supplied during rendering (it may be empty, or have default contents).

Layout definitions will also have access to, through PageContext, any attributes/parameters supplied at rendering time. These can be referenced in the layout definition using EL, for example as ${myCustomParameter}. This allows layouts not only to templatize look and feel, but to potentially render differently based on the values of parameters passed in at rendering time.

]]>
layout-definition net.sourceforge.stripes.tag.layout.buffered.LayoutDefinitionTag JSP
Used to define or supply a component of a layout. The stripes:layout-component tag can be nested inside both the stripes:layout-definition and stripes:layout-render tags. In the former case it defines a named component in the layout, and the (optional) body provides a default for the component. When nested in a stripes:layout-render tag, the body overrides the named component defined in the layout.

The vanilla case would be to have a layout which defines the header/footer etc. for your site and that has a component named "body" or "contents" or something similar, which wraps the area where page content would normally be displayed. Then, when using that layout through a stripes:layout-render tag, you would use a stripes:layout-component tag to provide a value for the "body" or "contents" component of the layout.

]]>
layout-component net.sourceforge.stripes.tag.layout.buffered.LayoutComponentTag JSP The name of the component being defined (in the layout definition) or overridden (when rendering the layout). name true true
Renders the named layout, supplying it with any specified parameters and overridden components. In addition to being able to supply nested stripes:layout-component tags, you may also supply any number of dynamic or arbitrary parameters to this tag. All parameters (except name) will be made available to the layout definition through the page context.

]]>
layout-render net.sourceforge.stripes.tag.layout.buffered.LayoutRenderTag JSP The name of the layout. Since only JSP layouts are supported, this should be the web application relative path to the JSP that defines the layout. name true true true




© 2015 - 2025 Weber Informatics LLC | Privacy Policy