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

Werner Punz edited comment on MYFACES-2714 at 5/15/10 6:08 AM:
---------------------------------------------------------------

Actually lets do it step by step, first get Leos big combined file as debug 
file in, once I have ext-scripting 1.0 out (which is currently the next todo on
my list) we
can work on the other more fine grained solution, after all, there is no rush 
to do this.
If anyone wants to start to work on this, feel free, after all this is 
opensource code, everyone can lay their hands on it.

Anyway here is my idea how to solve that, what we need and what I am going to 
provided asap
is auto dependency resolution, similar to dojo require or yuis namespace 
resolution.

Hence once we have this working all which is needed is to include a single file 
which loads the runtime
and then does a require to jsf.js) the rest should be done by the dependency 
resolution system.

This should be fairly straight forward to implement since we already have most 
puzzle pieces in place like
the namespace handling and the dynamic loading of javascript, it just needs the 
Runtime.require(<namespace>) glue in between and some additional attributes in 
the config for the charset the basepath and maybe a mapping scheme to make it 
compatible with the jsf resource loading.

But as I said, let me get ext-scripting out of the door first, which I have 
postponed due to the more important fixes for jsf.js then we can tackle the 
auto dependency resolution for debugging mode.





      was (Author: werpu):
    Actually lets do it step by step, first get Leos big combined file as debug 
file in, once I have ext-scripting 1.0 out (which is currently the next todo onm
y list) we
can work on the other more fine grained solution, after all, there is no rush 
to do this.
If anyone wants to start to work on this, feel free, after all this is 
opensource code, everyone can lay their hands on it.

Cheers

Werner


  
> 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
>
>
> 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.

Reply via email to