i walked through the blog tutorial and afterwards i was looking to enable
the validation. instinctively, i read the large comment above the provided
validation functiona dn un-commented out the validation function itself
that was created from 'phing module'. i noticed that it never gets called -
i inserted a 'Debug::output($stName);' and still nothing.
in returning back to the wasp website, i read the document on how to use
validation and in i noticed a different format was presented there.
validate_VALUE rather than VALUE_validate. i replaced the function that
'phing module' created with this new format in it worked. a bad function
name should not be provided by default.
phing module creates:
public function name_validate($stName) // validates the variable "name"
what it should have been:
public function validate_Name($stName) // validates the variable "name"
configuration:
wasp 1.2
phing 2.1.1