Changeset 3489


Ignore:
Timestamp:
4 May 2008, 03:59:43 (17 years ago)
Author:
Henrik Bettermann
Message:

add WAHR and FALSCH to Boolean Widget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/Widgets.py

    r3487 r3489  
    10431043        if self.render_format not in self.render_formats:
    10441044            self.render_format = 'select'
    1045         true = value.upper() in ('T','1','TRUE',True)
    1046         false = value.upper() in ('F','0','FALSE',False)
     1045        true = value.upper() in ('T','1','TRUE','WAHR',True)
     1046        false = value.upper() in ('F','0','FALSE','FALSCH',False)
    10471047        if not true and not false:
    10481048            datastructure.setError(self.getWidgetId(),
Note: See TracChangeset for help on using the changeset viewer.