I think this is really important. This came up during my demo at
JavaOne, and given the fact that we finally have good error reporting
with Facelets, we should strive for that level of detail across the
client as well.
On Wednesday, June 10, 2009, Jim Driscoll <Jim.Driscoll(a)sun.com> wrote:
I'd like to propose that we add a freeform text description field
to the JavaScript event and error payload.
This would allow for user readable descriptions to go along with errors like the infamous
"MalformedXML" error.
I think this could fit into an errata, since:
1) It's got no backward incompatibility impact.
2) It's a single line in the spec.
3) It's (almost) trivial to implement.
and most importantly:
4) We really should have had this in there in the first place, and it's omission was
really more of an oversight than a deliberate choice.
Thoughts?
I've opened up spec issue 570 to track this:
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=570
And yes, I made it a P1.
Jim
--
---
Kito D. Mann -- Author, JavaServer Faces in Action
http://twitter.com/kito99 http://twitter.com/jsfcentral
http://www.virtua.com - JSF/Java EE consulting, training, and mentoring
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
+1 203-404-4848 x3