Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mix of named and not named views
Message
 
 
À
26/03/2015 11:32:50
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01617276
Message ID:
01617284
Vues:
15
>>>There's nothing unsafe in using a mix of named and unnamed views.
>>>BTW why are you bothering to use tabs when they have no content. Seems to me that, as they stand, they are just glorified buttons ?
>>
>>What do you mean by no content? The select view procedure opens a view for each tab. E.g. we have separate cshtml for each tab which is defined in the state.config (which I didn't show.
>
>You are just showing the view *below* the tabs - normally the view would be the *content* of the tab like so:
<tabset>
>                <tab heading="Tab 1"><div ui-view="View1"></div></tab>
>                <tab heading="Tab 2"><div ui-view="View2"></tab>
>            </tabset>
>
>>
>>So, what exactly is supposed to happen when we go to edit.invoices state which includes two views? Are both views activated?
>
>Yes

I was updating my message, so you may re-read it again. I can try changing tabs the way you showed and see, if it helps.
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