1 Reply Latest reply on Oct 24, 2007 3:04 PM by Pete Muir

    @DataModelSelection problem

    Murat HAZER Newbie

      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


      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....