cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject ValidatorAction cleanup
Date Thu, 12 Jul 2001 19:16:11 GMT
I want to clean up the Validator XSP page.  The reason is that I want
to provide a markup that does not require me to embed <xsp:logic> tags
in my forms.  Basically, it will be tags like the following:

<on-error name="field">
  <warn>Display this message</warn>
</on-error>
<on-toosmall name="name">
  <warn>Name needs to be at least 5 characters</warn>
</on-toosmall>


This cleans up the generated code, and is much more maintainable for the
end user.  Does anyone have any input on preferred semantics?


Also, should this be 2.1 only, or should I make the functionality available
for 2.0 as well?
Mime
View raw message