Ajax4jsf ( Legacy URL )
Tag page


This component renders a full HTML page structure. It must be the first (and only) child for the view root (JSP <f:view> tag). No HTML code can be outside of this component. It also has support for processing child components in AJAX requests, just like <a4j:region>. For a normal request, it will render the results of a <script> element with a client-side library at the page's <head>. If this component includes a "head" facet, the facet's content will also be rendered at the <head> element. For an AJAX request, only affected components in the full document structure will be rendered. Here's an example of using it in JSP (jspx version): <jsp:root xmlns:.... <f:view> <a4j:page><f:facet name="head"> ... </f:facet> <!-- page content here --> </a4j:page> </f:view></jsp:root>


Tag Information
Tag Classorg.ajax4jsf.taglib.html.jsp.AjaxPage
TagExtraInfo ClassNone
Body ContentJSP
Display NameAjax Page

Attributes
NameRequiredRequest-timeTypeDescription
ajaxListenerfalsefalsejavax.el.MethodExpression
(signature must match void ajaxListener(org.ajax4jsf.event.AjaxEvent))
MethodExpression representing an action listener method that will be notified when this component is activated by the ajax Request and handle it. The expression must evaluate to a public method that takes an AjaxEvent parameter, with a return type of void
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The attribute takes a value-binding expression for a component property of a backing bean
contentTypefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Set custom mime content type to response
dirfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
formatfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Page layout format ( html, xhtml, html-transitional, html-3.2 ) for encoding DOCTYPE, namespace and Content-Type definitions
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
immediatefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Flag indicating that, if this component is activated by ajaxrequest, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase
langfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Code describing the language used in the generated markup for this component
namespacefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Set html element default namespace
onloadfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called before a page is loaded
onunloadfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a page is unloaded
pageTitlefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
String for output as a page title.
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If "false", this component is not rendered
selfRenderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
if "true", self-render subtree at InvokeApplication ( or Decode, if immediate property set to true ) phase
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style rules to be applied to the component
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute.
titlefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Advisory title information about markup elements generated for this component

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.