Author: vkorluzhenko
Date: 2007-07-19 09:50:59 -0400 (Thu, 19 Jul 2007)
New Revision: 1698
Modified:
trunk/docs/userguide/en/src/main/docbook/included/panel.xml
trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
trunk/docs/userguide/en/src/main/docbook/included/tab.xml
Log:
http://jira.jboss.com/jira/browse/RF-335 - added info about facets
Modified: trunk/docs/userguide/en/src/main/docbook/included/panel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2007-07-19 12:39:46 UTC
(rev 1697)
+++ trunk/docs/userguide/en/src/main/docbook/included/panel.xml 2007-07-19 13:50:59 UTC
(rev 1698)
@@ -50,10 +50,7 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="Panel Header"/>
- </f:facet>
+ <rich:panel header="Panel Header">
...
<!--Any Content inside-->
...
@@ -75,6 +72,21 @@
</section>
<section>
<title>Details of Usage</title>
+ <para>The <emphasis
><property>"header"</property></emphasis >
attribute defines text to be represented. If you can use the
+ <emphasis
><property>"header"</property></emphasis > facet,
you can even not use the <emphasis
><property>"header"</property></emphasis >
attribute.</para>
+ <emphasis role="bold">Example:</emphasis>
+ <programlisting role="XML"><![CDATA[...
+ <rich:panel>
+ <f:facet name="header">
+ <h:graphicImage value="/images/img1.gif"/>
+ </f:facet>
+ ...
+ <!--Any Content inside-->
+ ...
+ </rich:panel>
+...
+]]></programlisting>
+
<para><emphasis role="bold">
<property><rich:panel></property>
</emphasis> components are used to group page content pieces on similarly
formatted
@@ -142,21 +154,6 @@
<listitem> etc. </listitem>
</itemizedlist>
- <!--<para>The "header" attribute defines text to be
represented. If you can use the
- "header" facet, you can even not use the
"header" attribute.</para>
- <emphasis role="bold">Example:</emphasis>
- <programlisting role="XML"><![CDATA[...
- <rich:panel>
- <f:facet name="header">
- <h:graphicImage value="/images/img1.gif"/>
- </f:facet>
- ...
- <Any Content inside>
- ...
- </rich:panel>
-...
-]]></programlisting>-->
-
</section>
<section>
<title>Look-and-Feel Customization</title>
Modified: trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-07-19 12:39:46
UTC (rev 1697)
+++ trunk/docs/userguide/en/src/main/docbook/included/panelBarItem.xml 2007-07-19 13:50:59
UTC (rev 1698)
@@ -75,11 +75,8 @@
</section>
<section>
<title>Details of Usage</title>
- <para>As it was mentioned above, <property>panelBarItem</property>
is used for grouping any
- content inside within one <property>panelBar</property>, thus its
customization deals only
- with specification of sizes and styles for rendering.</para>
- <para>The "label" attribute defines text to be represented.
If you can use the
- "label" facet, you can even not use the "label"
attribute.</para>
+ <para>The <emphasis ><property>
"label"</property></emphasis > attribute defines text to be
represented. If you can use the
+ <emphasis
><property>"label"</property></emphasis > facet,
you can even not use the <emphasis
><property>"label"</property></emphasis >
attribute.</para>
<emphasis role="bold">Example:</emphasis>
<programlisting role="XML"><![CDATA[...
<rich:panelBarItem...>
@@ -92,7 +89,10 @@
</rich:panelBarItem>
...
]]></programlisting>
- <para><property>panelBar</property> could contain any number of
child
+ <para>As it was mentioned above, <property>panelBarItem</property>
is used for grouping any
+ content inside within one <property>panelBar</property>, thus its
customization deals only
+ with specification of sizes and styles for rendering.</para>
+ <para><property>panelBar</property> could contain any number of
child
<property>panelBarItem</property> components inside, which content is
uploaded onto the client
and headers are controls to open the corresponding child element.</para>
</section>
Modified: trunk/docs/userguide/en/src/main/docbook/included/tab.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2007-07-19 12:39:46 UTC (rev
1697)
+++ trunk/docs/userguide/en/src/main/docbook/included/tab.xml 2007-07-19 13:50:59 UTC (rev
1698)
@@ -73,9 +73,8 @@
<section>
<title>Details of Usage</title>
<para>The main component function is to define a content group that is rendered
and processed when the <property>tab</property> is active, i.e. click on a
<property>tab</property> causes switching onto a
<property>tab</property> containing content corresponded to this
<property>tab</property>.</para>
-
- <para>The "label" attribute defines text to be represented.
If you can use the
- "label" facet, you can even not use the "label"
attribute.</para>
+ <para>The <emphasis
><property>"label"</property></emphasis > attribute
defines text to be represented. If you can use the
+ <emphasis
><property>"label"</property></emphasis > facet,
you can even not use the <emphasis
><property>"label"</property></emphasis >
attribute.</para>
<emphasis role="bold">Example:</emphasis>
<programlisting role="XML"><![CDATA[...
<rich:tab>
@@ -88,7 +87,7 @@
</rich:tab>
...
]]></programlisting>
-
+
<para>A marker on a <property>tab</property> header defined with
the <emphasis
><property>"label"</property></emphasis> attribute.
Moreover, each <property>tab</property> could be disabled (switching on this
<property>tab</property> is impossible) with the <emphasis
><property>"disable"</property></emphasis>
attribute.</para>
<para>
@@ -143,7 +142,7 @@
</para>
<programlisting role="XML"><![CDATA[...
<rich:tabPanel>
- <rich:tab label="Tab1" ontabenter=”alert()”>
+ <rich:tab label="Tab1" ontabenter="alert()">
…
</rich:tab>
…