iNamik WebFrames
Tag frame


Defines a frame that can later be extended and re-used by other 'frame' or 'render' tags. A frame has to either specify a file, via the 'file' attribute, or extend an existing frame via the 'baseFrame' attribute. You can define sections (see 'section' tag). When extending an existing frame, the sections defined by the frame will be inherited and you can then define more sections. If a section definition has the same name as on of the inherited sections, it will override the inherited section, but only within the scope of the new frame. See the 'render' tag for details on rendering frames.

Example:
Frame With BaseFrame And Section Override Example:
<wf:frame id="frame1">
	<section name="section1" file="section1.jsp"/>
</wf:frame>
<wf:frame baseFrame="frame1">
	<section name="section1" file="override.jsp"/>
	<section name="section2" file="section2.jsp"/>
</wf:render>
		


Tag Information
Tag Classcom.inamik.webframes.FrameTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameFrame

Attributes
NameRequiredRequest-timeTypeDescription
idtruefalsejava.lang.String Name of frame, for later retrievel by 'frame' or 'render' tags. the frame is stored as a bean with the scope specified by the 'scope' attribute.
scopefalsefalsejava.lang.String Scope to store the resultant bean in. Valid values are : page, request, session, application
baseFramefalsefalsejava.lang.String Name of the frame to extend. The new frame will inherit the sections from the base frame.
filefalsetruejava.lang.String Name of the file to render this frame with.

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.