Sounds like the same problem I had.
Here’s what fixed it:
Make sure your web.xml has this
configured:
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.jsf</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
The /faces/* filter-mapping is critical
according to another myfaces expert
because components generate inputs to the
filter that require this mapping.
In fact, any component needing .css or .js resources needs this mapping.
Rodney
From: Bobby Rosenberger
[mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005
12:46 PM
To: MyFaces
Discussion; [EMAIL PROTECTED]
Subject: Re: panelTabbedPane tab
<input> style
Thanks for the response. Yes, I have tried to set the style attribute... I'm
not certain which style you are referring to (because there are several) but I
have tried them all, I think. None of them allow me to apply a style to the
generated <input>.
Here's what I've discovered:
Setting the style attrib on the "panelTabbedPane" tag applies a style
to the generated <table> tag.
Setting the style attrib on the "panelTab" tag applies a style to a
generated <span> tag that wraps the panel content.
Neither of those satify my need.
Interestingly, there are a couple of specialized attribs on the
"panelTabbedPane" tag that allow us to access most of the nested
elements, unfortunately not the one I'm looking for, but hey, they ARE nice to
have... for instance:
Setting the "activeTabStyleClass" will allow access to styles on the
containing table cell that houses the <input> tag I'm after. Close!
Setting the "activeSubStyleClass" actually gives us access to a small
area just beneath the <input> tag I'm after. Close again!
But nothing I've found will let me change the style on the <input>
itself, which, to me, seems like a more useful place for applying styles than
the activeSubStyleClass... but then, I'm biased because it's the current
problem I working on! ;-)
Again, I would welcome any ideas/comments.
Thanks again,
Bobby
On 11/7/05, Yee CN
<[EMAIL PROTECTED]> wrote:
Have you try setting the "style" attribute? If I
understand it correctly that particular attribute is passed through directly to
HTML.
Regards,
Yee
Hello
All,
I'm trying to overcome a situation where the tabs (generated by t:panelTabbedPane)
look like "buttons" when viewed in IE on XP using the "Windows
XP Theme" (all of which are my clients standards). And
they don't like the look of buttons on the tabs. If I could apply a style to
the generated <input> the resolution would be easy, but I can't see
a way to do this using the tags existing
attribs. I can apply styles to the containing table cell... but not
the input itself. So...
1. Is there currently a way to apply styles to the generated <input> on a
tab (not the containing table cell, but the input itself) that I've missed?
2. Has anyone else had been faced with changing the look of the
tabs <input>? Applying the style after it is rendered seems less than
optimal.. but I'd like to hear ideas if you have them.
Thanks for your responses,
Bobby R