Hi,
On Fri, 7 Jun 2002, Luca Morandini wrote: > wait: how many users out there are without JavaScript support ? Irrelevant question - if there is only one user without javascript support, you should support that user, surely? The point of the web being accessibility and the point of a web developer being to develop for the *web* and not for specific web browsers? It's frustrating that people are STILL assuming support for X, Y and Z in browsers even after so many years of browser wars. </rant> > I won't write both validations, I don't simply cater to people wihout > Javascript... and I wonder how many developers pay attention to those > unlucky fellows. Well, if you're lucky enough to have clients that are happy with sites that only do client-side validation that only works in specific browsers with specific options enabled, fair enough. I could rant on here about text-mode browsers, line readers, security-conscious users that surf with scripting turned off, etc, but given you're using Cocoon, I'm sure you know how easy it is to provide support for these other browsers simply by adding more stylesheets ;-) Adam: in answer to your question, take a look at: src/webapp/docs/samples/formvalidation/descriptor.xml ...which gives a nice example of doing form validation using XML descriptors. See also: http://xml.apache.org/cocoon/xmlform/step2-xmlform-howto.html ...for the new way of doing things. Hope that helps, Andrew. -- Andrew Savory Email: [EMAIL PROTECTED] Managing Director Tel: +44 (0)870 741 6658 Luminas Internet Applications Fax: +44 (0)700 598 1135 This is not an official statement or order. Web: www.luminas.co.uk --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>