Ejemplo n.º 1
0
    def __init__(self):
        redirectURL = None
        if SESSINFO.getSessionInfo().getStatus() < 100:
            redirectURL = UTIL.getURL('inbox')
        WW.InputFrame.__init__(self,WN.getWidgetIdEditProfile(),
                                  UTIL.getURL('editpersonal'),
                                  redirectURL)
        global _gDataGroup
        _gDataGroup = self._readData()
        
        self.add(HeaderTag('RELEGIOUS_INFO'))
        self.add(EditReligiousInfo())
        
        self.add(HeaderTag('PERMENANT_ADDRESS'))
        self.add(EditAddressInfo(0))
        
        self.add(HeaderTag('PRESENT_ADDRESS'))
        self.add(EditAddressInfo(1))

        self.add(HeaderTag('PERSONAL_INFO'))
        self.add(EditPersonalInfo())
        
        self.add(HeaderTag('EDUCATION_JOB'))
        self.add(EditJobInfo())
        
        self.add(HeaderTag('ABOUT'))
        self.add(EditAboutInfo())
        
        
        self.add(ButtonSaveContinue())
Ejemplo n.º 2
0
   def __init__(self):
       WW.DivFrame.__init__(self)
       self.setClass('buttonSectionStyle')
       
       if SESSINFO.getSessionInfo().getStatus() < 100:
           textKey = 'SAVE_CONTINUE'
       else:
           textKey = 'SAVE'
 
       bButton = NW.BusyTableButton(WN.getWidgetIdEditProfile()+'Button',UTIL.getText('SAVE_CONTINUE'))
       self.add(bButton)