Author: fortim
Date: Sat Sep 12 16:30:03 2009
New Revision: 3244

Log:
Updated form to remove setHelps.

Modified:
   trunk/lib/form/OaiAddRepositoryForm.class.php

Modified: trunk/lib/form/OaiAddRepositoryForm.class.php
==============================================================================
--- trunk/lib/form/OaiAddRepositoryForm.class.php       Sat Sep 12 16:09:13 
2009        (r3243)
+++ trunk/lib/form/OaiAddRepositoryForm.class.php       Sat Sep 12 16:30:03 
2009        (r3244)
@@ -35,11 +35,12 @@
     // The labels
     $this->widgetSchema->setLabels(array('uri' => __('URI')));
 
-    // The helpers
-    $this->widgetSchema->setHelps(array(
-        'uri' => __('URI to the OAI-PMH port of the Repository to be added')
-      )
-    );
+    // Add helper text
+    // NOTE: This is implemented in the template because it was too much
+    // trouble to integrate the helper text without rendering the whole form
+    // row due to the lack of a renderHelp() method in sfFormField.class.php
+    //
+    // $this->widgetSchema->setHelps();
 
     // The validation
     $this->validatorSchema['uri'] = new sfValidatorUrl(array( 'required' => 
true ));

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to