Re: Ideas on ClientWindow handling / refactoring

2014-01-14 Thread Gerhard Petracek
gt; > >> >> regards, > > > > > >> >> gerhard > > > > > >> >> > > > > > >> >> > > > > > >> >> > > > > >

Re: Ideas on ClientWindow handling / refactoring

2014-01-14 Thread Thomas Andraschko
ed #ifPostback) > > > > >> >> > > > > > >> >> > > > > > >> >> > 2014/1/10 Thomas Andraschko > > > > >> >> > > > > > >> >> > > Hmm right - but we co

Re: Ideas on ClientWindow handling / refactoring

2014-01-14 Thread Gerhard Petracek
t; > windowContext#activateWindow > > > >> > to a > > > >> >> > > AFTER_RESTORE_VIEW phase listener? > > > >> >> > > AFAIK RESTORE_VIEW shouldn't touch any beans? > > > >> >> > >

Re: Ideas on ClientWindow handling / refactoring

2014-01-14 Thread Thomas Andraschko
arts. > > >> >> > >> > > >> >> > >> regards, > > >> >> > >> gerhard > > >> >> > >> > > >> >> > >> > > >> >> > >> > >

Re: Ideas on ClientWindow handling / refactoring

2014-01-14 Thread Gerhard Petracek
> >> >> > >> > >> >> > >> > >> >> > >> > >> >> > >> 2014/1/10 Thomas Andraschko > >> > > >> >> > >> > >> >> > >> > but why shou

Re: Ideas on ClientWindow handling / refactoring

2014-01-14 Thread Thomas Andraschko
;> > >> >> > >> > The current implementations looks soo complex, but >> > actually it isn't >> >> > >> that >> >> > >> > complex. So therefore i would like to get rid of not >> > required code. &

Re: Ideas on ClientWindow handling / refactoring

2014-01-13 Thread Thomas Andraschko
; > >> > >> > The current implementations looks soo complex, but > > actually it isn't > >> > >> that > >> > >> > complex. So therefore i would like to get rid of not > > required code. > >> > >> > > >> > >> > > >> > >> > 2014/1/10

Re: Ideas on ClientWindow handling / refactoring

2014-01-13 Thread Mark Struberg
> >> > 2014/1/10 Gerhard Petracek > >> > >> > >> > >> > > as a (deactivatable) fallback the view-map would be > fine (we >> > couldn't >> > >> use >> > >> > > it in codi, because we had

Re: Ideas on ClientWindow handling / refactoring

2014-01-12 Thread Thomas Andraschko
gt; > >> > > regards, > > >> > > gerhard > > >> > > > > >> > > > > >> > > > > >> > > 2014/1/10 Mark Struberg > > >> > > > > >> > > > we probably should do bo

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Gerhard Petracek
s, > >> > > gerhard > >> > > > >> > > > >> > > > >> > > 2014/1/10 Mark Struberg > >> > > > >> > > > we probably should do both. > >> > > > > >> > > > LieGrue, > &g

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Thomas Andraschko
t; > > >> > > >> > > 2014/1/10 Mark Struberg >> > > >> > > > we probably should do both. >> > > > >> > > > LieGrue, >> > > > strub >> > > > >> > > > >> > >

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Thomas Andraschko
t; > > > > regards, > > > gerhard > > > > > > > > > > > > 2014/1/10 Mark Struberg > > > > > > > we probably should do both. > > > > > > > > LieGrue, > > > > strub > > > > >

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Gerhard Petracek
gt; > > > ----- Original Message ----- > > > > From: Thomas Andraschko > > > > To: "dev@deltaspike.apache.org" > > > > Cc: > > > > Sent: Friday, 10 January 2014, 16:56 > > > > Subject: Re: Ideas on ClientWindow handling

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Thomas Andraschko
trub > > > > > > > > > > - Original Message - > > > From: Thomas Andraschko > > > To: "dev@deltaspike.apache.org" > > > Cc: > > > Sent: Friday, 10 January 2014, 16:56 > > > Subject: Re: Ideas on ClientW

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Gerhard Petracek
> > From: Thomas Andraschko > > To: "dev@deltaspike.apache.org" > > Cc: > > Sent: Friday, 10 January 2014, 16:56 > > Subject: Re: Ideas on ClientWindow handling / refactoring > > > > Saving the windowId for postbacks in the ViewMap, would be r

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Mark Struberg
we probably should do both. LieGrue, strub - Original Message - > From: Thomas Andraschko > To: "dev@deltaspike.apache.org" > Cc: > Sent: Friday, 10 January 2014, 16:56 > Subject: Re: Ideas on ClientWindow handling / refactoring > > Saving the window

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Thomas Andraschko
Saving the windowId for postbacks in the ViewMap, would be really a much easier, more compatible and safer way than adding hidden inputs via JS. 2014/1/10 Thomas Andraschko > Hi Gerhard, > > thats true. Therefore we added extra processing of > javax.faces.ViewState+javax.faces.ClientWindow in P

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Thomas Andraschko
Hi Gerhard, thats true. Therefore we added extra processing of javax.faces.ViewState+javax.faces.ClientWindow in PrimeFaces :) Don't know if Cagatay would accept that i add workarounds for DS in PrimeFaces. Therefore adding the windowId e.g. to the ViewMap would be a safer way. Regards, Thomas

Re: Ideas on ClientWindow handling / refactoring

2014-01-10 Thread Gerhard Petracek
@thomas: with jsf 2.2+ it's different. the window-id is (/should be) also used (if enabled) to find the correct state. -> any compliant request needs to include the window-id (if enabled). regards, gerhard 2014/1/10 Thomas Andraschko > Based on the discussion in "JSF - default ClientWindowRen