Author: mmcallis
Date: 2008-04-02 03:16:53 -0400 (Wed, 02 Apr 2008)
New Revision: 10476
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
Log:
6.3.2. Portlet Debugging (jboss-portal.sar/conf/config.xml)
revising content
Modified:
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml
===================================================================
---
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-04-02
06:57:47 UTC (rev 10475)
+++
docs/branches/JBoss_Portal_Branch_2_6/referenceGuide/en/modules/xmldescriptors.xml 2008-04-02
07:16:53 UTC (rev 10476)
@@ -1647,13 +1647,12 @@
</sect3>
</sect2>
<sect2 id="descriptor_debug">
- <title>Portlet Debugging (jboss-portal.sar/conf/config.xml)</title>
+ <title>Portlet Debugging
(<filename>jboss-portal.sar/conf/config.xml</filename>)</title>
<para>
- By default, JBoss Portal ships with all errors set to display. You can
fine-tune this behavior by modifying
- some properties in the file,
- <emphasis>jboss-portal.sar/conf/config.xml</emphasis>
- :
- <programlisting><![CDATA[
+ By default, JBoss Portal is configured to display all errors; however, this behavior
can be fine-tuned by modifying the
<filename>jboss-portal.sar/conf/config.xml</filename> file:
+ </para>
+ <para>
+<screen><![CDATA[
<!-- When a window has restrictedaccess : show or hide values are permitted -->
<entry key="core.render.window_access_denied">show</entry>
<!-- When a window is unavailable : show or hide values are permitted -->
@@ -1663,22 +1662,12 @@
<!-- When a window produces an internal error : show, hide are permitted -->
<entry key="core.render.window_internal_error">show</entry>
<!-- When a window is not found : show or hide values are permitted -->
-<entry key="core.render.window_not_found">show</entry>
-]]></programlisting>
- Either
- <emphasis>show</emphasis>
- or
- <emphasis>hide</emphasis>
- are allowed as flags in these elements. Depending on the setting and actual
error, either an error message
- is deployed or a full stack trace within the portlet window.
- Additionally, the
- <emphasis>core.render.window_error</emphasis>
- property supports the
- <emphasis>message_only</emphasis>
- value. This value will only display the error message whereas
- <emphasis>show</emphasis>
- will display the full stack trace if it is available.
- </para>
+<entry key="core.render.window_not_found">show</entry>]]>
+</screen>
+ </para>
+ <para>
+ For these parameters, accepted values are
<computeroutput>show</computeroutput> and
<computeroutput>hide</computeroutput>. Depending on the setting, and the
actual error, either an error message is displayed, or a full stack trace within the
portlet window occurs. Additionally, the
<computeroutput>core.render.window_error</computeroutput> property only
supports the <computeroutput>message_only</computeroutput> value. The
<computeroutput>message_only</computeroutput> value will only display an error
message, whereas the <computeroutput>show</computeroutput> value will, if
available, display the full stack trace.
+ </para>
</sect2>
<sect2>
<title>Login to dashboard</title>
Show replies by date