How to overwrite default renderer for tomahawk t:radio tag?

2007-01-16 Thread Wendy Chou
Hi, I would like to change how the t:radio is rendered. This tomahawk tag is handled by org.apache.myfaces.custom.radio.HtmlRadioTag, however when I looked in that class, the getRendererType() method returns null. How should I overwrite the renderer for this tag? Thanks, Wendy

Re: How to overwrite default renderer for h:selectOneRadio to include for attribute in label

2007-01-12 Thread Wendy Chou
either. How should I go about determining what component the facelet h:selectOneRadio tag uses? And what exactly are the names of the configuration files that I should be looking for? Any help would be much appreciated!! On 1/11/07, Simon Kitching [EMAIL PROTECTED] wrote: Wendy Chou wrote: Hi

Re: How to overwrite default renderer for h:selectOneRadio to include for attribute in label

2007-01-12 Thread Wendy Chou
-classcom.my.example.extendedHtmlRadioRenderer /renderer-class /renderer should work for you, also note that for t:selectOneRadio has another renderer-type: org.apache.myfaces.Radio On 1/12/07, Wendy Chou [EMAIL PROTECTED] wrote: Thanks for your reply Simon. I tried what you suggested, however

How to overwrite default renderer for h:selectOneRadio to include for attribute in label

2007-01-11 Thread Wendy Chou
Hi, I would like to render radio buttons differently to include the for attribute in the label tag. So when I do this: h:selectOneRadio f:selectItem value=#{bean.options} / /h:selectOneRadio I want this set of radio buttons would render like so: label for=radio1 input type=radio

Re: Tag not recognized error when trying to use tomahawk tag t:tabChangeListener

2006-08-28 Thread Wendy Chou
facelets support by default for Tomahawk.Another short-term option is to add it to the facelets jsf-compproject, where the facelets updateActionListener handler is hosted.On 8/26/06, Wendy Chou [EMAIL PROTECTED] wrote: I got it to work! I implemented a facelets TagHandler and took the code from

Tag not recognized error when trying to use tomahawk tag t:tabChangeListener

2006-08-26 Thread Wendy Chou
I am trying to use tomahawk's TabChangeListener with PanelTabbedPane, but when I add the tabChangeListener tag in the body of the t:panelTabbedPane / , I get an error: t:tabChangeListener Tag Library supports namespace: http://myfaces.apache.org/tomahawk, but no tag was defined for name:

Re: Tag not recognized error when trying to use tomahawk tag t:tabChangeListener

2006-08-26 Thread Wendy Chou
if there's a standard component behind that, or simply aJSP tag. If it's a JSP tag, you'll have to write a facelets taghandler for it or get one from someone else who's written one. tomahawk.tld is NOT used by facelets. That file is only used with JSP.On 8/26/06, Wendy Chou [EMAIL PROTECTED] wrote: I

IndexOutOfBoundsException in processRestoreState of custom component

2006-06-21 Thread Wendy Chou
Hi, I am pretty new to JSF and I was wondering if someone could help me with a problem that I've been stuck on. I'm writing a Date Input custom component that consists of 1 HtmlPanelGrid containing 3 HtmlInputText fields as it's children. The custom component is extending UIInput. I have gotten it