Tabs in AGW AUI

Hi,

Im using this control in my project and I want to know: How can I prevent the same tab from being opened two or more times?

···

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru

Any idea?

···

El miércoles, 28 de noviembre de 2018, 15:35:50 (UTC-5), Mario Lacunza escribió:

Hi,

Im using this control in my project and I want to know: How can I prevent the same tab from being opened two or more times?

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru

One idea might be to override the base class and add an unique id field which then will be checked each time

the users trying to add/open a new tab or maybe using metaclass approach and make singleton class out of your tabs.

Cheers

Claudia

Hi Claudia!

thanks for the answer , I was thinking is something similar!

···

Saludos / Best regards

Mario Lacunza
Email:: mlacunza@gmail.com
Personal Website:: http://www.lacunza.biz/
Hosting:: http://mlv-host.com/
Skype: mlacunzav

Lima - Peru