| |||||||
FRAMES NO FRAMES |
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".
<?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 Class | com.sun.webui.jsf.component.FrameTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
binding | false | false | java.lang.String | A ValueExpression that resolves to the UIComponent that corresponds to this tag. This binding allows the Java bean that contains the UIComponent to manipulate the UIComponent, its properties, and its children. |
toolTip | false | false | java.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. |
rendered | false | false | java.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. |
id | false | true | java.lang.String | No Description |
styleClass | false | false | java.lang.String | CSS style class(es) to be applied to the outermost HTML element when this component is rendered. |
longDesc | false | false | java.lang.String | A URL to a long description of the frame contents. Use it for browsers that do not support frames |
marginHeight | false | false | java.lang.String | Defines the top and bottom margins in the frame |
noResize | false | false | java.lang.String | Set the value of the noResize attribute to "true" when user is not allowed to resize the frame. |
style | false | false | java.lang.String | CSS style(s) to be applied to the outermost HTML element when this component is rendered. |
frameBorder | false | false | java.lang.String | Set the value of the frameBorder attribute to "true" when a border is needed around the frame. |
scrolling | false | false | java.lang.String | Determines scrollbar action (valid values are: yes, no, auto) |
url | false | false | java.lang.String | Defines the URL of the file to show in the frame. |
marginWidth | false | false | java.lang.String | Defines the left and right margins in the frame |
name | false | false | java.lang.String | Defines a unique name for the frame (to use in scripts) |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |