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/rich_insert.xml
Log:
RF-7756: Rich Miscellaneous component group description review --> rich:Insert
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_insert.xml
===================================================================
---
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_insert.xml 2009-08-27
12:57:54 UTC (rev 15341)
+++
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/rich_insert.xml 2009-08-27
14:10:08 UTC (rev 15342)
@@ -31,19 +31,12 @@
<para>If <emphasis>
<property>"highlight"</property>
</emphasis> attribute is defined and <ulink
url="https://jhighlight.dev.java.net/"> JHighlight</ulink> open source
library is in the classpath, the text from the file is formated and
colorized.</para>
- <para>An example is placed below.</para>
- <para>
- <emphasis role="bold">Example:</emphasis>
- </para>
- <programlisting role="XML">...
-<rich:insert src="/pages/sourcePage.xhtml"
highlight="xhtml"/>
-...</programlisting>
+ <para>An example is placed below:</para>
+ <programlisting role="XML"><rich:insert
src="/pages/sourcePage.xhtml"
highlight="xhtml"/></programlisting>
- <para>The result of using <emphasis role="bold">
- <property><rich:insert></property>
- </emphasis> component is shown on the picture:</para>
+ <para>The result of using <emphasis
role="bold"><property><rich:insert></property></emphasis>
component is shown on the picture:</para>
<figure>
- <title>Source code highlighting</title>
+ <title>Source code highlighting with the help of
<rich:Insert>></title>
<mediaobject>
<imageobject>
<imagedata
fileref="images/insert_init.png"/>
@@ -53,7 +46,12 @@
<para>The <emphasis role="bold">
<property><rich:insert></property>
</emphasis> component provides the same functionality as
<ulink
url="https://jhighlight.dev.java.net/">JHighlight</ulink>.
Thus, all names of highlight style classes for source code of particular language could be
changed
- to your names, which are used by the <ulink
url="https://jhighlight.dev.java.net/">JHighlight</ulink>
library.</para>
+ to your names, which are used by the <ulink
url="https://jhighlight.dev.java.net/">JHighlight</ulink> library.
+ </para>
+ <para>
+ The <property>"errorContent"</property>
attribute defines the alternative content that will be shown in case the <emphasis
role="bold"><property><rich:insert></property></emphasis>
cannot read the resource defined with
<property>"src"</property> attribute.
+ If <property>"errorContent"</property>
attribute is not defined, the component shown the actual error message in the place where
the content is expected.
+ </para>
</section>
<section>
<title>Reference Data</title>