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

[jsr372-experts] Re: Client behavior request parameters not available as constants

From: Cagatay Civici <cagatay.civici_at_gmail.com>
Date: Tue, 05 Jul 2016 17:17:47 +0300

+1,

Regards,

Cagatay Civici
PrimeFaces Lead
PrimeTek Informatics
www.primefaces.org



On Jul 5, 2016, 17:14, at 17:14, Bauke Scholtz <balusc_at_gmail.com> wrote:
>Hi,
>
>While working on 790, I noticed that a few predefined (ajax)
>postback request parameter names are nowhere defined as constants. It
>are
>the following:
>
>- javax.faces.source
>- javax.faces.behavior.event
>- javax.faces.partial.event
>
>Is there a particular reason for that, or is that just an oversight?
>
>The below predefined postback request parameter names are already
>defined
>as constants:
>
>- javax.faces.RenderKitId in ResponseStateManager
>- javax.faces.ViewState in ResponseStateManager
>- javax.faces.ClientWindow in ResponseStateManager
>- javax.faces.partial.render in PartialViewContext
>- javax.faces.partial.execute in PartialViewContext
>- javax.faces.partial.resetValues in PartialViewContext
>
>I propose to add the missing constants in below classes:
>
>- javax.faces.source should be added to ClientBehaviorContext
>- javax.faces.behavior.event should be added to ClientBehaviorContext
>- javax.faces.partial.event should be added to PartialViewContext
>
>If there are no objections, I will take care of it for 2.3.
>
>Cheers, B