cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Portier <...@outerthought.org>
Subject Re: [cforms] validation errors on <ft:aggregate> (was Re: [cforms] widget values: set, get, validate, readfromrequest, parse, fireEvents,... generateSAXEvent)
Date Mon, 12 Apr 2004 11:34:21 GMT


Vadim Gritsenko wrote:

> Marc Portier wrote:
> ...
> 
>>> But where I expected to get the validation errors assembled in a way 
>>> as well, they just get lost, due to the widget replacement (of 
>>> <ft:aggregate-widget id="visa">), hmmm, unsatisfying. (or do I get 
>>> the whole thing totally wrong?)
>>
>>
>>
>> if I get it correctly you're saying that the <ft:aggregate-widget> 
>> after transformation and styling is not showing the top-level 
>> validation errors
> 
> 
> 
> <ft:aggregate-widget/> does not output anything into the stream, that's 
> why validation errors are not shown on it. Either 
> EffectWidgetReplacingPipe needs to be changed, or you can simply use 
> <ft:validation-error/> to position and output aggregate widget's errors.
> 

thx for clearing out Vadim,

given the fact that the positioning remains an issue I think the latter 
is the correct way of working for aggregates that get split out in the 
template

> Vadim
> 

-marc=
-- 
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
mpo@outerthought.org                              mpo@apache.org

Mime
View raw message