Author: cluts
Date: 2009-01-28 08:01:36 -0500 (Wed, 28 Jan 2009)
New Revision: 12456
Modified:
trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
Log:
RF-4575 - the new section has been added with necessary information.
Modified: trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
===================================================================
--- trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2009-01-28 12:57:43 UTC (rev
12455)
+++ trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2009-01-28 13:01:36 UTC (rev
12456)
@@ -2724,6 +2724,7 @@
</section>
<section id="newin32x">
+ <?dbhtml filename="newin32x.html"?>
<title>What's new in a4j in 3.2.x release</title>
<para>RichFaces 3.2.x releases have some new features:
<itemizedlist>
@@ -2753,4 +2754,24 @@
</context-param>
...]]></programlisting>
</section>
+ <section id="passBoolValueInComponentControl">
+ <?dbhtml
filename="passBoolValueInComponentControl.html"?>
+ <title>How to pass the boolean value in the
<rich:componentControl> component?</title>
+ <para>
+ There is an example which will help you to do without a
boolean value definition below.
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<rich:componentControl event="oncontextmenu" attachTiming="onload"
for="em" operation="show">
+ <f:param value="#{node.description}" name="nm"/>
+ <f:param value="#{node.id}" name="id"/>
+ <f:param value="#{node.craftUrl}" name="crft"/>
+ <f:param value="#{node.craftUrl == null ? 'block' : 'none'
}" name="cd"/>
+ <f:param value="#{node.craftUrl == null ? 'none' : 'block'
}" name="ce"/>
+</rich:componentControl>
+...
+<rich:menuItem style="display: {cd};" value="Launch Craft"
disabled="true" submitMode="none"/>
+<rich:menuItem style="display: {ce};" value="Launch Craft"
disabled="false" onclick="launchcrft('{crft}');"/>
+...]]></programlisting>
+ <para>Use <code>'block'</code>
instead of <code>' '</code> in order to avoid the CSS errors
about invalid style.</para>
+ </section>
</chapter>
Show replies by date