Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Is there optional SmartClient runtime files that I can exclude?

    Hello,
    We are currently using SmartGWTPro 2.4.
    My boss is pointing out large size of JavaScript files having to load for the first time.
    Is there a way not to include some of the JavaScripts from SmartClient library in our distributive. For example we are not using RichTextEditor, so can we exclude ISC_RichTextEditor.js completely from our distribution?
    Is there a chance to skip ISC_Forms.js as well If we are using just ListGrid and it's editing capabilities?

    #2
    The first thing to focus on is making sure you deliver the files compressed, and with correct cache settings so that each user downloads them once ever. This is automatic when using the FileDownload servlet included in Pro and above.

    By inheriting the SmartGWTNoScript module you can avoid loading the ISC_RichTextEditor.js. You need ISC_Form.js if you are using inline editing in grids (it's the same set of controls and value management logic).

    Comment

    Working...
    X