Exemple #1
0
 def onFocusIn(self, alias):
     self.fireEvent(
         FocusEvent(FocusEvent.COMPONENT_FOCUSED,
                    {'clientID': self.getClientID()}))
Exemple #2
0
 def onFocusIn(self, alias):
     """
     Sends FocusEvent when the view receives focus. Triggered from FE side.
     :param alias: view alias represented by string.
     """
     self.fireEvent(FocusEvent(FocusEvent.COMPONENT_FOCUSED))
Exemple #3
0
 def onFocusIn(self, alias):
     self.fireEvent(FocusEvent(FocusEvent.COMPONENT_FOCUSED))
Exemple #4
0
 def onFocusIn(self, alias):
     self.fireEvent(
         FocusEvent(FocusEvent.COMPONENT_FOCUSED, ctx={'alias': alias}))