Hi Groovy,

the order of processing is the same as in the uiComponentTree.

A tab change is internally handled as an actionEvent, and your toolbar
action is in the tree before the tabgroup.
So the action is executed before the tabChangeAction updates the index.

You can try to fetch the actual index from the requestParameterMap.

regards,
  Volker

2008/11/28 Groovie <[EMAIL PROTECTED]>:
>
> Salut m'cs,
>
> this is now a little bit tricky, but i think theres a bug in Tobago.
> I implemented a page, that consists of the following:
>
> page
> --box
> ----client-side-tabs #1
> ------sheet#1
> ----client-side-tabs #2
> ------sheet#2
> ----panel
> ------button-ok
> ------button-canel
>
>
> This works perfectly. Both getter of a sheet list
> gets called, when the page is loaded. Both
> actions for the buttons can access a beans
> attribute, that represents the currently
> selected tab and perform the operation on the
> visible sheet items. Excellent!
>
> Now somebody decided to add two actions at
> the box border via <f:facet name="toolBar">
> and a <tc:toolBar>.
> The problem now is, that whenever i do change
> the tab and press a toolbars button, the action
> callback only see the old tab-setting and is performing
> the action on the wrong tab-side.
>
> I know, this would not be a problem, if i would
> use a server-side-tab, cause each tab change would
> update the beans register, before the toolbar
> action will fire an event.
>
> Ok, i have seen this under 1.0.19. Maybe you have
> to read in the entire page, befor you start to run the
> actions.
> Maybe i am wrong, cause the endtag of <f:facet name="toolBar">
> ends behind the </tc:toolbar>.
>
> Somebody has a idea, what went wrong ?
>
> Thank you
> Groovie
>
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/-TOBAGO--bug---wrong-order-of-processing-incoming-pages-tp20730799p20730799.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



-- 
inexso - information exchange solutions GmbH
Bismarckstraße 13      | 26122 Oldenburg
Tel.: +49 441 4082 356 |
FAX:  +49 441 4082 355 | www.inexso.de

Reply via email to