GBC 1.00.47 new features and upgrade notes

A summary of new features and changes in functionality introduced with Genero Browser Client (GBC) 1.00.47. Note the changes you may need to make when moving to this version of the GBC.

Important:

This version of GBC is desupported, use a more recent version of the product.

Important:

This page covers only those new features introduced with the Genero Browser Client version specified in the page title. Check prior new features pages if you migrate from an earlier version.

For a detailed list of GBC 1.00.47 changes, please refer to the list of fixes on our issue tracker.

Mobile Widgets

When using the mobile theme, some widgets now use a native picker to handle their values:

Widget native input type Comment
DateEdit date See presentation styles (4st) limitations below.
DateTimeEdit datetime-local See presentation styles (4st) limitations below.
TimeEdit time Will only display hour and minutes.
SpinEdit number Will open a numeric virtual keyboard.

Limitations: Since a native picker cannot be customized, the presentation styles (4st) for the DateEdit and DateTimeEdit widgets will not work on mobile. These styles include:

  • calendarType
  • daysOff
  • firstDayOfWeek
  • showcurrentMonthOnly
  • showGrid
  • showWeekNumber

For further information about widgets, see Customizing your application using widgets.

The display format will depend on the device settings.

Widget instantiation

You can override instantiation of widgets by customizing the widget factory. In the file theme.config.json of your theme, use the "widgetFactory" entry:

{
"widgetFactory": {
    "DateEdit": "cls.MyDateEditWidget",
    "SpinEdit": "cls.MyCustomSpinerWidget"
  }
}

This allows you to change all new instances of the given widgets to the ones defined in this theme. See theme.config.json file for further details.

Frontcall API for Themes

A new front call module theme has been added to manage themes with three functions:

  • setTheme to activate a given theme. This method takes a theme name as parameter.
  • getCurrentTheme to get the active theme.
  • listThemes to list all available themes.

Tablet and Phone conditions for Themes

Two new conditions have been added to distinguish mobile phones from tablets: isPhone and isTablet. They can be used in the conditions section of a theme.config.json file. For further information, see Theme conditions.

Accessibility: high contrast theme

Starting with this version, we provide a high contrast theme which is compliant with web accessibility standards and best practices. This theme increases font size and widget size, add contrasts on colors, and displays borders on widgets in order to clearly distinguish them. This theme definition is located in theme\colors\highcontrast\theme.scss.json. It can be customized to meet your specific needs.

Folder presentation style (4st): position=accordion

The position style attribute supports a value of "accordion". When set, the folder pages render as an accordion, where only one folder page will be visible at a time to fit with the folder global behavior.