Sunday, March 14, 2010

ModelArtifactState - AdditionalViewControls breaking changes

I have been pretty silent the last few weeks , but I have not been lazy so eXpand has now many more modules and features that I am going to speak about in my next posts. A Logic Module has been implemented and that lead to some breaking changes to ModelArtifactState / AdditionalViewControlsProvider modules

ModelArtifactState

The previous schema of ModelArtifactState rules was like

<ModelArtifact>

    <ConditionalControllerState IsNewNode="True">

      <ControllerStateRule ID="tests" TypeInfo="DevExpress.ExpressApp.SystemModule.AboutInfo" IsNewNode="True" />

    </ConditionalControllerState>

  </ModelArtifact>

image

but now has been changed so to conform with the Logic modules architecture to

<ModelArtifactState>

    <ConditionalControllerState>

      <Rules>

        <ControllerStateRule ID="test" TypeInfo="DevExpress.ExpressApp.SystemModule.AboutInfo" ControllerType="DevExpress.ExpressApp.CloneObject.CloneObjectViewController" IsNewNode="True" />

      </Rules>

    </ConditionalControllerState>

  </ModelArtifactState>

image

so you have to manually update your model.xafml files .

The same procedure has to be applied to AdditionalViewControlsProvider module.

In the next post I am going to speak about the Core Logic module.

Subscribe to XAF feed
Subscribe to community feed

DiggIt!
blog comments powered by Disqus