On 04.Sep.2002 -- 02:57 PM, Lajos Moczar wrote:
>
> The main gotcha here is the formval logicsheet is a bit clumsy to use,
> as you have to make sure you not only display validation errors to the
> user, but repopulate valid fields with the data the user already entered.
Lajos, in 2.0.4 (i.e. CVS cocoon_2_0_3_branch) you'll find a SimpleFormTransformer
that could be used alternatively to the formval logicsheet. It does the population
from previous input. It insists on all input elements to have a @name and selection
options need a @value. It skips <error> tags depending on validation results.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>