You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Werner Punz (Jira)" <de...@myfaces.apache.org> on 2022/10/20 09:59:00 UTC

[jira] [Comment Edited] (MYFACES-4487) faces.js/ts new codebase, improve mapping handling

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

Werner Punz edited comment on MYFACES-4487 at 10/20/22 9:58 AM:
----------------------------------------------------------------

I have the resource wrapper now working in my github project which does the mapping file remapping. We probably do not even have to document it. As far as I recall there already is a chain active in the impl code where we can add the wrapper for dev mode (prod mode for now will not get any mapping file support, probably unwanted for prod due to causing extra requests)

 


was (Author: werpu):
I have the resource wrapper now working which does the mapping file remapping. We probably do not even have to document it. As far as I recall there already is a chain active in the impl code where we can add the wrapper for dev mode (prod mode for now will not get any mapping file support, probably unwanted for prod due to causing extra requests)

 

> faces.js/ts new codebase, improve mapping handling
> --------------------------------------------------
>
>                 Key: MYFACES-4487
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4487
>             Project: MyFaces Core
>          Issue Type: New Feature
>            Reporter: Werner Punz
>            Priority: Major
>
> In our git pull request we use a specialized Faces servlet mapping jsf_map to enable the mapping functionality.
> Now this is suboptimal, if we do not enable this mapping we still get errors in the browser log that a mapping file could not be loaded.
> A better way would be to provide the functionality probably is a switchable resource handler, wich adds the mapping info depending on the request data.
> This must be documented one way or the other that we have this functionality once merged.
> (Impl functionality)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)