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

2022-10-20 Thread Werner Punz (Jira)


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

Werner Punz commented on MYFACES-4487:
--

Fixed in the branch by adding another chained resource loader

the map file transformation is only active on the faces.js resource and only in 
development mode

> 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
>Assignee: Werner Punz
>Priority: Major
> Fix For: 4.0.0-RC3
>
>
> 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)


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

2022-10-20 Thread Werner Punz (Jira)


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

Werner Punz commented on MYFACES-4487:
--

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)