From: Chris L. <chr...@jb...> - 2006-05-26 21:06:36
|
User: claprun Date: 06/05/26 17:06:34 Modified: referenceGuide/en/modules xmldescriptors.xml Log: Updated debugging configuration. Revision Changes Path 1.17 +10 -3 jboss-portal-docs/referenceGuide/en/modules/xmldescriptors.xml (In the diff below, changes in quantity of whitespace are not shown.) Index: xmldescriptors.xml =================================================================== RCS file: /cvsroot/jboss/jboss-portal-docs/referenceGuide/en/modules/xmldescriptors.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -b -r1.16 -r1.17 --- xmldescriptors.xml 16 May 2006 19:04:50 -0000 1.16 +++ xmldescriptors.xml 26 May 2006 21:06:34 -0000 1.17 @@ -33,7 +33,7 @@ <sect2 id="descriptor_ds"> <title>Datasource Descriptor (portal-*-ds.xml)</title> </sect2> - <sect2 id="descriptor_deug"> + <sect2 id="descriptor_debug"> <title>Portlet Debugging (jboss-portal.sar/conf/config.xml)</title> <para> By default, JBoss Portal ships with all errors set to display. You can fine-tune this behaviour by modifying @@ -46,8 +46,10 @@ <entry key="core.render.window_access_denied">show</entry> <!-- When a window is unavailable : show or hide values are permitted --> <entry key="core.render.window_unavailable">show</entry> - <!-- When a window produces an error : show or hide values are permitted --> - <entry key="core.render.window_error">show</entry> + <!-- When a window produces an error : show, hide or message_only values are permitted --> + <entry key="core.render.window_error">message_only</entry> + <!-- 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> </properties>]]></programlisting> @@ -57,6 +59,11 @@ <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> </sect2> </sect1> |