You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mark Shifman <ma...@yale.edu> on 2004/07/13 14:58:08 UTC
multiple struts-config.xml and validator.xml files for dealing with
"stories"
Ted Husted wrote:
>For a large, heavy-duty-input data-driven web application, I would recommend C.
>
>
>
>> C) [Conventional class] is NOT used, data form validation is defined within the
>> validation.xml and handled by struts, the Action class (or some
>> surrogate) then enforces all business rules.
>>
>>
>
>I've had deep discussions with other large teams in similar circumstances, and the consensus has been that (C) is the most safe, sane, and simple route.
>
>I would also recommend finely-grained DynaValidatorForms to ensure only the expected properties are captured and validated.
>
>Nowadays, I also use finely-grained Struts configs, so that each "pageflow" or "story" is represented by its own struts-config.xml and validator.xml. This requires a strong naming convention to be sure the members of each config overlaps, but it makes it very easy to work with each use-case or story independently.
>
>
>
Do you have an example which uses multiple struts-config.xml and
validator.xml files for dealing with "stories"?
...
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org