ICEpush
  1. ICEpush
  2. PUSH-33

Add the ability to set the blocking connection context on the JavaScript Bridge

    Details

      Description

      Can we add the ability to set the servlet context of the blocking request/connection handler on the JavaScript Bridge, like we have it in ICEfaces and expose it as a Java method? The default value can be the servlet context of the ICEpush application itself. We used to have it names blockingRequestHandlerContext but if there's another better name then that's fine to.

        Issue Links

          Activity

          Jack Van Ooststroom created issue -
          Hide
          Jack Van Ooststroom added a comment -

          Assigning to Mircea

          Show
          Jack Van Ooststroom added a comment - Assigning to Mircea
          Jack Van Ooststroom made changes -
          Field Original Value New Value
          Assignee Mircea Toma [ mircea.toma ]
          Jack Van Ooststroom made changes -
          Link This issue blocks PUSH-28 [ PUSH-28 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #20619 Fri Feb 12 09:20:07 MST 2010 mircea.toma PUSH-33 Add bridge configuratation paramater that allows prefixing the request URIs. Introduce ConfigurationServer class to generate JS configuration code from context paramaters.
          Files Changed
          Commit graph MODIFY /scratchpads/snowplow/core/src/main/javascript/connection.async.js
          Commit graph ADD /scratchpads/snowplow/core/src/main/java/org/icepush/ConfigurationServer.java
          Commit graph MODIFY /scratchpads/snowplow/core/src/main/javascript/application.js
          Commit graph MODIFY /scratchpads/snowplow/core/src/main/java/org/icepush/servlet/MainServlet.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #20622 Fri Feb 12 09:43:12 MST 2010 mircea.toma PUSH-33 Update Glimmer to use new configuration parameter.
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
          Commit graph MODIFY /icefaces/scratchpads/glimmer/lib/icepush.jar
          Hide
          Mircea Toma added a comment -

          Add bridge configuratation paramater that allows prefixing the request URIs. Introduce ConfigurationServer class to generate JS configuration code from context paramaters.

          Show
          Mircea Toma added a comment - Add bridge configuratation paramater that allows prefixing the request URIs. Introduce ConfigurationServer class to generate JS configuration code from context paramaters.
          Mircea Toma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Mircea Toma added a comment - - edited

          For now there are two context parameters that can be used to configure the bridge:

          org.icepush.uriPrefix - prefix inserted before the bridge hardcoded paths, defaults to ""
          org.icepush.uriSuffix - suffix appended after the bridge hardcoded paths, defaults to ""

          To activate the bridge configuration the page referencing the bridge code will also have to add a second reference to the configuration script:

          <script src="configuration.icepush" type="text/javascript"></script>

          Show
          Mircea Toma added a comment - - edited For now there are two context parameters that can be used to configure the bridge: org.icepush.uriPrefix - prefix inserted before the bridge hardcoded paths, defaults to "" org.icepush.uriSuffix - suffix appended after the bridge hardcoded paths, defaults to "" To activate the bridge configuration the page referencing the bridge code will also have to add a second reference to the configuration script: <script src="configuration.icepush" type="text/javascript"></script>
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #20703 Fri Feb 19 07:17:28 MST 2010 mircea.toma PUSH-33 Fix URI calculation.
          Files Changed
          Commit graph MODIFY /scratchpads/snowplow/core/src/main/javascript/application.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #20745 Mon Feb 22 16:24:21 MST 2010 mircea.toma PUSH-33 Fix ICEpush configuration.
          Files Changed
          Commit graph MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
          Ken Fyten made changes -
          Fix Version/s 2.0.0 [ 10233 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Jack Van Ooststroom
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: