From richfaces-svn-commits at lists.jboss.org Tue Dec 22 00:18:46 2009 Content-Type: multipart/mixed; boundary="===============5645616934796327560==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r16185 - root/docs/trunk/Component_Reference/en-US. Date: Tue, 22 Dec 2009 00:18:46 -0500 Message-ID: <200912220518.nBM5Ik2r015280@svn01.web.mwc.hst.phx2.redhat.com> --===============5645616934796327560== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: SeanRogers Date: 2009-12-22 00:18:46 -0500 (Tue, 22 Dec 2009) New Revision: 16185 Modified: root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Conta= iners.xml Log: Finished Containers Modified: root/docs/trunk/Component_Reference/en-US/chap-Component_Referenc= e-Containers.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Cont= ainers.xml 2009-12-22 01:35:19 UTC (rev 16184) +++ root/docs/trunk/Component_Reference/en-US/chap-Component_Reference-Cont= ainers.xml 2009-12-22 05:18:46 UTC (rev 16185) @@ -33,9 +33,55 @@ =
a4j:include + + + + component-type: org.ajax4jsf.Include + + + + + component-family: javax.faces.Output + + + + + component-class: org.ajax4jsf.component.html.Include + + + + + renderer-type: org.ajax4jsf.components.AjaxIncludeRenderer= + + + - Incomplete + The <a4j:include> component allows one view to= be included as part of another page. This is useful for applications where= multiple views might appear on the one page, with navigation between the v= iews. Views can use partial page navigation in Ajax mode, or standard JSF navigation for navigation between views. + + The viewId attribute is required to reference the re= source that will be included as a view on the page. It uses a full context-= relative path to point to the resource, similar to the paths used for the <= sgmltag><from-view-id> and <to-view-id> tags in the faces-config.xml JSF navigation rules. + + + A wizard using <sgmltag><a4j:include></sgmltag> + + The page uses <a4j:include> to include the fi= rst step of the wizard: + + + + + + The first step is fully contained in a separate file, wstep1= .xhtml. Subsequent steps are set up similarly with additional Previous buttons. + + + + + + The navigation is defined in the faces-config.xml= configuration file: + + + + +
=
--===============5645616934796327560==--