deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Kaltepoth <christ...@kaltepoth.de>
Subject Re: windowId postback detection
Date Mon, 22 Apr 2013 05:45:12 GMT
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 <struberg@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 <rmannibucau@gmail.com>
> > To: Mark Struberg <struberg@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" <struberg@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message