? d7-changes.patch
Index: components/date.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/date.inc,v
retrieving revision 1.32
diff -u -p -r1.32 date.inc
--- components/date.inc	16 Mar 2010 00:11:59 -0000	1.32
+++ components/date.inc	19 Mar 2010 22:24:43 -0000
@@ -183,7 +183,7 @@ function webform_expand_date($element) {
   }
 
   // Let Drupal do it's normal expansion.
-  $element = expand_date($element);
+  $element = form_process_date($element);
 
   // Set default values.
   foreach ($default_values as $type => $value) {
Index: components/grid.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/grid.inc,v
retrieving revision 1.17
diff -u -p -r1.17 grid.inc
--- components/grid.inc	16 Mar 2010 00:11:59 -0000	1.17
+++ components/grid.inc	19 Mar 2010 22:24:43 -0000
@@ -119,7 +119,7 @@ function _webform_render_grid($component
         '#required'      => $component['mandatory'],
         '#options'       => $options,
         '#type'          => 'radios',
-        '#process'       => array('expand_radios', 'webform_expand_select_ids'),
+        '#process'       => array('form_process_radios', 'webform_expand_select_ids'),
         '#validated'     => TRUE, // Webform handles validation separately.
       );
     }
@@ -316,8 +316,7 @@ function _webform_csv_data_grid($compone
 }
 
 function theme_webform_grid($variables) {
-  $element = $variables['element'];
-
+  $element = $variables['grid_element'];
   $rows = array();
   $header = array(array('data' => '', 'class' => 'webform-grid-question'));
   $first = TRUE;
@@ -336,7 +335,7 @@ function theme_webform_grid($variables) 
     $row = array(array('data' => _webform_filter_xss($question_element['#title']), 'class' => 'webform-grid-question'));
 
     // Render each radio button in the row.
-    $radios = expand_radios($question_element);
+    $radios = form_process_radios($question_element);
     foreach (element_children($radios) as $key) {
       unset($radios[$key]['#title']);
       $row[] = array('data' => drupal_render($radios[$key]), 'class' => 'checkbox webform-grid-option');
Index: components/select.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/select.inc,v
retrieving revision 1.44
diff -u -p -r1.44 select.inc
--- components/select.inc	16 Mar 2010 00:11:59 -0000	1.44
+++ components/select.inc	19 Mar 2010 22:24:43 -0000
@@ -255,7 +255,7 @@ function _webform_render_select($compone
     else {
       // Set display as a radio set.
       $element['#type'] = 'radios';
-      $element['#process'] = array('expand_radios', 'webform_expand_select_ids');
+      $element['#process'] = array('form_process_radios', 'webform_expand_select_ids');
     }
   }
 
@@ -280,7 +280,7 @@ function webform_expand_checkboxes($elem
     }
   }
 
-  $element = expand_checkboxes($element);
+  $element = form_process_checkboxes($element);
 
   // Escape the values of checkboxes.
   foreach (element_children($element) as $key) {
Index: components/time.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/components/time.inc,v
retrieving revision 1.27
diff -u -p -r1.27 time.inc
--- components/time.inc	16 Mar 2010 00:11:59 -0000	1.27
+++ components/time.inc	19 Mar 2010 22:24:43 -0000
@@ -41,6 +41,8 @@ function _webform_theme_time() {
   );
 }
 
+//TO DO:  Write Validate Function
+function webform_validate_time_string($element, &$form_state) {}
 /**
  * Implementation of _webform_edit_component().
  */
@@ -174,7 +176,7 @@ function _webform_render_time($component
 
   if (isset($value)) {
     $element['minute']['#default_value'] = $value['minute'];
-  
+
     // Match the hourly data to the hour format.
     if ($value['hour']) {
       $timestamp = strtotime($value['hour'] . ':' . $value['minute'] . (isset($value['ampm']) ? $value['ampm'] : ''));
