EL Variables

Table of Contents

EL Variables

ICEfaces makes available EL variables to the page developers to help controlling what parts of the page should be made visible to the user or control how the widgets are styled.

iceBrowser variable

This request scoped EL variable provides information about what kind of browser made the request to the page.

Usage:

Request received from a
<h:outputText value="Chrome browser" rendered=#{iceBrowser.chromeBrowser}/>
<h:outputText value="Safari iOS browser" rendered=#{iceBrowser.iOS}/>

Variable parameters:

  • userAgent

    The user agent string

  • androidOS

    The browser is installed on a Android device

  • blackBerryOS

    The browser is installed on a BlackBerry device

  • iEBrowser

    The browser is Internet Explorer

  • iE8OrLessBrowser

    The browser is Internet Explorer version 8.0 or less

  • iE9Browser

    The browser is Internet Explorer version 9.0

  • iE9OrLessBrowser

    The browser is Internet Explorer version 9.0 or less

  • iE10Browser

    The browser is Internet Explorer version 10.0

  • iOS

    The browser is installed on a iOS device

  • iOS5

    The browser is installed on a iOS 5 device

  • iOS6

    The browser is installed on a iOS 6 device

  • iOS7

    The browser is installed on a iOS 7 device

  • iOS8

    The browser is installed on a iOS 8 device

  • tabletBrowser

    The browser is installed on a tablet device

  • handheldBrowser

    The browser is installed on a smartphone device

  • desktopBrowser

    The browser is installed on a desktop device

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2021 ICEsoft Technologies Canada Corp.