Ok... I'm close to the solution...

   Alert popup appear asking me before make the page change... if I click
'Cancel'...the event not occur over my buttonView class...but the event is
propagated and 'chagechecked' over the button clicked is fired. 
  Can I do somwthing like stopPropagation function??
   I think I can do it with an static function that inform me about the
aswer in the popup alert... 

Can anyone help me?
  


Christian Schmidt-18 wrote:
> 
> Hi,
> 
> I think it isn't so easy, you have to create three classes:
> 1) A class witch is extend from "qx.ui.selection.RadioManager". This 
> class should override the "_applySelected" method. Here you can put your 
> confirm code.
> 2) The next class extend from "qx.ui.pageview.tabview.Bar". There you 
> have to set your own "radio manager" by setting the "_manager" member.
> 3) The last class has to extend from "qx.ui.pageview.AbstractPageView", 
> copy the code from "qx.ui.pageview.tabview.TabView" in it, but change 
> the constructor code (your own "bar" should be used).
> 
> I know it isn't a good way, but I can't see a other one. Perhaps, 
> someone has a better idea.
> 
> Cheers,
> Chris
> 
> 
-- 
View this message in context: 
http://www.nabble.com/alert-user-before-chaging-page-in-buttonview-tp22563991p22605222.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to