Stripes Tag Library
Tag layout-component


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.



Tag Information
Tag Classnet.sourceforge.stripes.tag.layout.LayoutComponentTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
nametruetruejava.lang.String The name of the component being defined (in the layout definition) or overridden (when rendering the layout).

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.