Werner Punz wrote:
Reiche,Werner [CIS] schrieb:
I am trying to use implement panel tabs. They show up as buttons.
I've looked at the wiki for panel tables and it has the following:
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 :
As well, there is a web.xml definition for filters, but this appears to
have
to do with file uploads, not panel tabs.
When I put the definition in my web.xml, I get the error:
java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/FileUpload
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(Exten
sionsFilter.java:115)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(Monitor
Filter.java:362)
What do I need in web.xml to make the panel tab work?
Also, I do have both a defaultStyle.css and a defaultStyles.css in the
web/css directory.
I cannot help you directly there, but do a quick check on the examples
application of tomahawk and check for differences. I do not know how the
tabbed pane behaves but normally the components load their default css
files from the jar itself.
You might have a missing entry in the web.xml (there is an explicit
filter entry for the tomahawk components which is responsible for the
resource loading)
http://myfaces.apache.org/tomahawk/extensionsFilter.html
See chapter "How do I configure it?"!
AI
|