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 Classorg.ajax4jsf.taglib.html.jsp.AjaxPage
TagExtraInfo ClassNone
Body ContentJSP
Display NameAjax Page

Attributes
NameRequiredRequest-timeTypeDescription
namespacefalsefalsejava.lang.StringSet html element default namespace
selfRenderedfalsefalsejava.lang.Stringif "true", self-render subtree at InvokeApplication ( or Decode, if immediate property set to true ) phase
langfalsefalsejava.lang.StringCode describing the language used in the generated markup for this component
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for this component
onunloadfalsefalsejava.lang.StringJavaScript code to execute on a page unload.
renderedfalsefalsejava.lang.StringIf "false", this component is not rendered
contentTypefalsefalsejava.lang.StringSet custom mime content type to response
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
dirfalsefalsejava.lang.StringDirection indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
styleClassfalsefalsejava.lang.StringCorresponds to the HTML class attribute
immediatefalsefalsejava.lang.StringFlag 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
onloadfalsefalsejava.lang.StringJavaScript code to execute on a page load.
pageTitlefalsefalsejava.lang.StringString for output as a page title.
stylefalsefalsejava.lang.StringCSS style(s) is/are to be applied when this component is rendered
bindingfalsefalsejava.lang.StringThe attribute takes a value-binding expression for a component property of a backing bean
ajaxListenerfalsefalsejava.lang.StringMethodBinding 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
formatfalsefalsejava.lang.StringPage layout format ( html, xhtml, html-transitional, html-3.2 ) for encoding DOCTYPE, namespace and Content-Type definitions

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.