cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Savory <and...@luminas.co.uk>
Subject RE: Logging and Form Validation
Date Fri, 07 Jun 2002 20:52:06 GMT

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: andrew@luminas.co.uk
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message