I found the sollution.
| @Stateful
| @Scope(ScopeType.SESSION)
| @Name("QuestionCategoryController")
| public class QuestionCategoryControllerBean implements
QuestionCategoryController {
|
| @Logger
| private Log log;
|
| @In(create = true)
| private
You don't have a scope on your "controller". If you do, sounds like you have
some new changes to your code. Can you put em up here?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095427#4095427
Reply to the post :
http://www.jboss.com/index.html?module=bb&
First of all, thanks for all Yours replays !
"dhinojosa" wrote : What was the result after you changed to stateful? Was it
still:
| questionCategory is NULL !
Yes, still it striked me with "questionCategory is NULL !
"smithbstl" wrote : Try defining the DataModel in your DataModelSelection
Try putting the bean and the datamodel to page scope and if it works, start
narrowing down...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094223#4094223
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094223
Try defining the DataModel in your DataModelSelection
@DataModelSelection("categoryList")
With only one DataModel in your bean, it should not be necessary but I always
put it in to be safe.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094206#4094206
Reply
What was the result after you changed to stateful? Was it still:
questionCategory is NULL !
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094190#4094190
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094190
__
I`ve changed to stateful EJB but still it doesn`t inject the questionCategory.
| @Stateful
| @Name("QuestionCategoryController")
| public class QuestionCategoryControllerBean implements
QuestionCategoryController {
|
| @Logger
| private Log log;
|
| @In(crea
You are using Stateless Beans, How do you expect state to be saved? Try using
Stateful EJBs
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094166#4094166
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094166
_
N.B. You can do
@In("#{dataModel.rowData}")
| private Foo selectedFoo;
anywhere in Seam.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080586#4080586
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080586
_
opened a fresh JIRA case
http://jira.jboss.com/jira/browse/JBSEAM-1895
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080579#4080579
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080579
___
Yeah, I've wanted this too. Often I'll have a search/listing page with delete
buttons on each row. But I want to do the delete action in a different backing
bean than the search backing bean, which has the @DataModel.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewt
"wschwendt" wrote :
| If not, we cannot really leverage the org.jboss.seam.framework package, if
DataModel selection should be handled.
|
as a workaround, of course, the DataModel itself can be injected into an action
component with "@In" instead of injecting the DataModelSelection with
Excellent, tank you! (Seam just became even more helpful!)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009140#4009140
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009140
yes
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009132#4009132
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009132
___
jboss-user mailing list
jboss-user@lists.jboss.org
14 matches
Mail list logo