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
namespace | false | false | `java.lang.String` | Set html element default namespace
selfRendered | false | false | `java.lang.String` | if "true", self-render subtree at InvokeApplication ( or Decode, if immediate property set to true ) phase
lang | false | false | `java.lang.String` | Code describing the language used in the generated markup for this component
title | false | false | `java.lang.String` | Advisory title information about markup elements generated for this component
onunload | false | false | `java.lang.String` | JavaScript code to execute on a page unload.
rendered | false | false | `java.lang.String` | If "false", this component is not rendered
contentType | false | false | `java.lang.String` | Set custom mime content type to response
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
dir | false | false | `java.lang.String` | Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
styleClass | false | false | `java.lang.String` | Corresponds to the HTML class attribute
immediate | false | false | `java.lang.String` | 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
onload | false | false | `java.lang.String` | JavaScript code to execute on a page load.
pageTitle | false | false | `java.lang.String` | String for output as a page title.
style | false | false | `java.lang.String` | CSS style(s) is/are to be applied when this component is rendered
binding | false | false | `java.lang.String` | The attribute takes a value-binding expression for a component property of a backing bean
ajaxListener | false | false | `java.lang.String` | MethodBinding 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
format | false | false | `java.lang.String` | Page layout format ( html, xhtml, html-transitional, html-3.2 ) for encoding DOCTYPE, namespace and Content-Type definitions

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.