BraintreeCard composite component is used to display the braintree card element.
The component itself 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 of the braintree payment gateway. | |
columnClasses | false | String | ui-grid-col-12 | ||
Name | Required | Type | Default | Description | |
columnClassesComma 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 | Label key that is defined in translation properties file and its translation 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 | The name of the client side callback to execute 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
|