I think the afterTransition event can helps you to delete/change the button when transition is finished. you can do that 'easily' by using the ext-event.js, in the ext-sandbox folder.
But perhaps someone have a better solution ... ? Remi Le 5 mars 2010 à 17:30, goll a écrit : > Hi all, > > I'm tryping to find a way to change the upper right button depending > on the context. In the example below, I'd like to show a search button > as long as the the user is navigating through the list. When the user > goes to a note, the upper right button should change from 'Search' to > 'Edit'. > > How can this be done? > > Thanks for any help! > > Greetings > > Rolf > > > > index.html: > <div class='toolbar'> > <h1 id='pageTitle'></h1> > <a id='backButton' class='button' href='#'></a> > <a class='button' href='#searchForm'>Search</a> > </div> > > <ul title='notes' selected='true'> > <li><a href='note1.html'>Note 1</a></li> > <li><a href='note2.html'>Note 2</a></li> > </ul> > > > note1.html: > <div id='note1' class='panel'> > <h2>Note 1</h2> > ... > </div> > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en. > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
