Since TabbedPanel[1] has ActionLink as instance variable ...
I guess you can do the .setAttribute("onClick", "javascript:< your
javascript code >")[2] with that Click Control.

Hope this helps

Gilberto

[1] 
http://click.apache.org/docs/extras-api/org/apache/click/extras/panel/TabbedPanel.html
[2] 
http://click.apache.org/docs/click-api/org/apache/click/control/AbstractControl.html?is-external=true#setAttribute(java.lang.String,%20java.lang.String)



On Tue, Dec 6, 2011 at 9:12 AM, Ivan Furdi <[email protected]> wrote:
> Hi all,
>
> Im doing something with tabbed panels and was wondering how to add some
> confirm dialog on tab switch?
>
> For example I have 2 tabs and when I switch between them i would like to ask
> a user about some action ("Do you want to do ....." etc.)
>
> Any ideas?
>
> Thx

Reply via email to