I'm not sure if I understood your question correctly (sorry, German ;)).
| @Stateful
| @Scope(CONVERSATION)
| @Name("whatEver")
| public class WhatEverBean implements WhatEver {
|
| @RequestParameter
| private String someParam;
|
| private String someParamCopy;
|
| @Begin
| public String begin() {
| someParamCopy = someParam;
| ...
| }
|
| @End
| public String end() {...}
| }
In this case, the injected request parameter stored in someParamCopy is available all the
time from calling begin() till calling end(). Even any other property will keep its state
during that time, unless it's changed by the code or by Seam (e.g. @In annotated
properties get a new value during every request).
Is that about what you wanted to know?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965776#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...