"show" a component in a new tab/popup/window

classic Classic list List threaded Threaded
3 messages Options
Bernat Romagosa Bernat Romagosa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

"show" a component in a new tab/popup/window

Hi list,

I need to get a component to show in a different window, tab or in a popup. Is there a way?

Thanks!

--
Bernat Romagosa.
Nicolas Petton Nicolas Petton
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: "show" a component in a new tab/popup/window

Hi,

I think using the target attribute of an anchor is the easiest way.
Create a controller #myWidget that displays your widget.

Then you can create an achor that links to your controller:

e a
    linkToLocal: 'myWidget';
    target: '_blank'.

HTH,
Nico

2011/10/4 Bernat Romagosa <[hidden email]>
Hi list,

I need to get a component to show in a different window, tab or in a popup. Is there a way?

Thanks!

--
Bernat Romagosa.

Bernat Romagosa Bernat Romagosa
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: "show" a component in a new tab/popup/window

Thanks, works great :)

2011/10/4 nicolas petton <[hidden email]>
Hi,

I think using the target attribute of an anchor is the easiest way.
Create a controller #myWidget that displays your widget.

Then you can create an achor that links to your controller:

e a
    linkToLocal: 'myWidget';
    target: '_blank'.

HTH,
Nico


2011/10/4 Bernat Romagosa <[hidden email]>
Hi list,

I need to get a component to show in a different window, tab or in a popup. Is there a way?

Thanks!

--
Bernat Romagosa.




--
Bernat Romagosa.
Loading...