ICEfaces
  1. ICEfaces
  2. ICE-4418

JavaScript injection functionality

    Details

      Description

      We need to determine the best course for the various use cases. Where JSF 2.0 provides a standard mechanism, we should be using that. Otherwise, we'll need our own strategy. The components are currently using the JavaScriptContext to do a lot of the heavy lifting:

      JavascriptContext?.focus(..);
      JavascriptContext?.includeLib..); this should be replaced with use of the resource API where you can declare resources.
      JavascriptContext?.applicationFocus(..);
      JavascriptContext?.addJavascriptCall(..)

      There should be a JSF 2 API for script injection that can be used for many things. Between this and the resource dependency handling (either JSF 2.0 standard or our own as the case may be), we should be able to all of the required usages.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #21817 Tue Jun 29 09:00:43 MDT 2010 mircea.toma ICE-5830, ICE-4418 Introduce utility class for writing script markup and code.
          Files Changed
          Commit graph ADD /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/render/ScriptWriter.java

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Deryk Sinotte
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: