This composite component is used to display a braintree card element on the page.
It is accessed through the <crm:braintreeCard> tag and is defined in the xmlns namespace with the declaration xmlns:em="http://java.sun.com/jsf/composite/crm".
Attributes
Name | Required | Type | Default | Description |
---|---|---|---|---|
braintreeTokenizationKey | false | String | The Braintree Tokenization Key that is defined in General Parameters of the Braintree Payment Gateway. | The tokenization key that is used to authorize an account to tokenize payment information of the Braintree Payment Gateway. |
columnClasses | false | String | ui-grid-col-12 | Comma separated list of column style classes of the gird layout that will be used to display the component. |
columns | false | Integer | 1 | Number of columns of the gird layout that will be used to display the component. |
dataObject | false | Object | null | The data object of the component . |
id | false | String | null | Unique identifier of the component. |
labelKey | false | String | key_verify | A valid key defined in translation properties file. Its translation through the glossary will be used as the verify button text. |
managedBean | false | String | null | The name of the managed bean that will be used for retrieving the component values. |
mode | false | String | The mode of the managed bean. | The mode of the component. Allowed values are VIEW and EDIT. |
onChangeFunction | false | String | null | Defines the function call triggered when input element loses focus and its value has been modified since gaining focus. |
refresh | false | String | null | Component(s) to update with ajax. |
visible | false | Boolean | true | Controls the visibility of the component. |
Examples
JSF Page
|
Managed Bean
|