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@983fe1
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
Seam automatically injects parameters when you call a method. Best thing is to split your datamodel onto another seam component.