From: Matias B. <ma...@ht...> - 2006-09-25 14:09:29
|
Hello Jaap, On next release (we hope it'll be ready by tomorrow) we'll add an event called "onheaderclick" to the Tab element, so that you can do: <htmli:tabpane> <htmli:tab onheaderclick="myFillTabFunction(me);"> Some content... </htmli:tab> <htmli:tabpane> Do you think this will solve your problem? Thanks, Matias > Hello, > > I want to do an action when a tab is selected. > (Actually I want to fill a tab with values from a httpRequest(), but > thats not the issue). > But I can find no way to find the selected tab. > According to the documentation I should use the |*getPosition > <cid:par...@de...>*() of the tabpane, but that > returns 'undefined'. > I tried to find the selected tab in the onmouseup ||of the tabpane > ||(and in the onmousedown), using the code below, but that always gave > me as a result the page that was selected before (So when I first select > tab1, and then tab2, tab1 is updated when tab2 is selected. > I also tried the onselect of the tab, but that does not work before you > actually click in the tab area. > > Has anyone suggestions? |