[ 
https://issues.apache.org/jira/browse/MYFACES-3221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16140968#comment-16140968
 ] 

Thomas Andraschko commented on MYFACES-3221:
--------------------------------------------

6 Years without progress -> will remove the used classes.

> Create and use structure for facelets Location and TagAttribute-aware 
> exceptions
> --------------------------------------------------------------------------------
>
>                 Key: MYFACES-3221
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3221
>             Project: MyFaces Core
>          Issue Type: Sub-task
>          Components: General
>            Reporter: Martin Kočí
>            Assignee: Martin Kočí
>            Priority: Minor
>         Attachments: MYFACES-3221-draft.patch, MYFACES-3221.patch
>
>
> This can be considered as continuation of MYFACES-3202. Implements 
> requirement "any time there is an error the user should see not just a 
> cryptic stack  trace, but the EL expression that was being evaluated -   
> including the part of the EL expression that triggered the problem"
> Example:
> <f:actionListener type="com.foo.Bazz" /> is represented as 
> org.apache.myfaces.view.facelets.tag.jsf.core.ValueChangeListenerHandler.LazyValueChangeListener
>  instance. But if look in code, you see simple 
> valueChangeListener.processValueChange(event); without try catch. If 
> exception occurs, no facelets Location or  TagAttribute context is available 
> and therefore exception handling mechanism is not able to output info about 
> problematic XML tag.
> Use types created as part of MYFACES-3202 (ContextAware, LocationAware .. ); 
> create something like ExecuteTemplate and ExecuteCallback and perform all 
> operation with proper context.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to