ui:client-configuration-message

Purpose

Contains a message to be displayed if the user has their browser configured in a specific way.

Please note that MCS verifies the state of the browser settings while loading a page, and therefore if the user changes the settings after the page was loaded, the page will need to be reloaded.

Contains

Attributes

Attribute Description Type Default Options Use
options

A configurable option that can affect page rendering. The following values are supported: smartfit.

The SmartFit option, available in NetFront browsers, adapts web pages to the device screen. However, XDIME pages (especially those that utilize the Client Framework 2 components) may not work properly on devices that have the SmartFit option enabled. The value of 'smartfit' allows page authors to specify content to be displayed if and only if the target device has the SmartFit option enabled.

xs:string smartfit  required 

Attribute groups

Examples

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/2002/06/xhtml2"
  xmlns:ui="http://www.volantis.com/xmlns/2009/07/cf2/ui">
  <head>
    <title>ui:client-configuration-message</title>
  </head>
  <body>
    <div>
      <div>
        <ui:client-configuration-message options="smartfit">
          <p>Please disable the SmartFit option</p>
        </ui:client-configuration-message>
      </div>
      <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In at ligula et lacus fringilla
        tempus in id enim. </div>
    </div>
  </body>
</html>

Related topics