Well I found the solution to the second issue.  The DataModel that I was
plugging into the t:dataTable to display the generated radio buttons wasn't
being initialized correctly.

Thanks


                                                                           
             [EMAIL PROTECTED]                                             
             o.ne.gov                                                      
                                                                        To 
             08/17/2006 07:36          [email protected]            
             AM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         HtmlRadioRendererBase               
                 "MyFaces              t:selectOneRadio                    
                Discussion"                                                
             <[EMAIL PROTECTED]                                             
                 ache.org>                                                 
                                                                           
                                                                           
                                                                           





I'm having a couple of problems with this component.

1.  It seems to ignore the escape attribute on the selectOneRadio tag.
I've patched the HtmlRadioRendererBase for the label as follows and it now
works.  Am I missing something?
Boolean escape = (Boolean)uiComponent.getAttributes().get("escape");
   if ((label != null) && (label.length() > 0))
        {
            writer.write(HTML.NBSP_ENTITY);
            if (escape != null && escape.booleanValue()) {
                writer.write(label);
            } else {
                  writer.writeText(label, "value");
            }
        }

2.  The tag/component doesn't seem to be called when the page is first
loaded - any subsequent page refreshes and the tag will show.  If I stop
the server and then try it again - the same issue occurs.

Thanks

Reply via email to