webuijsf
Tag frameSet


Use the webuijsf:frameSet tag to define a new set of frames in the rendered HTML page.
When using webuijsf:frameSet and webuijsf:frame tags in your application, you must also set the webuijsf:page tag's frame attribute to "true".

HTML Elements and Layout

The rendered HTML page contains an XHTML-compliant <frameset> element.

Theme Identifiers

None

Client Side Javascript Functions

None. 

Examples

Example 1: Creating a frameset of two rows and two columns

<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=ISO-8859-1" pageEncoding="UTF-8"/><f:view>
       <webuijsf:page frame="true">
           <webuijsf:html>
               <webuijsf:head title="blah" />
               <webuijsf:frameSet rows="10%,*" cols="10%,*" style="color:blue" styleClass="blue" toolTip="blah">
                <webuijsf:frame toolTip="blah" url="../faces/hyperlink/hyperlink.jsp" frameBorder="true" noResize="false"/>
                <webuijsf:frame toolTip="blah1" url="../faces/hyperlink/nextpage.jsp" frameBorder="true" noResize="false"/>
                
                <webuijsf:frame toolTip="blah2" url="http://www.google.com" frameBorder="true" noResize="false"/>
                <webuijsf:frame toolTip="blah3" url="http://www.yahoo.com" frameBorder="true" noResize="false"/>
                </webuijsf:frameSet>
           </webuijsf:html>
       </webuijsf:page>
    </f:view>
</jsp:root>


Tag Information
Tag Classcom.sun.webui.jsf.component.FrameSetTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.lang.String A ValueExpression that resolves to the UIComponent that corresponds to this tag. This attribute allows the Java bean that contains the UIComponent to manipulate the UIComponent, its properties, and its children.
toolTipfalsefalsejava.lang.String

Sets the value of the title attribute for the HTML element. The specified text will display as a tooltip if the mouse cursor hovers over the HTML element.

colsfalsefalsejava.lang.String

Defines the number and size of columns in a frameset. The size can be specified in pixels, percentage of the page width, or with an asterisk (*). Specifying * causes the columns to use available space. See the HTML specification for the frameset element for more details.

borderColorfalsefalsejava.lang.String

The bordercolor attribute allows you to set the color of the frame borders using a hex value or a color name.

styleClassfalsefalsejava.lang.String

CSS style class(es) to be applied to the outermost HTML element when this component is rendered.

rowsfalsefalsejava.lang.String

Defines the number and size of rows in a frameset. The size can be specified in pixels, percentage of the page length, or with an asterisk (*). Specifying * causes the rows to use available space. See the HTML specification for the frameset element for more details.

stylefalsefalsejava.lang.String

CSS style(s) to be applied to the outermost HTML element when this component is rendered.

frameBorderfalsefalsejava.lang.String

Flag indicating whether frames should have borders or not. If frameBorder is true, decorative borders are drawn. If frameBorder is false, a space between frames shows up as the background color of the page. To show no border or space between frames, you should set frameBorder to false, and set frameSpacing and border to 0. The default value is true.

borderfalsefalsejava.lang.String

The width, in pixels, of the space around frames. The frameSpacing attribute and the border attribute set the same property in different browsers. Set frameSpacing and border to the same value.

renderedfalsefalsejava.lang.String Use the rendered attribute to indicate whether the HTML code for the component should be included in the rendered HTML page. If set to false, the rendered HTML page does not include the HTML for the component. If the component is not rendered, it is also not processed on any subsequent form submission.
frameSpacingfalsefalsejava.lang.String

The width, in pixels, of the space around frames. The frameSpacing attribute and the border attribute set the same property in different browsers. Set frameSpacing and border to the same value.

idfalsetruejava.lang.StringNo Description

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.