myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <>
Subject [jira] Commented: (MYFACES-2714) Include uncompressed jsf.js file and use it when development mode is used
Date Mon, 17 May 2010 11:51:42 GMT


Werner Punz commented on MYFACES-2714:

Ok I did a quick mockup of the loading mechanism
it mostly works fine however firebug after the internal eval drops all carriage returns so
that the scripts
which are loaded that way are impossible to debug.
So for now until I know the cause of this, I would recommend leos original approach
of loading one big js file or making a set of direct include links.
Nevertheless for testing here is my testcase

    <script type="text/javascript" src="#{resource['scripts:/myfaces/_impl/core/_Runtime.js']}"></script>
    <script type="text/javascript">
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");
null, null, "UTF-8");


Anyway unless I can resolve that carriage return issue, this approach at least for debugging
porposes is not possible to use.

> Include uncompressed jsf.js file and use it when development mode is used
> -------------------------------------------------------------------------
>                 Key: MYFACES-2714
>                 URL:
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-314
>    Affects Versions: 2.0.0
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>         Attachments: MYFACES-2714-2.patch, MYFACES-2714-3.patch
> Reading some blogs about jsf 2.0, I notice mojarra include an uncompressed jsf.js file
and use it when development mode is used. It is difficult to debug myfaces javascript for
users and I think it is worth to do it too.

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

View raw message