[Nuxeo-tickets] Re: [Nuxeo Repository] #837: Refactoring CSS and JavaScript declaration

Nuxeo Repository trac at nuxeo.com
Fri Nov 3 14:59:33 CET 2006


#837: Refactoring CSS and JavaScript declaration
-------------------------------+--------------------------------------------
 Reporter:  bdelbosc           |        Owner:  tziade   
     Type:  enhancement        |       Status:  new      
 Priority:  P2                 |    Milestone:  CPS 3.4.3
Component:  CPSDefault         |      Version:  TRUNK    
 Severity:  normal             |   Resolution:           
 Keywords:  css js javascript  |  
-------------------------------+--------------------------------------------
Comment (by scamps):

 In the ticket #1757 I've suggested to include widget javascript
 requeriments in the widget render function itself, so the widget will not
 depend on javascript includes done by the template where it is used.   One
 way to implement that could be to have an "importModule" function, able to
 detect if a javascript file has already included, and loading each file
 just once.   As an example of that way of work, there is the loadScript
 function in CPSPortlets/browser/tree.pt, or the importModule function
 defined in the init.js of jsolait javascript library.

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/837>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.