dev@javaserverfaces.java.net

Re: Getting started with Mojarra development

From: William <streetpoet_at_163.com>
Date: Fri, 26 Jun 2015 09:29:45 +0800

HtmlSelectOneRadio class is generated code, which under sf-api/build/generate/javax.faces.component.html

here’s the generated code ,please ref.



> On Jun 24, 2015, at 6:51 AM, Ryan de Laplante (Personal) <ryan_at_ryandelaplante.ca> wrote:
>
> Hi,
>
> I checked out a copy of Mojarra from git and also from Subversion in order to study how the HtmlSelectOneRadio component is implemented. I'd like to contribute some enhancements to this component that provides web designers the freedom to place radio buttons anywhere on the page that they would like (see Tomahawk's t:selectOneRadio layout="spread" + t:radio component).
>
> The issue I'm having is that I can't find the source code for javax.faces.component.html.HtmlSelectOneRadio in jsf-api or jsf-ri. The only concrete class I could find is com.sun.faces.renderkit.html_basic.RadioRenderer. I'm wondering if anyone can point me in the right direction to help me get started?
>
> I've never seen the Mojarra sources before, so forgive me if this seems like a stupid question. If I can complete this enhancement successfully then there are a bunch of similar small enhancements that I would like to contribute to JSF 2.3.
>
>
> Thanks,
> Ryan
>
>
>