Hi Mike,
thanx for the input on that.

The immediate="true" onclick="bCancel=true" had no effect on my site. I
solved the problem with the button with the a4j lib and made it a
a4j:commandButton.

                              <a4j:commandButton value="Ändern"
                                    action="
#{contractBankConnectionWebController.bankConnectionChangeWebController.save}"
                                    reRender="bankResult">
                              </a4j:commandButton>

then I solved the problem with the dataTable in the tabbedPane with ajax
too. Surrounding the tableData with a a4j:form did the job.

            <a4j:form id="dataTableForm" ajaxSubmit="true" reRender=
"tableData">
                  <t:dataTable id="tableData" var="postingWebServiceBean"
                        value="
#{dataScrollerListPostingWebController.data}" rows="15"
                  ...
                  </t:dataTable>

                  <h:panelGrid columns="1" styleClass="scrollerTable2"
                        columnClasses="standardTable_ColumnCentered">
                        <t:dataScroller id="scroll_1" for="tableData"
fastStep="10"
                        ...
                        </t:dataScroller>
                  </h:panelGrid>
            </a4j:form>

Kind Regards
Andreas



                                                                       
             mikebgx                                                   
             <[EMAIL PROTECTED]                                         
             ms.co.uk>                                                  An
                                        [email protected]       
             26.06.2007 22:48                                        Kopie
                                                                       
                                                                     Thema
              Bitte antworten           Re: TabbedPane does not remember
                    an                  position                       
                 "MyFaces                                              
                Discussion"                                            
             <[EMAIL PROTECTED]                                         
                 ache.org>                                             
                                                                       
                                                                       





I use client side switching, the one button I have that makes it reset to
the
first tab has the following:
immediate="true" onclick="bCancel=true"

hth
Mike



Andreas Heidrich wrote:
>
> Hi everybody,
> i use a tabbedPane in my application. I contains a page that shows a
> t:dataTable. When I scroll a page in the table, the focus of the
> tabbedPane
> switches to the first page og the pane. This also happens when I invoke
> some functionality that  is bound to an command button on another page.
> Is there a way to customize the tabbedPane so that i will not loose it
> pane
> position.
> I looked for a way to remember the position and added the
> serverSideTabSwitch="true" paramter, but the code in the
TabChangeListener
> class never gets called.
>
> Anyone any idea how to solve that ?
>
> Thanx
> Andreas
>


Toyota Financial Services (UK) PLC, Company Registration Number
02299961, Great Burgh, Burgh Heath, Epsom, Surrey, KT18 5UZ,
registered in England.

Lexus Financial Services and Redline Finance are trading styles
of Toyota Financial Services (UK) PLC.

Authorised and regulated by the Financial Services Authority.
This correspondence is for the intended recipient only. It may
contain confidential or legally privileged information or both.
No confidentiality or privilege is waived or lost by any
mistransmission or unauthorised alteration during transmission.
If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. If you receive
this correspondence in error, please immediately delete it from
your system and notify the sender. Any views expressed in this
message are those of the individual sender, except where the
sender expressly, and with authority, states them to be the views
of Toyota. This message has been checked for viruses but the
recipient is strongly advised to rescan the message before
opening any attachments or attached executable files.

Reply via email to