Hi all,

I'm trying to create some tabpane behaviour like the one in firefox :
the last tab is always a '+' tab. When it is pushed, a new tab is
created dynamically. I'm trying to catch the event that is sent when
the tabpane '+' is selected but it doesn't work. Below is a simple
example that should display an alert, if the tabpane '+' is selected.
Do you know what is wrong with this ?

<canvas>
        <alert id="a1">Attention: this is an alert!</alert>
        <tabs>
                <tabpane>
                        Tab1
                </tabpane>
                <tabpane id="last" text="+">
                        <handler name="onselected">
                                a1.open();
                        </handler>
                </tabpane>
        </tabs>
</canvas>

Reply via email to