You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Martin Koci <ma...@gmail.com> on 2011/07/08 14:11:44 UTC
[core] Improve error reporting and logging / General ErrorPage
improvements (MYFACES-3213)
Hi,
please see attached screenshots at [1] and let me know what you think.
What info do you find useful during development (and debugging) ?
Thanks,
Kočičák
[1] https://issues.apache.org/jira/browse/MYFACES-3213
Re: [core] Improve error reporting and logging / General ErrorPage
improvements (MYFACES-3213)
Posted by Martin Koci <ma...@gmail.com>.
Summary of proposed changes for ErrorPage:
In header:
- viewId,
- location of facelet in filesystem
- PhaseId
In body:
- info about component (that triggered the problem)
- EL expression being evaluated, it's location, name of attribute/value
pair
- caused by: output first line of StackTrace (no need to expand stack
trace panel)
More ideas:
-- if exception comes from VDL.buildView (FaceletException), output info
about it - it can happen in restore or render phase
-- one click navigation to source: I'll try to find how to navigate from
error page direct to source. This of course need support from IDE - I'll
try it for eclipse. Now it is possible to navigate from java console: if
IDE sees stack trace com.foo.bazz.Bean(Bean.java 140) it is possible to
click it and IDE opens source file. But I want this feature for myfaces
error page (running in embedded browser) and for facelets files too
(line/column). Do you know if others IDEs (JDeveloper, NetBeans, IDEA)
have such feature?
Do you have others ideas how to improve error page?
Regards,
Kočičák
Werner Punz píše v Pá 08. 07. 2011 v 15:08 +0200:
> Yes +1 from me as well this is awesome.
>
> Werner
>
>
> Am 08.07.11 14:56, schrieb Jakob Korherr:
> > Hi,
> >
> > Very nice! +1 on committing that.
> >
> > Regards,
> > Jakob
> >
> > 2011/7/8 Martin Koci<ma...@gmail.com>:
> >> Hi,
> >>
> >>
> >> please see attached screenshots at [1] and let me know what you think.
> >> What info do you find useful during development (and debugging) ?
> >>
> >> Thanks,
> >>
> >> Kočičák
> >>
> >> [1] https://issues.apache.org/jira/browse/MYFACES-3213
> >>
> >>
> >
> >
> >
>
>
>
Re: [core] Improve error reporting and logging / General ErrorPage
improvements (MYFACES-3213)
Posted by Werner Punz <we...@gmail.com>.
Yes +1 from me as well this is awesome.
Werner
Am 08.07.11 14:56, schrieb Jakob Korherr:
> Hi,
>
> Very nice! +1 on committing that.
>
> Regards,
> Jakob
>
> 2011/7/8 Martin Koci<ma...@gmail.com>:
>> Hi,
>>
>>
>> please see attached screenshots at [1] and let me know what you think.
>> What info do you find useful during development (and debugging) ?
>>
>> Thanks,
>>
>> Kočičák
>>
>> [1] https://issues.apache.org/jira/browse/MYFACES-3213
>>
>>
>
>
>
Re: [core] Improve error reporting and logging / General ErrorPage
improvements (MYFACES-3213)
Posted by Jakob Korherr <ja...@gmail.com>.
Hi,
Very nice! +1 on committing that.
Regards,
Jakob
2011/7/8 Martin Koci <ma...@gmail.com>:
> Hi,
>
>
> please see attached screenshots at [1] and let me know what you think.
> What info do you find useful during development (and debugging) ?
>
> Thanks,
>
> Kočičák
>
> [1] https://issues.apache.org/jira/browse/MYFACES-3213
>
>
--
Jakob Korherr
blog: http://www.jakobk.com
twitter: http://twitter.com/jakobkorherr
work: http://www.irian.at