[jboss-dev-forums] [JBoss Tools Development] - JSF error page integration

Martin Kočí do-not-reply at jboss.com
Mon Jul 11 14:08:33 EDT 2011


Martin Kočí [http://community.jboss.org/people/markoc50] created the discussion

"JSF error page integration"

To view the discussion, visit: http://community.jboss.org/message/614519#614519

--------------------------------------------------------------
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 https://issues.apache.org/jira/browse/MYFACES-3053
[2]  https://issues.apache.org/jira/browse/MYFACES-3213 https://issues.apache.org/jira/browse/MYFACES-3213
[3]  https://issues.apache.org/jira/secure/attachment/12485731/after-v1.png https://issues.apache.org/jira/secure/attachment/12485731/after-v1.png
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/614519#614519]

Start a new discussion in JBoss Tools Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2129]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110711/5033a8c8/attachment.html 


More information about the jboss-dev-forums mailing list