myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2714) Include uncompressed jsf.js file and use it when development mode is used
Date Fri, 21 May 2010 08:45:16 GMT

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

Werner Punz commented on MYFACES-2714:
--------------------------------------

Ok Leo good news, I found a way to enable the proper eval handling without messing with firefoxes
head.

  _this.globalEval(xhr.responseText + "\r\n//@ sourceURL=" + src);

does the trick, that way you can tell firefox to reparse the original source url and use that
one as source for all
debugging needs, your dom head code now is obsolete, so far this works really well and is
future proof.
Since the old dom based code also only works on fox, I think this solution is better.



> Include uncompressed jsf.js file and use it when development mode is used
> -------------------------------------------------------------------------
>
>                 Key: MYFACES-2714
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2714
>             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, MYFACES-2714-4.patch,
MYFACES-2714-5.patch, MYFACES-2714-6.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.


Mime
View raw message