Well, that is a style that was left out when the component was created originally, sorry...
What you can do is write up a small patch for the inclusion of this - or use !important statements in your css to overwrite the style of the inputs. regards, Martin On 11/7/05, Bobby Rosenberger <[EMAIL PROTECTED]> wrote: > Hey Rodney, > > Thanks for the reply, but I think our problems are different. Everything is > 'working' fine... I'm not faced with something performing incorrectly. I'm > simply attempting to change the look of the tab's generated <input> tag. And > I don't think it is currently possible. All other .css and .js are working > fine... > > I was hoping a MyFaces expert would say, "Hey, you missed attribute 'abc', > it should work for you"... > > Here's the gist: > Try creating a tabbed interface (using the MyFaces/Tomahawk) tags... pretty > easy. Now, change the font on the tab. Not the tab 'content', the actual tab > that you click on to select that tab. > > Can you do it? > > That text resides on an <input> tag of the type "submit". On many systems, > that looks like a button on the tab... I'm trying to change that look. My > client doesn't want a button on the tab. > > I think I may be faced with hacking something up in javascript to change > the style after everything is generated... or changeing the MyFaces tag... > both of which I was trying to avoid. > > Again, any other ideas or comments are welcome. > > Thanks again, > > Bobby > > > On 11/7/05, Burke, Rodney <[EMAIL PROTECTED]> wrote: > > > > > > > > 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 > > > > > > > > ________________________________ > > > > > From: Bobby Rosenberger [mailto: [EMAIL PROTECTED] > > Sent: Tuesday, 8 November 2005 1:07 AM > > To: [email protected] > > Subject: t:panelTabbedPane tab <input> style > > > > > > > > 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 > > > > > > -- http://www.irian.at Your JSF powerhouse - JSF Trainings in English and German

