- Timestamp:
- 27 Nov 2007, 09:25:42 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Widgets.py
r2766 r2785 1161 1161 i = 0 1162 1162 done = False 1163 #import pdb;pdb.set_trace() 1163 1164 for sv,gv in v: 1164 1165 if sv == s: … … 1173 1174 break 1174 1175 if s and g: 1175 v.append((s,g)) 1176 if v: 1177 v += (s,g), 1178 else: 1179 v = [(s,g),] 1176 1180 break 1177 1181 if err: … … 1180 1184 datamodel = datastructure.getDataModel() 1181 1185 datamodel[self.fields[0]] = v 1186 datastructure[widget_id] = v 1182 1187 datastructure[widget_id+'_s'] = s 1183 1188 datastructure[widget_id+'_g'] = g … … 1192 1197 raise RuntimeError("Unknown Render Method %s for widget type %s" 1193 1198 % (render_method, self.getId())) 1194 #import pdb;pdb.set_trace()1195 1199 datamodel = datastructure.getDataModel() 1196 1200 widget_id = self.getWidgetId()
Note: See TracChangeset for help on using the changeset viewer.