New Posts New Posts RSS Feed: many ViewModels to look the same View
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

many ViewModels to look the same View

 Post Reply Post Reply
Author
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Topic: many ViewModels to look the same View
    Posted: 02-May-2012 at 9:31am
is possible  many ViewModels to look the same View,
i.e. AddressTypeSelectorViewModel, RateTypeSelectorViewModel, PhoneTypeSelectorViewModel
may have the same TypeSelectorView ?

If it is possible you could embed it into some version of Cocktail ?
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 02-May-2012 at 2:33pm
Yes, that is possible by defining your own convention by how CM finds the View that goes with the ViewModel.
 
 
When I get a chance I'll take a stab at it in TempHire.
Back to Top
giotis View Drop Down
Groupie
Groupie
Avatar

Joined: 26-Apr-2012
Location: Greece
Posts: 53
Post Options Post Options   Quote giotis Quote  Post ReplyReply Direct Link To This Post Posted: 02-May-2012 at 3:47pm
before I send to you this post I read the same doc

xexe thanks
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down