You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ray Martin <Ra...@aci-hq.com> on 2002/10/29 18:22:49 UTC

FormValidatorAction

using a descriptor file like employee-form.xml in the tutorial directory.

have FormValidatorAction called from the sitemap.

a line in core.log states "All form params successfully validated" - written
by FormValidatorAction.  no other lines from FormValidatorAction.
therefore, neither the 'validate' if statement nor the 'validate-set' if
statement are entered.

started by using the parameter, 'validate', before getting fancy and using
constraint-set.

cannot understand constraint-set in the descriptor file when
FormValidatorAction and AbstractValidatorAction look for the parameter,
'validate-set'.  cannot find the association.

but, am trying to stay simple even though the info in FormValidatorAction
says that the check for 'validate' is obsolete.  i have validate elements
within the 'root' element - but, it does not "hit" in the code.



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: FormValidatorAction

Posted by Christian Haul <ha...@dvs1.informatik.tu-darmstadt.de>.
On 29.Oct.2002 -- 12:22 PM, Ray Martin wrote:
> using a descriptor file like employee-form.xml in the tutorial directory.
> 
> have FormValidatorAction called from the sitemap.
> 
> a line in core.log states "All form params successfully validated" - written
> by FormValidatorAction.  no other lines from FormValidatorAction.
> therefore, neither the 'validate' if statement nor the 'validate-set' if
> statement are entered.
> 
> started by using the parameter, 'validate', before getting fancy and using
> constraint-set.
> 
> cannot understand constraint-set in the descriptor file when
> FormValidatorAction and AbstractValidatorAction look for the parameter,
> 'validate-set'.  cannot find the association.
> 
> but, am trying to stay simple even though the info in FormValidatorAction
> says that the check for 'validate' is obsolete.  i have validate elements
> within the 'root' element - but, it does not "hit" in the code.

Ray, you need to be a little more specific like versions, log
excerpts, sources, expected and observed behaviour, to get help.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>