On 10/29/06, Simon Kitching <[EMAIL PROTECTED]> wrote:
Actually, that hasn't been my experience. Fields that are *disabled* will not be included in the POST, but if a field is not disabled, but is readonly, it should still be included. (That's what the HTML spec requires, too.)
I don't know whether the behaviour you see with the normal one
(required=true causes error for components when readonly=true) also
applies to Sun's JSF implementation but I wouldn't be at all surprised.
Web browsers don't send data back unless the field is editable, and if
the JSF implementation (of any brand) doesn't see data for a required
field then it has to complain.
Actually, that hasn't been my experience. Fields that are *disabled* will not be included in the POST, but if a field is not disabled, but is readonly, it should still be included. (That's what the HTML spec requires, too.)
Craig

