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

Werner Punz commented on MYFACES-2858:
--------------------------------------

Ok the isolation so far works here, but I also want a compressed uncompressed 
version like we have for jsf.js, it is a 60% filesize difference between 
those two.
The second issue is, I have the same problem as with jsf.js if inline rendered 
already and included in a ppr case we do not habe any suppression
on the server side hence the script gets aloaded anew in auto eval cases 
(mozilla)


> pointless oamsubmit inline rendering
> ------------------------------------
>
>                 Key: MYFACES-2858
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2858
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.2-SNAPSHOT
>            Reporter: Werner Punz
>
> We have had several functions rendered inline for ages, namely 
> appendHiddenInput oamSubmit, the autoscroll stuff etc...
> I personally think the rendering of those functions as inline scripts is 
> pointless, blows up the browsers tremendously and
> prevents that the affected scripts can be browser cached.
> A quick look at the code revealed that there is basically nothing which would 
> prevent to externalize the scripts. My main problem is where to we handle the 
> auto append code.
> My personal guess is we probably simply should add it as a resource 
> definitions to the commandLink, Button etc.. renderers, any ideas regarding 
> this?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to