You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/07/25 07:16:07 UTC
svn commit: r978985 - /click/trunk/click/documentation/docs/faq.html
Author: sabob
Date: Sun Jul 25 05:16:06 2010
New Revision: 978985
URL: http://svn.apache.org/viewvc?rev=978985&view=rev
Log:
faq update
Modified:
click/trunk/click/documentation/docs/faq.html
Modified: click/trunk/click/documentation/docs/faq.html
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/faq.html?rev=978985&r1=978984&r2=978985&view=diff
==============================================================================
--- click/trunk/click/documentation/docs/faq.html (original)
+++ click/trunk/click/documentation/docs/faq.html Sun Jul 25 05:16:06 2010
@@ -628,6 +628,11 @@ public interface Controller {
support you can render directly to the servlet response and bypass the page
template rendering.
<p/>
+ In order to bypass the Page template rendering you <strong>must</strong> set
+ the <tt>Page path</tt> to <tt>null</tt>. If Click does not know the location of the
+ Page template, it won't render it. If you do not set the Page path to null,
+ Click will attempt to render the Page template which can lead to undesirable results.
+ <p/>
Here is an example to render either a PDF or Excel document:
<pre class="prettyprint">