myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Problem with the extension filter and ajax requests handle by a phaselistener
Date Wed, 01 Nov 2006 19:26:59 GMT
the thing w/ PLs is that you can register 10000000 pl on a phase...
yours is in the middle of them... you can't ensure that yours will be
executed ...

take a look at mabon
(custom lifecycle for "ajax remote calls")

On 11/1/06, Marcel Casado <marcel@ucar.edu> wrote:
> Sorry I meant PL, Phase Listener
>
>
> Matthias Wessendorf wrote:
> > PS?
> >
> > On 11/1/06, Marcel Casado <marcel@ucar.edu> wrote:
> >> It should but sadly does not work for me..
> >>
> >> I agree about facelets but  I tried facelets on this application one
> >> month ago and broke the Ajax funcionality of the components whit the PS.
> >> I'm really frustrated.
> >>
> >> Thanks,
> >>
> >> -Marcel
> >>
> >>
> >>
> >> Matthias Wessendorf wrote:
> >> > Oh... don't use Tiles :)
> >> > but it should work w/o MyFaces, since the ViewHandler is part of
> >> > Tomahawk.
> >> > However, better is "Use Facelets"
> >> >
> >> > it's easy to convert a tiles layout to a facelets layout
> >> >
> >> > On 11/1/06, Marcel Casado <marcel@ucar.edu> wrote:
> >> >> Hi Matthias,
> >> >>
> >> >> I tried Tomahawk with JSF  RI  and  the application works  fine  with
> >> >> the extensions  filter, so sorry it's not the extensions  filter  but
> >> >> when  I try  MyFaces + Tomahawk the Ajax requests that supposedly
> >> has to
> >> >> be handled by the PS   does not work fine. Looking to the Ajax
> >> response
> >> >> using Firebugs  it return the whole HTML page so it looks like the
> >> PL is
> >> >> not ever executed since I don't get any exceptions but I really
> >> can not
> >> >> debug this since I don't own the source code for the PL
> >> >> Any ideas will be appreciated since I would like to use Tiles so I
> >> need
> >> >> MyFaces working on this application.
> >> >>
> >> >> Thanks,
> >> >>
> >> >> -Marcel
> >> >>
> >> >>
> >> >>
> >> >> Matthias Wessendorf wrote:
> >> >> > do you know if the phaselistener get's executed?
> >> >> > or is it never called ? or just something going wrong inside the
> >> PL ?
> >> >> >
> >> >> > in tomahawk sandbox, we also use PhaseListeners (PL) for that,
> >> >> > perhaps you wanna check that components ?
> >> >> >
> >> >> > -M
> >> >> >
> >> >> > On 10/31/06, Marcel Casado <marcel@ucar.edu> wrote:
> >> >> >> Hi,
> >> >> >>
> >> >> >> I'm dealing with a JSF application that has Ajax implemented
on
> >> its
> >> >> >> components using a PhaseListener  that gets back an xml response
> >> >> to a
> >> >> >> javascript callback function that updates the DOM.  I'm trying
> >> to use
> >> >> >> MyFaces to use some of this components instead of RI but 
with the
> >> >> >> addition of the Extensions filter the Ajax requests does not
work
> >> >> >> anymore
> >> >> >>
> >> >> >> Example of Ajax request :
> >> >> >>
> >> >>
> >> http://sphere.rap.ucar.edu:8080/gmodIMS/mapviewer.jsf;jsessionid=0250FE29F23B2958B6C75272CAE6CB10?formId=mapForm&__ADFPostBack__=true&taskWinProp=win_mapToolsTask;top=90;left=5;width=240;height=52;collapsed=false;closed=false|win_addDomainsTask;top=0;left=0;width=250;height=167;collapsed=false;closed=true|&mapForm:windowProperties=ovWin;top=415;left=5;width=200;height=177;collapsed=false;closed=true|tocWin;top=150;left=5;width=200;height=257;collapsed=false;closed=true|resultsWindow;top=165;left=452;width=500;height=317;collapsed=false;closed=false|&mapForm=mapForm&mapForm:an=&mapForm:pa=&map1=map1&map1_mode=mapToolsTask_tool_identify&map1_minx=319&map1_miny=233&doPostBack=doPostBack
> >>
> >> >>
> >> >> >>
> >> >> >>
> >> >> >> Does any one a solution to this problem ?
> >> >> >>
> >> >> >> Thanks,
> >> >> >>
> >> >> >> -Marcel
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Mime
View raw message