Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Overview

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

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.
dataObject

...

trueObjectnullThe data object of the component.
id

...

trueStringnullUnique 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.

managedBean

...

trueStringnullThe name of the Java managed bean

...

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.


onChangeFunction

...

trueStringnull

...

 JSF Page

 

 

 

 

 

 

Managed Bean

 

...

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 

The following example shows a braintree card component.