[richfaces-issues] [JBoss JIRA] Commented: (RF-11197) Editor resource loading optimization

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Tue Aug 30 07:17:26 EDT 2011


    [ https://issues.jboss.org/browse/RF-11197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625077#comment-12625077 ] 

Lukáš Fryč commented on RF-11197:
---------------------------------

Currently these optimization has been met:
* ckeditor.js has default *'richfaces' skin* integrated, thus it does not need to load 'skins.js'
* *config.js* is not loaded since editor is configured externally

It seems further optimization wouldn't be possible at this point
* *ckeditor.js* needs to be rendered to target=body currently
** since it has to be preceeded by declarartion of CKEDITOR_BASEPATH and CKEDITOR_GETURL and this declaration needs to be interpolated with EL expressions 
* *contents.css* as style definition from editor's iframe needs to be loaded
* *skin- or plugin-dependent resources* (editor.(e)css, icons.png)- they might be loaded when @ResourceDependency(value) might contain EL expressions
* background images for *'richfaces' skin* are not shared with rest of framework components since they are referenced from resource servlet and thus generated URL differs

> Editor resource loading optimization
> ------------------------------------
>
>                 Key: RF-11197
>                 URL: https://issues.jboss.org/browse/RF-11197
>             Project: RichFaces
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.1.0.Milestone1
>            Reporter: Lukáš Fryč
>            Assignee: Lukáš Fryč
>             Fix For: 4.1.0.Milestone2
>
>   Original Estimate: 4 hours
>  Remaining Estimate: 4 hours
>
> Some mandatory editor resources can be loaded using JSF resource dependency in the head of the page.
> Also it seems each load of editor leads into fetching contents.css.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the richfaces-issues mailing list