EL Variables

Version 1 by Mircea Toma
on Dec 01, 2014 10:50.


 
compared with
Current by Mircea Toma
on Dec 01, 2014 11:00.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 3 changes. View first change.

 h4. 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.
  
 h5. *iceBrowser* variable
  h5. _*iceBrowser*_ variable
  
 This request scoped EL variable provides information about what kind of browser made the request to the page.
  
 _Usage:_
 {code}
 Request received from a
 <h:outputText value="Chrome browser" rendered=#{iceBrowser.chromeBrowser}/>
<h:outputText value="Safari iOS browser" rendered=#{iceBrowser.IOS}/>
  <h:outputText value="Safari iOS browser" rendered=#{iceBrowser.iOS}/>
 {code}
 _Variable parameters:_
  
 * userAgent
 bq. The user agent string
  
 * androidOS
 bq. The user agent string
  bq. The browser is installed on a Android device
  
 * blackBerryOS
 bq. The browser is installed on a BlackBerry device
  
 * iEBrowser
 bq. The browser is Internet Explorer
  
 * iE8OrLessBrowser
 bq. The browser is Internet Explorer version 8.0 or less
  
 * iE9Browser
 bq. The browser is Internet Explorer version 9.0
  
 * iE9OrLessBrowser
 bq. The browser is Internet Explorer version 9.0 or less
  
 * iE10Browser
 bq. The browser is Internet Explorer version 10.0
  
 * iOS
 bq. The browser is installed on a iOS device
  
 * iOS5
 bq. The browser is installed on a iOS 5 device
  
 * iOS6
 bq. The browser is installed on a iOS 6 device
  
 * iOS7
 bq. The browser is installed on a iOS 7 device
  
 * iOS8
 bq. The browser is installed on a iOS 8 device
  
 * tabletBrowser
 bq. The browser is installed on a tablet device
  
 * handheldBrowser
 bq. The browser is installed on a smartphone device
  
 * desktopBrowser
 bq. The browser is installed on a desktop device
  

© Copyright 2021 ICEsoft Technologies Canada Corp.