This content has been marked as final.
Show 2 replies
-
1. Re: @Factory and Interceptor problem
gavin.king Dec 15, 2005 3:30 AM (in response to tlg)Right, it is conceptuall wrong :-)
Why do you have the @In annotation there? -
2. Re: @Factory and Interceptor problem
tlg Dec 15, 2005 10:26 AM (in response to tlg)
Why do you have the @In annotation there?
I actually use the ConstraintsUpdaterBean for a conversation initiated by a get request. The request has parameters@In(value = "#{param.email}", required = false) private String pemail; @In(value = "#{param.hash}", required = false) private String phash;
In the @Factory method I build a ConstraintsUpdate object wich is use as a data bean in the jsf page (it has all the informations I need to render the page). Then the jsf page calls a method in the conversation bean
"#{constraintsUpdaterBean.accept}"
and in this method I need access to the data in the ConstraintsUpdate data object. So that's why I use the @In annotation.