myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Rewording "There should always be a submitted value for an input if it is rendered, its form is submitted, and it is not disabled or read-only."
Date Thu, 29 Mar 2007 16:02:05 GMT
If the input for a component is set to disabled via javascript, the
following warning occurs.

"There should always be a submitted value for an input if it is
rendered, its form is submitted, and it is not disabled or read-only."

This is not true if the component is set to read-only via javascript.
I don't think the error above is clear.

Explanation of what's happening underneath here:
http://webdesign.about.com/od/forms/a/aa071805.htm

Perhaps it should be rewritten as:

"There should always be a submitted value for an input if it is
rendered and its form is submitted.  You cannot submit a form after
disabling an input element via javascript.  Consider using read-only
instead or resetting the disabled value back to false prior to form
submission."

I'm going to start with this, but I'd like to have someone else
confirm that this is a better solution.

https://issues.apache.org/jira/browse/MYFACES-1569

Mime
View raw message