incubator-deltaspike-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: [DISCUSS] JSF Scopes
Date Mon, 15 Oct 2012 09:18:08 GMT
Gerhard, can you please open a new DISCUSS topic for converters and phase listeners?

LieGrue,
strub




----- Original Message -----
> From: Gerhard Petracek <gerhard.petracek@gmail.com>
> To: deltaspike-dev@incubator.apache.org
> Cc: 
> Sent: Monday, October 15, 2012 11:07 AM
> Subject: Re: [DISCUSS] JSF Scopes
> 
> as mentioned by mark, @ViewScoped is done already.
> if we agree on adding @RenderScoped, it can be based on the window-context
> infrastructure as well.
> 
> @scoped validators and converters:
> that's supported by codi as well, but it isn't related to the current 
> topic.
> 
> regards,
> gerhard
> 
> 
> 
> 2012/10/15 Antoine Sabot-Durand <antoine@sabot-durand.net>
> 
>>  Hi Mark,
>> 
>>  To my knowledge Seam Faces provides @RenderScoped (similar to JSF flash
>>  scope but with better impl) [1] and @ViewScoped [2]. No such elaborate
>>  things as CODI @WindowScoped or CODI conversation.
>> 
>>  Others notable things are injectable and scoped Validator and Converter
>>  [3] and phase event propagation [4] (easy to do, but useful for end user).
>>  Other points in Seam Faces could be interesting but are out off the 
> "scope"
>>  of this topic :-).
>> 
>> 
>>  [1]
>> 
> http://docs.jboss.org/seam/3/faces/reference/snapshot/en-US/html_single/#RenderScoped
>>  [2]
>> 
> http://docs.jboss.org/seam/3/faces/reference/snapshot/en-US/html_single/#viewscoped
>>  [3]
>> 
> http://docs.jboss.org/seam/3/faces/reference/snapshot/en-US/html_single/#enhanced_artifacts
>>  [4]
>> 
> http://docs.jboss.org/seam/3/faces/reference/snapshot/en-US/html_single/#events
>> 
>>  Antoine SABOT-DURAND
>> 
>> 
>> 
>>  Le 15 oct. 2012 à 09:55, Mark Struberg <struberg@yahoo.de> a écrit :
>> 
>>  > Hi folks!
>>  >
>>  > I finally like to start working on JSF scopes for DeltaSpike.
>>  >
>>  > We already have the following 2 features implemented and working
>>  (including unit tests):
>>  >
>>  > * JFS @ViewScoped Context support
>>  > * JSF-2-CDI scope mapping.
>>  > * injecting typesafe JSF messages
>>  >
>>  >
>>  > The next item on my list is the
>>  >
>>  > * @WindowScoped
>>  >
>>  >
>>  > This is kind of a Session per browser tab. Does Seam3 provide a 
> similar
>>  mechanism? If not, I suggest taking a peak what we do over in CODI.
>>  > There is quite some trickery necessary, but we finally found a 
> solution
>>  which works pretty well [1]. This is also the base of the windowId feature
>>  most probably coming with JSF-2.2 btw.
>>  >
>>  >
>>  > Once we have the @WindowScoped support we can build much more fine
>>  grained conversation stuff which is perfectly browser tab aware based on 
> it.
>>  >
>>  >
>>  > Wdyt?
>>  >
>>  > Any cool features related to this to look at in Seam3?
>>  > Who is interested to help hacking this stuff?
>>  >
>>  >
>>  > LieGrue,
>>  > strub
>>  >
>>  >
>>  >
>>  > [1] 
> https://cwiki.apache.org/confluence/display/EXTCDI/JSF+WindowHandler
>>  >
>> 
>> 
> 

Mime
View raw message