jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: Add UIInput#getForm()

From: manfred riem <manfred.riem_at_oracle.com>
Date: Tue, 03 Jan 2017 11:41:41 -0700

Hi Bauke,

An interesting thought.

Be aware public review is rapidly approaching and this most certainly
would require spec changes.

Note you own words "... are usually placed in ... " merit more research
and I am not sure we can do all the due diligence in time.

Thanks!

Kind regards,
Manfred Riem

On 12/27/16, 9:53 AM, Bauke Scholtz wrote:
> Hi all,
>
> Hopefully I'm not too late into the game for a new API method.
>
> While working on improving <h:selectOneRadio group> I wished there was
> an UIInput#getForm() which returns the enclosing UIForm of the UIInput
> component, so I could grab its client ID which I can then prepend to
> the group name.
>
> I personally don't see why there would be no UIInput#getForm() in the
> API as UIInput components are usually placed in an UIForm.
>
> Thoughts?
>
> Cheers, B