You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Adam Winer <aw...@gmail.com> on 2007/06/15 03:04:08 UTC

[Trinidad] Real AJAX has landed

I've merged the XMLHttp-switchover (TRINIDAD-46) onto
Trinidad trunk (1.0.2-SNAPSHOT builds).

Some of the big changes:
- All the old PPR code is dead.

- We still do use an IFRAME when we need to process
  a file upload, but that's transparent to the developer;
  all other PPR requests are handled with AJAX.

- panelPartialRoot is gone, because there's no longer
  any requirement to have any particular component
  in the hierarchy.  All that's needed is the Trinidad
  RenderKit.

- Exceptions thrown during a PPR request are now
  easily caught, logged on the server, and reported
  on the client (instead of just silently blowing
  up, which is how it went with the old architecture).

- I've tested on FF 2.0, IE 7.0, and Safari 2.0.  All
  seem to work, but I've not been able to test on
  any PDAs or any older versions of those browsers.

- There's a new TrPage class that I'd like to start migrating
  old page-level functionality over to.  It includes an API to
  let you issue PPR submissions.

- A new TrRequestQueue API lets you add listeners
  to detect when AJAX requests start + end.  (I'd like
  to use this soon to add a statusIndicator component.)

Any users/devs that can get their eyes on this, find
holes, find needed enhancements, suggest API changes,
etc., please do!

Cheers,
Adam

Re: [Trinidad] Real AJAX has landed

Posted by Simon Lessard <si...@gmail.com>.
great

On 6/15/07, Matthias Wessendorf <ma...@apache.org> wrote:
>
> nice move.
>
> thx!
>
> On 6/15/07, Adam Winer <aw...@gmail.com> wrote:
> > I've merged the XMLHttp-switchover (TRINIDAD-46) onto
> > Trinidad trunk (1.0.2-SNAPSHOT builds).
> >
> > Some of the big changes:
> > - All the old PPR code is dead.
> >
> > - We still do use an IFRAME when we need to process
> >   a file upload, but that's transparent to the developer;
> >   all other PPR requests are handled with AJAX.
> >
> > - panelPartialRoot is gone, because there's no longer
> >   any requirement to have any particular component
> >   in the hierarchy.  All that's needed is the Trinidad
> >   RenderKit.
> >
> > - Exceptions thrown during a PPR request are now
> >   easily caught, logged on the server, and reported
> >   on the client (instead of just silently blowing
> >   up, which is how it went with the old architecture).
> >
> > - I've tested on FF 2.0, IE 7.0, and Safari 2.0.  All
> >   seem to work, but I've not been able to test on
> >   any PDAs or any older versions of those browsers.
> >
> > - There's a new TrPage class that I'd like to start migrating
> >   old page-level functionality over to.  It includes an API to
> >   let you issue PPR submissions.
> >
> > - A new TrRequestQueue API lets you add listeners
> >   to detect when AJAX requests start + end.  (I'd like
> >   to use this soon to add a statusIndicator component.)
> >
> > Any users/devs that can get their eyes on this, find
> > holes, find needed enhancements, suggest API changes,
> > etc., please do!
> >
> > Cheers,
> > Adam
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> mail: matzew-at-apache-dot-org
>

Re: [Trinidad] Real AJAX has landed

Posted by Matthias Wessendorf <ma...@apache.org>.
nice move.

thx!

On 6/15/07, Adam Winer <aw...@gmail.com> wrote:
> I've merged the XMLHttp-switchover (TRINIDAD-46) onto
> Trinidad trunk (1.0.2-SNAPSHOT builds).
>
> Some of the big changes:
> - All the old PPR code is dead.
>
> - We still do use an IFRAME when we need to process
>   a file upload, but that's transparent to the developer;
>   all other PPR requests are handled with AJAX.
>
> - panelPartialRoot is gone, because there's no longer
>   any requirement to have any particular component
>   in the hierarchy.  All that's needed is the Trinidad
>   RenderKit.
>
> - Exceptions thrown during a PPR request are now
>   easily caught, logged on the server, and reported
>   on the client (instead of just silently blowing
>   up, which is how it went with the old architecture).
>
> - I've tested on FF 2.0, IE 7.0, and Safari 2.0.  All
>   seem to work, but I've not been able to test on
>   any PDAs or any older versions of those browsers.
>
> - There's a new TrPage class that I'd like to start migrating
>   old page-level functionality over to.  It includes an API to
>   let you issue PPR submissions.
>
> - A new TrRequestQueue API lets you add listeners
>   to detect when AJAX requests start + end.  (I'd like
>   to use this soon to add a statusIndicator component.)
>
> Any users/devs that can get their eyes on this, find
> holes, find needed enhancements, suggest API changes,
> etc., please do!
>
> Cheers,
> Adam
>


-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
mail: matzew-at-apache-dot-org