You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/03/24 03:07:02 UTC
[Myfaces Wiki] Update of "TabbedPane" by QuintinKerby
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The following page has been changed by QuintinKerby:
http://wiki.apache.org/myfaces/TabbedPane
The comment on the change is:
Added FAQ entry about Apache-Tomcat connector.
------------------------------------------------------------------------------
- The {{{panelTabbedPane}}} is quite simple to use. But sometimes there occur errors, where it is difficult to determine the reason. Mostly it is related to a
+ The {{{panelTabbedPane}}} is quite simple to use. But sometimes errors occur, where it is difficult to determine the reason. Mostly it is related to a
misconfiguration of your webapp (web.xml).
- To check, that everything runs fine, take a look at the produced HTML-code. The component includes a default stylesheet (defaultStyle.css) and much javascript-code.
+ To check that everything runs fine, take a look at the produced HTML-code. The component includes a default stylesheet (defaultStyle.css) and much javascript-code.
-
+
{{{<html>
<body>
<f:view>
@@ -22, +22 @@
=== FAQ ===
- The Panel-Tabs are rendered as buttons !?
+ '''The Panel-Tabs are rendered as buttons !?'''
The component doesn't include the default-stylesheet and some javascript-code.
Check your web.xml for filter-configuration :
@@ -71, +71 @@
Every jsf-Page has to go through the filter.
+ '''I added the filter and mappings to my web.xml and __still__ have buttons for Panel-Tabs!?'''
+
+ If you are using a connector between Apache and Tomcat, make sure you add the following to your httpd.conf:
+
+ {{{
+ JKMount /*.jsf ajp13
+ JKMount /*.faces ajp13
+ JKMount /''your context root''/faces/* ajp13
+ }}}
+ The defaultStyle.css is served through your servlet container, not your web server. Without this, you will get a lot of 404 errors in you Apache error logs.
+