I don't see a point of defining a pattern on the default String datatype.
If you specify a string and do not assign it a different
datatype/guitype, it will, by default, have this pattern associated.
Whether that pattern is enforced or not is immaterial imo - a default,
base datatype should not have any unnecessary restrictions.
That the default representation of a string is an input box instead of a
textarea is not of interest here.
I prefer Nico's solution, to add a 'line' datatype, and let 'string' be
unrestricted.
--
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"One in a million chances pop up nine times out of ten."
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers