crm:switchLanguage
Overview
The <crm:switchLanguage> tag is used to display a language component on the page with translatable fields.
Attributes
Name | Required | Type | Default | Description |
---|---|---|---|---|
dataObject | true | Object | null | The data object of the component. |
id | false | String | null | Unique identifier of the component. |
labelKey | false | String | key_switch_language | A valid key defined in translation properties file. Its translation through the glossary will be used as the presentable name of the component. |
managedBean | true | String | null | The name of the Java managed bean class that will be used for retrieving the component values. |
onChangeFunction | false | String | setTranslations | Defines the function call triggered when input element loses focus and its value has been modified since gaining focus. |
parameters | false | String | null | Defines the parameter of the function call. |
process | false | String | @this and the value of the refresh attribute | Component(s) to process in partial request. |
refresh | false | String | @form | Component(s) to update with ajax. |
styleClass | false | String | pull-right | Style class of the component. |
tip | false | String | key_tooltip_contact_information_preferred_language | A valid key defined in translation properties file. Its translation through the glossary will be used as an advisory tooltip information. |
Getting Started
The following example shows an attachment component both in view as well as edit mode.