From richfaces-svn-commits at lists.jboss.org Thu Aug 27 10:10:08 2009 Content-Type: multipart/mixed; boundary="===============6528571107951544993==" 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: r15342 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included. Date: Thu, 27 Aug 2009 10:10:08 -0400 Message-ID: <200908271410.n7REA8bO016553@svn01.web.mwc.hst.phx2.redhat.com> --===============6528571107951544993== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: atsebro Date: 2009-08-27 10:10:08 -0400 (Thu, 27 Aug 2009) New Revision: 15342 Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ric= h_insert.xml Log: RF-7756: Rich Miscellaneous component group description review --> rich:Ins= ert Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/inclu= ded/rich_insert.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 --- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ri= ch_insert.xml 2009-08-27 12:57:54 UTC (rev 15341) +++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/ri= ch_insert.xml 2009-08-27 14:10:08 UTC (rev 15342) @@ -31,19 +31,12 @@ If "highlight" attribute is defined and JHighlight open source library is in = the classpath, the text from the file is formated and colorized. - An example is placed below. - - Example: - - ... -<rich:insert src=3D"/pages/sourcePage.xhtml" highlight=3D"xhtml"/> -... + An example is placed below: + <rich:insert src=3D"/pages/so= urcePage.xhtml" highlight=3D"xhtml"/> = - The result of using - <rich:insert> - component is shown on the picture: + The result of using &l= t;rich:insert> component is shown on the picture:<= /para>
- Source code highlighting + Source code highlighting with the help of <ric= h:Insert>> @@ -53,7 +46,12 @@ The <rich:insert> component provides the same functionality as= JHighlight. Thus, = all names of highlight style classes for source code of particular language= could be changed - to your names, which are used by the JHighlight library. + to your names, which are used by the JHighlight library. + + + The "errorContent" attrib= ute defines the alternative content that will be shown in case the <rich:insert> cannot = read the resource defined with "src" attribu= te. = + If "errorContent" attribu= te is not defined, the component shown the actual error message in the plac= e where the content is expected. = +
Reference Data --===============6528571107951544993==--