|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.faces.component.UIComponent javax.faces.component.UIComponentBase com.sun.rave.web.ui.component.FrameBase com.sun.rave.web.ui.component.Frame com.sun.rave.web.ui.component.IFrameBase
Use
the ui:iframe
tag
to create an inline frame in the rendered HTML page. The ui:iframe
tag inserts a frame in which another web page can be displayed inside
the web application page.
<iframe>
XHTML
element. The ui:iframe
tag can be configured by using the tag's attributes, which map to the <iframe>
properties and are similarly named. <?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>
<ui:page frame="true">
<ui:html>
<ui:head title="blah" />
<ui:body>
<ui:staticText id="text1" text="Below is a
frame within this page without a frameset" />
<ui:markup tag="br" singleton="true"
/>
<ui:iframe url="http://google.com" />
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>
Auto-generated component class. Do NOT modify; all changes will be lost!
Constructor Summary | |
IFrameBase()
Construct a new IFrameBase . |
Method Summary | |
java.lang.String |
getAlign()
Specifies how to align the iframe according to the surrounding text. |
java.lang.String |
getFamily()
Return the family for this component. |
java.lang.String |
getHeight()
Defines the height of the iframe in pixels or as a percentage of it's container |
java.lang.String |
getWidth()
Defines the width of the iframe in pixels or as a percentage of it's container |
boolean |
isNoResize()
Set the value of the noResize attribute to "true" when user is not allowed to resize the frame. |
void |
restoreState(javax.faces.context.FacesContext _context,
java.lang.Object _state)
Restore the state of this component. |
java.lang.Object |
saveState(javax.faces.context.FacesContext _context)
Save the state of this component. |
void |
setAlign(java.lang.String align)
Specifies how to align the iframe according to the surrounding text. |
void |
setHeight(java.lang.String height)
Defines the height of the iframe in pixels or as a percentage of it's container |
void |
setNoResize(boolean noResize)
Set the value of the noResize attribute to "true" when user is not allowed to resize the frame. |
void |
setWidth(java.lang.String width)
Defines the width of the iframe in pixels or as a percentage of it's container |
Methods inherited from class com.sun.rave.web.ui.component.FrameBase |
getLongDesc, getMarginHeight, getMarginWidth, getName, getScrolling, getStyle, getStyleClass, getToolTip, getUrl, isFrameBorder, setFrameBorder, setLongDesc, setMarginHeight, setMarginWidth, setName, setScrolling, setStyle, setStyleClass, setToolTip, setUrl |
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IFrameBase()
Construct a new IFrameBase
.
Method Detail |
public java.lang.String getFamily()
Return the family for this component.
getFamily
in class FrameBase
public java.lang.String getAlign()
Specifies how to align the iframe according to the surrounding text. One of the following: left, right, top, middle, bottom
public void setAlign(java.lang.String align)
Specifies how to align the iframe according to the surrounding text. One of the following: left, right, top, middle, bottom
getAlign()
public java.lang.String getHeight()
Defines the height of the iframe in pixels or as a percentage of it's container
public void setHeight(java.lang.String height)
Defines the height of the iframe in pixels or as a percentage of it's container
getHeight()
public boolean isNoResize()
Set the value of the noResize attribute to "true" when user is not allowed to resize the frame.
isNoResize
in class FrameBase
public void setNoResize(boolean noResize)
Set the value of the noResize attribute to "true" when user is not allowed to resize the frame.
setNoResize
in class FrameBase
isNoResize()
public java.lang.String getWidth()
Defines the width of the iframe in pixels or as a percentage of it's container
public void setWidth(java.lang.String width)
Defines the width of the iframe in pixels or as a percentage of it's container
getWidth()
public void restoreState(javax.faces.context.FacesContext _context, java.lang.Object _state)
Restore the state of this component.
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class FrameBase
public java.lang.Object saveState(javax.faces.context.FacesContext _context)
Save the state of this component.
saveState
in interface javax.faces.component.StateHolder
saveState
in class FrameBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |