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

[jsr372-experts] Re: [jsr372-experts mirror] Re: [JSF spec issues] [JIRA] (JAVASERVERFACES_SPEC_PUBLIC-907) Improve Ajax Http.Get support to (re)render parts of the page

From: Josh Juneau <juneau001_at_gmail.com>
Date: Fri, 11 Sep 2015 10:11:44 -0500

+1, I'd also be interested in seeing your implementation. Thanks

Josh Juneau
juneau001_at_gmail.com
http://jj-blogger.blogspot.com
https://www.apress.com/index.php/author/author/view/id/1866


On Fri, Sep 11, 2015 at 9:23 AM, Kito Mann <kito.mann_at_virtua.com> wrote:

> I'm curious...
>
> ___
>
> Kito D. Mann | @kito99 | Author, JSF in Action
> Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
> http://www.JSFCentral.com | @jsfcentral
> +1 203-998-0403
>
> * Listen to the Enterprise Java Newscast: *http://
> <http://blogs.jsfcentral.com/JSFNewscast/>enterprisejavanews.com
> <http://ww.enterprisejavanews.com>*
> * JSFCentral Interviews Podcast:
> http://www.jsfcentral.com/resources/jsfcentralpodcasts/
> * Sign up for the JSFCentral Newsletter:
> http://oi.vresp.com/?fid=ac048d0e17
>
> On Fri, Sep 11, 2015 at 4:32 AM, Frank Caputo <frank_at_frankcaputo.de>
> wrote:
>
>> Hi experts,
>>
>> I implemented a jsf.ajax.get for one of my clients. It is not too hard,
>> if you don’t try to do it with the jsf.ajax.request function. Should I
>> provide a code example?
>>
>> Ciao Frank
>>
>> > Am 10.09.2015 um 16:20 schrieb Manfred Riem (JIRA) <
>> jira-no-reply_at_java.net>:
>> >
>> >
>> > [
>> https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
>> ]
>> >
>> > Manfred Riem closed JAVASERVERFACES_SPEC_PUBLIC-907.
>> > ----------------------------------------------------
>> >
>> > Resolution: Won't Fix
>> >
>> > As the jsf.ajax.request requires a POST because of how it is being
>> processed and too many changes would be needed to support another method
>> and that one can easily write a JavaScript function that execute a GET to a
>> given URL yourself I am closing this as "Won't Fix".
>> >
>> > Note jsf.ajax.response can be used to process the response coming from
>> the server with your custom GET.
>> >
>> >> Improve Ajax Http.Get support to (re)render parts of the page
>> >> -------------------------------------------------------------
>> >>
>> >> Key: JAVASERVERFACES_SPEC_PUBLIC-907
>> >> URL:
>> https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-907
>> >> Project: javaserverfaces-spec-public
>> >> Issue Type: Improvement
>> >> Components: Ajax/JavaScript
>> >> Affects Versions: 2.1
>> >> Environment: Operating System: All
>> >> Platform: All
>> >> Reporter: mwessendorf
>> >> Assignee: Manfred Riem
>> >> Priority: Critical
>> >>
>> >> The current JavaScript Ajax API should be improved to have a
>> simplified version
>> >> that allows to "just" render (several) components, via GET.
>> >> A use case would be:
>> >> -You have a client side callback that get's invoked (e.g. when a
>> >> Bayeux/WebSocket notification arrives). Inside the callback you are
>> simply only
>> >> interested in (re)rendering some components.
>> >> Today it would look like:
>> >> webSocket.onmessage = function(evt)
>> >> {
>> >> // work with evt.data.....
>> >> jsf.ajax.request('jsfForm:dummyBtn',null,{render:'listComp'});
>> >> };
>> >
>> >
>> >
>> > --
>> > This message was sent by Atlassian JIRA
>> > (v6.2.3#6260)
>>
>>
>