users@javaserverfaces-spec-public.java.net

[jsr372-experts mirror] [jsr372-experts] [ADMIN] Decorate Response lifecycle phase: PROVISIONALLY CLOSED (was: Re: Expert Group Meeting @ JavaOne)

From: Edward Burns <edward.burns_at_oracle.com>
Date: Wed, 22 Oct 2014 13:13:38 -0700

>>>>> On Mon, 13 Oct 2014 09:58:49 -0400, Neil Griffin <neil.griffin_at_portletfaces.org> said:

NG> I did some prototyping with Nashorn and jQuery and the "decorate
NG> response" idea is probably a no-go for the following reasons:

NG> 1) It requires a DOMResponseWriter and the org.w3c.dom Java classes
NG> are not good enough for JS libraries like jQuery to operate against.

NG> 2) DOM manipulation is only one feature offered by JS
NG> libraries. Features like DOM event handling are not covered in the
NG> server-side use-case.

NG> 3) Fully decorated HTML can already be achieved by having renderers
NG> encode more detailed markup.

Thanks for prototyping this a bit. That was my sense as well, but I'm
glad to see it's been validated by your work.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 12 work days til Devoxx 2014