Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object Person extends ViewConfig {
- @Page
- object PersonList extends ViewConfig
- @Page
- object PersonDetail extends ViewConfig
- /*remapping of the function call hierarchy to make the code leaner*/
- def GO_DETA: Class[_] = Person.PersonDetail.getClass
- def GO_LIST: Class[_] = Person.PersonList.getClass
- }
- class PersonListView extends PersonListViewModel {
- import Person._
- def doSearchList: java.lang.Class[_] = {
- refresh
- GO_LIST
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement