Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mix of named and not named views
Message
 
 
À
26/03/2015 12:07:39
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01617276
Message ID:
01617288
Vues:
15
>>
>> .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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform