ICEfaces
  1. ICEfaces
  2. ICE-5830

New JavaScript context API for adding Component JavaScript to the DOM

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2.0, Sparkle component platform
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      Currently, Sparkle components are "manually" rendering their Script tags inside a <SPAN> tag in the renderer. Since this is a very common requirement for the component, Ted suggests we consider using a bridge API to render the script in a span instead, such as JavaScriptContext, instead of rendering the JS Spans directly in the comp. renderer. \

      This may require adding APIs to support the req. of the components in terms of timing of execution of the JS, including detection of whether the component has changed. At a minimum, the rendering of the embedded SPAN tag + JS tag should be factored into a utility method.

        Issue Links

          Activity

          Ken Fyten created issue -
          Ken Fyten made changes -
          Field Original Value New Value
          Salesforce Case []
          Fix Version/s 2.0-Beta [ 10231 ]
          Affects [Documentation (User Guide, Ref. Guide, etc.)]
          Assignee Priority P2
          Assignee Mircea Toma [ mircea.toma ]
          Mircea Toma made changes -
          Link This issue blocks ICE-4418 [ ICE-4418 ]
          Mircea Toma made changes -
          Link This issue blocks ICE-4418 [ ICE-4418 ]
          Mircea Toma made changes -
          Link This issue duplicates ICE-4418 [ ICE-4418 ]
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Priority P2 P1
          Assignee Mircea Toma [ mircea.toma ] Mark Collette [ mark.collette ]
          Ken Fyten made changes -
          Salesforce Case []
          Component/s Components [ 10012 ]
          Component/s Bridge [ 10011 ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Mark Collette [ mark.collette ] Greg Dick [ greg.dick ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Greg Dick [ greg.dick ] Yip Ng [ yip.ng ]
          yip.ng made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Security Private [ 10001 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.0-Beta2 [ 10242 ]
          Fix Version/s 2.0-Beta1 [ 10231 ]
          Assignee Priority P1
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10230 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              yip.ng
              Reporter:
              Ken Fyten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: