Btw. I did some work in this area for the client. We now have localized ajax error messages, for now only english and german, anyone willing to step in for other languages?

Werner


Am 11.01.11 14:00, schrieb Martin Marinschek:
I am always for better error reporting!

best regards,

Martin

On 1/10/11, Jakob Korherr<jakob.korh...@gmail.com>  wrote:
Hi Kocicak,

++++1

Regards,
Jakob

2011/1/10 Martin Koci<martin.kocicak.k...@gmail.com>:

Hi,

the most wanted feature which our coders want is more consistent and
human-readable error reporting and logging. Here is a example:

If user specifies f:ajax without eventName for a component without
defaultEventName, myfaces throw a execption:

Now (myfaces 2.0.3):
eventName could not be defined for f:ajax tag with no wrap mode.



Improved (example only; from my copy of myfaces):

MF0345: Your ajax tag does not specify eventName and component
com.foo.Bazz does not provide the default one. Please use one from
available: [change, blur, focus ...]";

Tag location: XYZ.xhtml line 56 column 23,<f:ajax  ..... />

Component: id: componentId,  class: com.foo.BazzInput, component type:
org.renderkit.Input

ViewId: YYZ.xhml, located in file system
as: /tmp/deploy/weabpp/XYZ.xhtml

PhaseId: RENDER_RESPONSE

Details: ... a detailed description of this problem + suggestions,
example of code.

References:
#  Click for problem MF0345 in MYFACES knowledge database (hypertext
link)
# Contact your technology team : m...@to.me
# If you think this a bug report it: jira.project.org






What do you think about this idea?

(I'll describe our requirements and what I found so far in next emails)


Regards,

Kočičák





--
Jakob Korherr

blog: http://www.jakobk.com
twitter: http://twitter.com/jakobkorherr
work: http://www.irian.at





Reply via email to