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

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

From: Neil Griffin <neil.griffin_at_portletfaces.org>
Date: Thu, 15 Mar 2012 12:56:33 -0400

Hi Ed,

Admittedly I'm not a JavaScript expert. So I double checked with a JavaScript+Portlet expert at Liferay, and he said window.name is appropriate and should be safe. He also said that the JS libraries like jQuery and YUI dont generally leverage it.

Neil

On Mar 12, 2012, at 5:00 PM, Edward Burns wrote:

> WP> 1.1 General Definitions regarding Window-ID
> WP> ------------------------------------------------------------
> WP> a) a window-id always refers to the tab (because it should/can be stored
> WP> in the browsers window.name)
>
> Ok this is another new requirement. Neil, I need your portlet input on
> this, because it doesn't seem safe that I can say something like,
> "jsf.js must make it so window.name is set to the window id."