Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mix of named and not named views
Message
 
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01617276
Message ID:
01617288
Views:
17
>>
>> .state('edit.invoices', {
>>                url: '/invoices:invoiceId?accountNameHash?isNew',
>>                views: {
>>                    'invoices': {
>>                        templateUrl: '/CustomerAccounts/accounts/EditAccountInvoices',
>>                        controller: 'invoicesSearchController'
>>                    },
>>                    'detail': {
>>                        templateUrl: '/CustomerAccounts/invoices/editForm',
>>                        controller: 'invoicesCrudController'
>>                    }
>>                }
>>            })
>>
>>I am saying that this is wrong. It should not include 2 named views. I was asking how it should be re-defined.
>
>Maybe nest the detail state/view within the edt.invoices (ie. another state edit.invoices.detail)

I think I'll start with that.

Thanks again.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform