Developing Web 2.0 applications
with JavaServerFaces
and Dreamweaver
>> Just Became Easier
Documentation
Search
  1. Introduction
  2. Getting Started
  3. Tomahawk Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Tomahawk Server Behaviors
  8. Tomahawk Property Inspectors
  9. Tomahawk Tag Reference
Tomahawk Tag Library
  t:aliasBean
  t:aliasBeansScope
  t:buffer
  t:captcha
  t:checkbox
  t:collapsiblePanel
  t:column
  t:columns
  t:commandButton
  t:commandLink
  t:commandNavigation
  t:commandNavigation2
  t:commandSortHeader
  t:dataList
  t:dataScroller
  t:dataTable
  t:div
  t:document
  t:documentBody
  t:documentHead
  t:dojoInitializer
  t:fieldset
  t:graphicImage
  t:headerLink
  t:htmlTag
  t:iconProvider
  t:inputCalendar
  t:inputDate
  t:inputFileUpload
  t:inputHidden
  t:inputHtml
  t:inputSecret
  t:inputText
  t:inputTextHelp
  t:inputTextarea
  t:jsValueChangeListener
  t:jsValueSet
  t:jscookMenu
  t:message
  t:messages
  t:navigationMenuItem
  t:navigationMenuItems
  t:newspaperTable
  t:outputLabel
  t:outputText
  t:panelGrid
  t:panelGroup
  t:panelLayout
  t:panelNavigation
  t:panelNavigation2
  t:panelStack
  t:panelTab
  t:panelTabbedPane
  t:popup
  t:radio
  t:saveState
  t:schedule
  t:selectBooleanCheckbox
  t:selectItems
  t:selectManyCheckbox
  t:selectManyListbox
  t:selectManyMenu
  t:selectManyPicklist
  t:selectOneCountry
  t:selectOneLanguage
  t:selectOneListbox
  t:selectOneMenu
  t:selectOneRadio
  t:selectOneRow
  t:stylesheet
  t:subform
  t:swapImage
  t:tabChangeListener
  t:toggleGroup
  t:toggleLink
  t:togglePanel
  t:tree
  t:tree2
  t:treeCheckbox
  t:treeColumn
  t:treeSelectionListener
  t:updateActionListener
Selected t:validateCreditCard
  t:validateEmail
  t:validateEqual
  t:validateRegExpr
  t:xmlTransform
If you like this documentation, please take a look at my book:

9. Tomahawk Tag Reference

Documentation > Tomahawk > Tomahawk Tag Reference > Tomahawk Tag Library > t:validateCreditCard

t:validateCreditCard

<p>The <t:validateCreditCard> tag allows you to validate various credit cards, including Amex, Visa, Mastercard, and Discover, using the Jakarta Commons validation library.</p>

Example

<t:validateCreditCard> </t:validateCreditCard> 

Tag Attributes

amex Text
 
The amex attribute expects a boolean value that, when true, indicates that this validator can be applied to American Express credit cards. The default value is true.
detailMessage Text
 
alternate validation error detail message format string (use 'message' and 'detailMessage' alternatively)
discover Text
 
The discover attribute expects a boolean value that, when true, indicates that this validator can be applied to Discover credit cards. The default value is true.
mastercard Text
 
The mastercard attribute expects a boolean value that, when true, indicates that this validator can be applied to Mastercard credit cards. The default value is true.
message Text
 
The message attribute defines an alternate validation message for this tag.
none Text
 
The none attribute expects a boolean value that, when true, indicates that no credit cards are supported by this validator. The default value is false.
summaryMessage Text
 
alternate validation error summary message format string
visa Text
 
The visa attribute expects a boolean value that, when true, indicates that this validator can be applied to Visa credit cards. The default value is true.