| Author |
Is there any way to use ViewScoped with weld
|
Allan Zhang
Greenhorn
Joined: Dec 23, 2009
Posts: 2
|
|
Hello everyone,
I found that there is not any annotation like JSF2.0 annotation "@ViewScoped" in JSR299 or Weld,weld documentation told me to implement a custom scope to do this.But I cant't find any example for this.
Some one said that I must wait for seam 3.0.
Is that true?
|
 |
Steven Verborgh
Greenhorn
Joined: Jan 07, 2010
Posts: 1
|
|
I wrote a small howto on how to port the jsf 2 ViewScoped annotation to weld using a custom Context and scope annotation, maybe it might help you.
|
 |
Allan Zhang
Greenhorn
Joined: Dec 23, 2009
Posts: 2
|
|
|
Thank you very much. I'll try it~~
|
 |
 |
|
|
subject: Is there any way to use ViewScoped with weld
|
|
|