[jboss-user] [JBoss Seam] - @DataModelSelection problem
ulath
do-not-reply at jboss.com
Fri Oct 19 05:20:53 EDT 2007
hi all,
i have one DataModel and one DataModelSelection in a conversation scoped bean (let call conversation scoped bean as myAction and dataModel as myDataModel). everything works fine if i only use reference to the datamodel component in the view.
whenever i refer to myAction.anotherProperty
DataModelSelection (call as selectedModel) is filled with the first value of the DataModel at the render response phase... (of course i use myAction functions i can't use properties)
i have opened the seam logging
and in the logs (with the myAction.anotherProperty reference in the view)
11:22:25,477 DEBUG Component:2132 - trying to inject with hierarchical context search: selectedModel
| 11:22:25,477 DEBUG Component:1500 - selected row: domain.Model at 983fe1
and in the logs (without the myAction.anotherProperty reference)
11:21:26,418 DEBUG Component:2132 - trying to inject with hierarchical context search: selectedModel
| 11:21:26,418 DEBUG Component:1962 - instantiating Seam component: org.jboss.seam.web.parameters
why DataModelSelection selected automatically?
PS: seam version is: 2.0.0.CR1
regards....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096875#4096875
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096875
More information about the jboss-user
mailing list