Re: [Dev] [UUF] Handling Tab view

2017-03-07 Thread Rajith Roshan
In APIM - Store we have included all the common views like header, footer, side bar and etc as bindings in component.yaml as follows bindings: - zoneName: footer mode: prepend fragments: - org.wso2.carbon.apimgt.web.store.feature.footer - zoneName: topbar mode: prepend

Re: [Dev] [UUF] Handling Tab view

2017-03-07 Thread Denuwanthi De Silva
Hi, I used the menu helper for the leftside menu generation in our layout currently. Will we get the '@selected' support with the coming uuf release? Thanks, On Tue, Mar 7, 2017 at 8:44 AM, Denuwanthi De Silva wrote: > Hi Manuranga, > > Yes I'm planning to use menu

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread Denuwanthi De Silva
Hi Manuranga, Yes I'm planning to use menu helper, since that seems to be the way to render the menus with each page loading. If there is any other approach, we can try that too. Thanks On Mon, Mar 6, 2017 at 10:18 PM, Manuranga Perera wrote: > Hi Denuwanthi, > Are you planing

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread Manuranga Perera
Hi Denuwanthi, Are you planing to use menu helper ? On Mon, Mar 6, 2017 at 4:14 PM, SajithAR Ariyarathna wrote: > Hi Manu, > > On Mon, Mar 6, 2017 at 9:11 PM, Manuranga Perera wrote: > >> @Sajith >> * Can we use the menu helper ? >> > We have used the menu

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread SajithAR Ariyarathna
Hi Manu, On Mon, Mar 6, 2017 at 9:11 PM, Manuranga Perera wrote: > @Sajith > * Can we use the menu helper ? > We have used the menu helper in the sample apps. > * AFAIK menu helper doesn't support a @selected attribute, to highlight > current tab, don't we need to implement it?

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread SajithAR Ariyarathna
On Mon, Mar 6, 2017 at 8:22 PM, SajithAR Ariyarathna wrote: > > > On Mon, Mar 6, 2017 at 8:17 PM, Denuwanthi De Silva > wrote: > >> >> >> On Mon, Mar 6, 2017 at 6:51 PM, Denuwanthi De Silva >> wrote: >> >>> Thank you for the detailed

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread Manuranga Perera
@Sajith * Can we use the menu helper ? * AFAIK menu helper doesn't support a @selected attribute, to highlight current tab, don't we need to implement it? On Mon, Mar 6, 2017 at 2:52 PM, SajithAR Ariyarathna wrote: > > > On Mon, Mar 6, 2017 at 8:17 PM, Denuwanthi De Silva

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread SajithAR Ariyarathna
On Mon, Mar 6, 2017 at 8:17 PM, Denuwanthi De Silva wrote: > > > On Mon, Mar 6, 2017 at 6:51 PM, Denuwanthi De Silva > wrote: > >> Thank you for the detailed description Sajith. >> >> >> On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread Denuwanthi De Silva
On Mon, Mar 6, 2017 at 6:51 PM, Denuwanthi De Silva wrote: > Thank you for the detailed description Sajith. > > > On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna > wrote: > >> I think you have misunderstood the page concept. In UUF, Page is the >>

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread Denuwanthi De Silva
Thank you for the detailed description Sajith. On Mon, Mar 6, 2017 at 6:47 PM, SajithAR Ariyarathna wrote: > I think you have misunderstood the page concept. In UUF, Page is the whole > thing (markup) that covers the browser window. So you *cannot* insert a > page into

Re: [Dev] [UUF] Handling Tab view

2017-03-06 Thread SajithAR Ariyarathna
I think you have misunderstood the page concept. In UUF, Page is the whole thing (markup) that covers the browser window. So you *cannot* insert a page into another page. With that in mind, let's brak down the UI in [1]. - Left pane has 4 links, seems that those are app level menus. So, IMO each

[Dev] [UUF] Handling Tab view

2017-03-06 Thread Denuwanthi De Silva
Hi, We need to provide a tab like view as in [1]. When moving between each tab we plan to load a page. Is there a notation where we can insert a page inside the tab similar to fragment notation? or any other approach to achieve this behavior? Overview [1]