webuijsf
Tag frame


Use the webuijsf:frame tag inside a webuijsf:frameSet tag to denote a new XHTML frame.
HTML Elements and Layout

If you use a webuijsf:frame and webuijsf:frameSet tags you should set the webuijsf:page tag's frame attribute to "true".

This tag renders an xhtml compliant <frame> tag. 

Client Side Javascript Functions

None.

Example

Example 1: Using the webuijsf:frame tag appropriately in a JSP page:

<?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:webuijsf="http://www.sun.com/web/webuijsf">
    <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.FrameTag
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.

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.
idfalsetruejava.lang.StringNo Description
styleClassfalsefalsejava.lang.String

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

longDescfalsefalsejava.lang.String

A URL to a long description of the frame contents. Use it for browsers that do not support frames

marginHeightfalsefalsejava.lang.String

Defines the top and bottom margins in the frame

noResizefalsefalsejava.lang.String

Set the value of the noResize attribute to "true" when user is not allowed to resize the frame.

stylefalsefalsejava.lang.String

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

frameBorderfalsefalsejava.lang.String

Set the value of the frameBorder attribute to "true" when a border is needed around the frame.

scrollingfalsefalsejava.lang.String

Determines scrollbar action (valid values are: yes, no, auto)

urlfalsefalsejava.lang.String

Defines the URL of the file to show in the frame.

marginWidthfalsefalsejava.lang.String

Defines the left and right margins in the frame

namefalsefalsejava.lang.String

Defines a unique name for the frame (to use in scripts)


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.