Overview | Library | Tag | Help
| FRAMES NO FRAMES

## Ajax4Jsf
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 Class | org.ajax4jsf.taglib.html.jsp.AjaxPage
TagExtraInfo Class | None
Body Content | JSP
Display Name | Ajax Page

Attributes
Name | Required | Request-time | Type | Description
ajaxListener | false | false | `javax.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
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The attribute takes a value-binding expression for a component property of a backing bean
contentType | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Set custom mime content type to response
dir | false | false | `javax.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)
format | false | false | `javax.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
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
immediate | false | false | `javax.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
lang | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Code describing the language used in the generated markup for this component
namespace | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Set html element default namespace
onload | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | JavaScript code to execute on a page load.
onunload | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | JavaScript code to execute on a page unload.
pageTitle | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | String for output as a page title.
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "false", this component is not rendered
selfRendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | if "true", self-render subtree at InvokeApplication ( or Decode, if immediate property set to true ) phase
style | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied when this component is rendered
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Corresponds to the HTML class attribute
title | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Advisory title information about markup elements generated for this component

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

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.