You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 26 Members of 4187 |
| Forum: Seam Users |
01. Apr 2008, 19:54 CET | Link |
Hello Community,
I want to desable Seam debug page, I tried to set debug to false but doesn't work:
<core:init debug="false" />
How to desable debug page?
Thanks,
3 Replies: | |||
|---|---|---|---|
Hi Marcos in components.xml
<core:init debug="true" jndi-pattern="myApp/#{ejbName}/local"/>
and if you work with Facelets then configure for production mode in web.xml:
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>false</param-value>
</context-param>
and of course in pages.xml you have to define all Exceptions. see chapter 5.3.2 of reference guide.
|
|||
Remove jboss-seam-debug.jar from your deployed archive as well. Read about how to report a bug. |
|||
Pete Muir wrote on Apr 05, 2008 05:34 PM: I don't have this Jar in my classpath. I just have: jboss-seam.jar, jboss-seam-ioc.jar and jboss-seam-ui.jar integrated with Spring 2.5 and Hibernate. Is it possible to get the exception stack trace to send to my page using seam exception handers? Because I've page that give the option to the user to send a e-mail to support wich the exception's trace.
<exception class="java.lang.Exception">
<end-conversation/>
<redirect view-id="/error.jsp">
<message>Database access failed</message>
</redirect>
</exception>
Marcos Sousa marcossousa.com Enjoy it! |
Marcos Sousa marcossousa.com Enjoy it!