Ok I added a dynamically loading loadScript function to our javascript
_Utils class/function.
The code basically resolves the script src handling
aspect by loading the script
via synchronous xhr and doing a global eval on the script!
This way we dont have dom manipulations just to do the script
Ok before anyone is starting to write one.
I have a script splitting response writer in state
which triggers also on src attributes and
the connected javascripts load the scripts via xhr and do a global eval.
I have not comitted it yet, because I want to compare my code
with Trinidad just to
: MyFaces 2.0 PartialResponseWriter + EVALs
To: dev@myfaces.apache.org mailto:dev@myfaces.apache.org
Werner Punz schrieb:
Hello everyone:
I checked what has been done on the Partial Response
Writer for the Rendering. It is very
Hia Ganesh, I have to check the latest codebase,
the version i have which is a few weeks old, did not have
anything integrated...
The main problem I see not doing it is, that usually
the response writer already is in update stage when the components
encode method is called which means
every
Hi Werner,
Actually, I'm not quite sure which of the cases [1] to [4] (see below)
you are referring to. Did you check the behaviour of Mojarra on this? In
which case does it return eval? I'd say our PartialResponseWriter
should work along the same basic line. My personal guess is they return
(theActualScriptContent);
-Matthias
-- Forwarded message --
From: Werner Punz werner.p...@gmail.com
mailto:werner.p...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0 PartialResponseWriter + EVALs
message --
From: Werner Punz werner.p...@gmail.com
mailto:werner.p...@gmail.com
mailto:werner.p...@gmail.com
mailto:werner.p...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0
Hello everyone:
I checked what has been done on the Partial Response Writer for the
Rendering. It is very basic, so I would propose following enhancement.
Since we need separate eval blocks for javascripts, we implement a
PartialResponseWriterImpl which fetches the scripts
from components
Werner Punz schrieb:
Hello everyone:
I checked what has been done on the Partial Response Writer for the
Rendering. It is very basic, so I would propose following enhancement.
Since we need separate eval blocks for javascripts, we implement a
PartialResponseWriterImpl which fetches the
isn't it better to do this in IE:
window.execScript(theActualScriptContent);
and in FF and other this:
window.eval(theActualScriptContent);
-Matthias
-- Forwarded message --
From: Werner Punz werner.p...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0
);
-Matthias
-- Forwarded message --
From: Werner Punz werner.p...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0 PartialResponseWriter + EVALs
To: dev@myfaces.apache.org
Werner Punz schrieb:
Hello everyone:
I checked what has been done on the Partial Response
:
window.execScript(theActualScriptContent);
and in FF and other this:
window.eval(theActualScriptContent);
-Matthias
-- Forwarded message --
From: Werner Punz werner.p...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0 PartialResponseWriter + EVALs
To: dev@myfaces.apache.org
and other this:
window.eval(theActualScriptContent);
-Matthias
-- Forwarded message --
From: Werner Punz werner.p...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0 PartialResponseWriter + EVALs
To: dev@myfaces.apache.org
Werner Punz schrieb:
Hello
werner.p...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0 PartialResponseWriter + EVALs
To: dev@myfaces.apache.org
Werner Punz schrieb:
Hello everyone:
I checked what has been done on the Partial Response Writer for the
Rendering. It is very basic, so I would propose following
(theActualScriptContent);
and in FF and other this:
window.eval(theActualScriptContent);
-Matthias
-- Forwarded message --
From: Werner Punz werner.p...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0 PartialResponseWriter + EVALs
To: dev@myfaces.apache.org
...@gmail.com
Date: Fri, May 8, 2009 at 4:54 PM
Subject: Re: MyFaces 2.0 PartialResponseWriter + EVALs
To: dev@myfaces.apache.org mailto:dev@myfaces.apache.org
Werner Punz schrieb:
Hello everyone:
I checked what has been done
16 matches
Mail list logo