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

[jsr344-experts] Re: [949-WindowId] Best place to specify creating the windowId?

From: Edward Burns <edward.burns_at_oracle.com>
Date: Mon, 20 Feb 2012 09:02:30 -0800

>>>>> On Mon, 20 Feb 2012 17:01:30 +0100, Werner Punz <werner.punz_at_gmail.com> said:

>> Our solution to 220-ViewState made it so "id" is a required attribute of
>> <partial-response> and its value is the return from
>> UIViewRoot. getContainerClientId(), which, as Neil Griffin already
>> affirmed, is guaranteed by the portlet bridge to meet the portlet
>> uniqueness requirements

WP> This unfortunately is not entirely sufficient, the entire function can be
WP> called
WP> outside of the jsf lifecycle just for handling the windowId, hence I
WP> anchored it in the
WP> jsf.util namespace. Which means, the first call even could be made before

It certainly can't be called without first obtaining the jsf.js, which
can't have been obtained without first making a request to the JSF
runtime, which we are now in the process of making allocate and return a
windowId upon first request. Please help me understand why simply
looking in the most recently returned <partial-response> element,
per-session of course, is insufficient.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/