You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Andy Schwartz <an...@gmail.com> on 2011/09/27 20:38:45 UTC
[Trinidad] API: ExternalContextUtils.getRequestScheme()
Gang -
I would like to backport my fix for this Trinidad issue:
https://issues.apache.org/jira/browse/TRINIDAD-2130
To Trinidad 1.2.x.
One minor hiccup: my patch uses the
ExternalContext.getRequestScheme() API, which was introduced in JSF
2.0.
To abstract away this dependency, I would like to add a new
getRequestScheme() utility method to ExternalContextUtils. (See
attached patch.)
Thoughts?
Andy
Re: [Trinidad] API: ExternalContextUtils.getRequestScheme()
Posted by Scott O'Bryan <da...@gmail.com>.
No, you can use the same issue.
Sent from my iPhone
On Sep 27, 2011, at 5:40 PM, Andy Schwartz <an...@gmail.com> wrote:
> On Tue, Sep 27, 2011 at 4:42 PM, Scott O'Bryan <da...@gmail.com> wrote:
>> I like it...
>
> Great, thanks for the review Scott!
>
>> For backward compatibility we'll want this implemented
>> in 2.0 as well but it can just call the native function under the
>> covers...
>
> Yep. I'll take care of that as well.
>
> BTW, process question: should I log a separate issue to track this
> API/requirement, or okay to piggyback on TRINIDAD-2130?
>
> Andy
Re: [Trinidad] API: ExternalContextUtils.getRequestScheme()
Posted by Andy Schwartz <an...@gmail.com>.
On Tue, Sep 27, 2011 at 4:42 PM, Scott O'Bryan <da...@gmail.com> wrote:
> I like it...
Great, thanks for the review Scott!
> For backward compatibility we'll want this implemented
> in 2.0 as well but it can just call the native function under the
> covers...
Yep. I'll take care of that as well.
BTW, process question: should I log a separate issue to track this
API/requirement, or okay to piggyback on TRINIDAD-2130?
Andy
Re: [Trinidad] API: ExternalContextUtils.getRequestScheme()
Posted by Scott O'Bryan <da...@gmail.com>.
I like it... For backward compatibility we'll want this implemented
in 2.0 as well but it can just call the native function under the
covers...
Scott
Sent from my iPad
On Sep 27, 2011, at 12:39 PM, Andy Schwartz <an...@gmail.com> wrote:
> Gang -
>
> I would like to backport my fix for this Trinidad issue:
>
> https://issues.apache.org/jira/browse/TRINIDAD-2130
>
> To Trinidad 1.2.x.
>
> One minor hiccup: my patch uses the
> ExternalContext.getRequestScheme() API, which was introduced in JSF
> 2.0.
>
> To abstract away this dependency, I would like to add a new
> getRequestScheme() utility method to ExternalContextUtils. (See
> attached patch.)
>
> Thoughts?
>
> Andy
> <trinidad-request-scheme.patch>