I like the idea of a custom component because it makes it more explicit what the component is used for and perhaps would even provide more control over what is happening.
So +1 for a custom component 2013/4/21 Mark Struberg <strub...@yahoo.de> > Gerhard brought up another alternative: simply provide a component which > doesn't render any html but adds the windowhandler.js and stores the > component in the ViewRoot. > > LieGrue, > strub > > > > > ----- Original Message ----- > > From: Romain Manni-Bucau <rmannibu...@gmail.com> > > To: Mark Struberg <strub...@yahoo.de>; > deltaspike-dev@incubator.apache.org > > Cc: > > Sent: Sunday, 21 April 2013, 20:56 > > Subject: Re: windowId postback detection > > > > 1 sounds easier to track too > > Le 21 avr. 2013 18:09, "Mark Struberg" <strub...@yahoo.de> a > > écrit : > > > >> Hi! > >> > >> There are technically 2 options for extracting the windowId on POSTs: > >> > >> 1.) setting a hidden UIOutput component in the ViewRoot > >> > >> > >> 2.) provide a custom renderkit/ResponseStateManager > >> > >> I think 1.) is much easier. Any input? > >> > >> LIeGrue, > >> strub > >> > >> > > > -- Christian Kaltepoth Blog: http://blog.kaltepoth.de/ Twitter: http://twitter.com/chkal GitHub: https://github.com/chkal