cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Linden H van der (MI)" <>
Subject RE: [CForms] conditional "required" attribute needed or a "better" solution
Date Fri, 15 Apr 2005 13:01:50 GMT
> What about a custom validator?

Sounds like a good idea, but I have no clue how to do this in a generic
way. The next XML fragment could have the value defined as a set of
elements, e.g.:

<name nullFlavor="NI"/>


  <given qualifier="first">John</given>
  <given qualifier="initial">L.</given>

How to handle both (the telecomaddress with it's value as an attribute
and the name with it's value as a set of elements) without writing
custom classes for everything?

Bye, Helma

View raw message