Monday, March 29, 2010

Position your actions anywhere

When working with Xaf and MVC pattern in order to create actions we are using controllers and initialize them upon them. The default behavior of Xaf is to place our actions in the default toolbar of our view.

What if we want to position our actions somewhere else in the view? Then we need to create a custom detailviewItem and write our code against the interface exposed by the detailviewitem. I really did not like the idea , I really wanted to continue to design my actions behavior against the controller interface so i have added an ActionButtonDetailItem for both win and web platforms that can be installed declaratively using the model like


bind it to the action we want like


and position it anywhere we want using Dx layout component to create our views like


Subscribe to XAF feed
Subscribe to community feed

blog comments powered by Disqus