[gnue] r9460 - trunk/gnue-forms/src

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-04-03 01:40:12 -0500 (Tue, 03 Apr 2007)
New Revision: 9460

Modified:
   trunk/gnue-forms/src/GFForm.py
Log:
Process ON-ACTIVATION trigger *after* setting the focus to the first element,
so the trigger can move the focus.


Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py	2007-03-31 22:51:51 UTC (rev 9459)
+++ trunk/gnue-forms/src/GFForm.py	2007-04-03 06:40:12 UTC (rev 9460)
@@ -409,12 +409,12 @@
 
     def execute_open(self, modal):
 
+        # Set initial focus
+        self.__find_and_change_focus([self._currentPage], False)
+
         assert gDebug(4, "Processing activation trigger")
         self.processTrigger('On-Activation')
 
-        # Set initial focus
-        self.__find_and_change_focus([self._currentPage], False)
-
         self.__visible = True
 
         assert gDebug(4, "Activating form")
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.