JBoss Community

JSF error page integration

created by Martin Kočí in JBoss Tools Development - View the full discussion

Hi,

 

there is outgoing effort at myfaces to improve error reporting and handling [1].

 

As part of [2] I want to create on-click navigation from myfaces error page to source file. There are two cases:

1) java code exception / stack trace

2) facelets location (line, column)

 

use case:

- myfaces produce error page with stack trace and location of source element as you can see at screenshot at [3]

- user clicks on the line of the stack trace output -> tools open the source file at relevant line

- user clicks on the source element ("location" words in the screenshot) -> tools open  source facelet file at relevant line/column

 

 

Questions / for discussion:

- is this even doable in eclipse and its embedded browser view?

- what can jboss tools do for it?

- if it not possible to do it in embedded browse, there is still possibillity to do it from  java console view ? Stack trace output is clickable already.

- format produced with myfaces can be changed according to jbtools needs

 

 

 

[1] https://issues.apache.org/jira/browse/MYFACES-3053

[2] https://issues.apache.org/jira/browse/MYFACES-3213

[3] https://issues.apache.org/jira/secure/attachment/12485731/after-v1.png

Reply to this message by going to Community

Start a new discussion in JBoss Tools Development at Community