ICEfaces
  1. ICEfaces
  2. ICE-9877

Add new "iceBrowser" client descriptor EL variable

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 4
    • Assignee Priority:
      P1
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial, Compatibility/Configuration

      Description

      One of the useful things we have in ICEmobile that we haven’t ported over to the IF4 yet is the ClientDescriptor implicit variable. In IM, you can use #{mobiClient} on the page to resolve to this utility and customize rendering at a finer-level than by just using the <mobi:small> and <mobi:large> tags. eg.

      <span>#{mobiClient.IE8orLess ? ‘Please stop making our lives miserable’ : ‘Welcome to the Showcase!’}</span>

      I think it would be good to port this to IF4, but it’s not really mobile-specific, so maybe it should be brought into core and named something more generic? ‘iceClient’? ‘iceBrowser’? It has to be unique enough not conflict with other bean names that might exist.

        Activity

        Ken Fyten created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s 4.0 [ 10770 ]
        Affects Documentation (User Guide, Ref. Guide, etc.),Sample App./Tutorial,Compatibility/Configuration [ 10003, 10001, 10002 ]
        Assignee Priority P2 [ 10011 ]
        Show
        Philip Breau added a comment - Current class is located at http://dev.icesoft.com/svn/ossrepo/icemobile/trunk/icemobile/jsf/components/component/src/org/icemobile/component/impl/event/MobiClientVariableListener.java
        Mircea Toma made changes -
        Assignee Priority P2 [ 10011 ] P1 [ 10010 ]
        Ken Fyten made changes -
        Summary Add new "iceClient" client descriptor EL variable Add new "iceBrowser" client descriptor EL variable
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Fix Version/s 4.0.BETA [ 10770 ]
        Hide
        Mircea Toma added a comment -

        Updated UserAgentInfo and ClientDescriptor classes to include functionality residing in their duplicating (and triplicating classes) found in other packages. Introduced ClientDescriptorSetup that binds the 'iceBrowser' EL variable. Refactored mobi code to use the ClientDescriptor defined in org.icefaces.util package.

        Show
        Mircea Toma added a comment - Updated UserAgentInfo and ClientDescriptor classes to include functionality residing in their duplicating (and triplicating classes) found in other packages. Introduced ClientDescriptorSetup that binds the 'iceBrowser' EL variable. Refactored mobi code to use the ClientDescriptor defined in org.icefaces.util package.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40408 Mon Mar 24 16:45:43 MDT 2014 mircea.toma ICE-9877 Updated UserAgentInfo and ClientDescriptor classes to include functionality residing in their duplicating (and triplicating classes) found in other packages. Introduced ClientDescriptorSetup that binds the 'iceBrowser' EL variable. Refactored mobi code to use the ClientDescriptor defined in org.icefaces.util package.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/augmentedreality/augmentedreality-example.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/splitpane/SplitPane.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/flipswitch/FlipSwitchRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/augmentedreality/AugmentedRealityRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/Camera.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/api/IMobiComponent.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/deviceresource/DeviceResourceRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/microphone/Microphone.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/renderkit/BaseCoreRenderer.java
        Commit graph DEL /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/UserAgentInfo.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/util/MobiJSFUtils.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/geolocation/GeolocationRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/scan/Scan.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntryRenderer.java
        Commit graph DEL /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/ClientDescriptor.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/fetchcontact/FetchContactRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/Utils.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/videoplayer/VideoPlayer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/geolocation/geolocation-example.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/mobi/geolocation/GeoLocationBean.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/scan/scan-example.xhtml
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camera/CameraRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/util/Utils.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/thumbnail/ThumbnailRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/util/UserAgentInfo.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/util/MediaPlayerUtils.java
        Commit graph ADD /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/util/ClientDescriptor.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/renderkit/ContactListCoreRenderer.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/util/CSSUtils.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/dataview/DataView.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/fetchcontact/FetchContact.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/thumbnail/Thumbnail.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/core/src/main/resources/META-INF/faces-config.xml
        Commit graph ADD /icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/ClientDescriptorSetup.java
        Commit graph MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/camcorder/Camcorder.java
        Hide
        Mircea Toma added a comment -

        The showcase application can be used to test the functionality of this EL variable. The following test pages for mobi components are using the variable: "Augumented Reality", "Geolocation", and "Scan".

        Show
        Mircea Toma added a comment - The showcase application can be used to test the functionality of this EL variable. The following test pages for mobi components are using the variable: "Augumented Reality", "Geolocation", and "Scan".
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: