code: def validatePage(self):
          
          widgets = self.propertyWidgetMap()
          failed = ''
          for prop, widget in widgets.items():
              val, success = projexui.widgetValue(widget)
              
              if success:
                  # ensure we have the required values
                  if not val and not (prop.type == 'bool' and val is False):
                      if prop.default:
                          val = prop.default
                      elif prop.required:
                          msg = '{0} is a required value'.format(prop.label)
                          failed = msg
                          break
                  
                  # ensure the values match the required expression
                  elif prop.regex and not re.match(prop.regex, nativestring(val)):
                      msg = '{0} needs to be in the format {1}'.format(prop.label,
                                                                   prop.regex)
                      failed = msg
                      break
                  
                  prop.value = val
              else:
                  msg = 'Failed to get a proper value for {0}'.format(prop.label)
                  failed = msg
                  break
          
          if failed:
              QtGui.QMessageBox.warning(None, 'Properties Failed', failed)
              return False
  
          return True
docs: Validates the page against the scaffold information, setting the
          values along the way.