Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
This component is

Overview

The <crm:braintreeCard> tag is used to display a braintree card element on the page.

Info

Tag<crm:braintreeCard>XML Namespacehttp://java.sun.com/jsf/composite/crm

Image Added

Attributes

NameRequiredTypeDefaultDescription
braintreeTokenizationKeyfalseStringThe 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.

columnClassesfalseStringui-grid-col-12

Comma separated list of column style classes of the gird layout that will be used to display the component.

Note

Column style class should be prefixed with ui-grid-col- and suffixed with the number of columns that content will take (out of 12).

For example, for two columns with the same size the columnClasses should be "ui-grid-col-6,ui-grid-col-6".


columnsfalseInteger1Number of columns of the gird layout that will be used to display the component.
dataObjecttrueObjectnullThe data object of the component.
idtrueStringnullUnique identifier of the component.
labelKeyfalseStringkey_verify

A valid key defined in translation properties file. Its translation through the glossary will be used as the verify button text.

managedBeantrueStringnullThe name of the Java managed bean that class that will be used for retrieving the component values.
modefalseStringThe mode of the managed bean.

The mode of the component.

Note

Allowed values are VIEW and EDIT.


onChangeFunctiontrueStringnull

Defines the function call triggered when input element loses focus and its value has been modified since gaining focus.

refreshfalseStringnullComponent(s) to update with ajax.
visiblefalseBooleantrueControls the visibility of the component.


Getting

Started with BraintreeCard

 

 

Started 

The following example shows a braintree card component.