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<[email protected]>:
> >> 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
> >>
> >>
> >
> >
> >
> 
> 
>  


Reply via email to