#1200: Incorrect event handling in ui.dPageFrameMixin.__onPageChanging
------------------------------+---------------------------------------------
 Reporter:  JacekK            |       Owner:  somebody
     Type:  defect            |      Status:  new     
 Priority:  major             |   Milestone:  0.9     
Component:  ui                |     Version:  0.9.1   
 Keywords:  pageframe events  |  
------------------------------+---------------------------------------------
 I observed incorrect event handling in sample application created with the
 wizard.[[BR]]
 On form where bizobj held no records (before requery), activation of
 subsequent pages should be disabled in result of
 {{{PageFrame.beforePageChange}}} code.[[BR]]
 This doesn't happen and additionally changing page, e.g. from 2 to 1,
 always activates page 0 instead.[[BR]]
 I think the problem is in {{{ui.dPageFrameMixin.__onPageChanging}}} event
 handler:[[BR]]
 1) {{{evt.GetSelection()}}} method call always return current page, not
 the forthcoming page[[BR]]
 2) when {{{oldPageNum=oldPageNum=0}}}, instead of page 0 remain active,
 forthcoming page is activated.

-- 
Ticket URL: <http://trac.dabodev.com/ticket/1200>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to