[Alba-desarrollo] SVN Alba r4335 - in prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocente: . actions validate

commits en pressenter.com.ar commits en pressenter.com.ar
Mie Feb 28 15:02:07 CET 2007


Author: josx
Date: 2007-02-28 11:02:07 -0300 (Wed, 28 Feb 2007)
New Revision: 4335

Added:
   prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocente/v=
alidate/
   prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocente/v=
alidate/edit.yml
Modified:
   prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocente/a=
ctions/actions.class.php
Log:
Agregue la validacion para relActividadDocente que faltaba (ticket #158)

Modified: prosistem/alba/trunk/alba/apps/principal/modules/relActividadDo=
cente/actions/actions.class.php
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocente/=
actions/actions.class.php	2007-02-27 20:41:31 UTC (rev 4334)
+++ prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocente/=
actions/actions.class.php	2007-02-28 14:02:07 UTC (rev 4335)
@@ -23,8 +23,8 @@
  * relActividadDocente Acciones
  *
  * @package    alba
- * @author     Jos=E9 Luis Di Biase <josx en interorganic.com.ar>
- * @author     H=E9ctor Sanchez <hsanchez en pressenter.com.ar>
+ * @author     Jos=C3=A9 Luis Di Biase <josx en interorganic.com.ar>
+ * @author     H=C3=A9ctor Sanchez <hsanchez en pressenter.com.ar>
  * @author     Fernando Toledo <ftoledo en pressenter.com.ar>
  * @version    SVN: $Id$
  * @filesource

Added: prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocen=
te/validate/edit.yml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocente/=
validate/edit.yml	2007-02-27 20:41:31 UTC (rev 4334)
+++ prosistem/alba/trunk/alba/apps/principal/modules/relActividadDocente/=
validate/edit.yml	2007-02-28 14:02:07 UTC (rev 4335)
@@ -0,0 +1,27 @@
+methods:
+  post:      =20
+    - "rel_actividad_docente{fk_docente_id}"
+    - "rel_actividad_docente{fk_actividad_id}"
+   =20
+fillin:
+    enabled:       on
+     =20
+names:
+    rel_actividad_docente{fk_docente_id}:
+        required: Yes
+        required_msg: "El campo Docente es obligatorio"
+        validators: validarNumero
+
+    rel_actividad_docente{fk_actividad_id}:
+        required: Yes
+        required_msg: "El campo Actividad es obligatorio"
+        validators: validarNumero
+
+validarNumero:
+    class: sfNumberValidator
+    param:
+        nan_error: Por favor ingrese un valor n&uacute;merico
+        min: 1
+        min_error: El valor de las horas deber ser mayor a 0
+
+       =20
\ No newline at end of file


Property changes on: prosistem/alba/trunk/alba/apps/principal/modules/rel=
ActividadDocente/validate/edit.yml
___________________________________________________________________
Name: svn:keywords
   + "Id Author URL Date Rev"




Más información sobre la lista de distribución Alba-desarrollo