CRS-M extends two existing Commerce Reference Store form handlers to provide the functionality required specifically for the mobile UI design. These two form handlers are:
atg.projects.store.mobile.userprofiling.MobileStoreProfileFormHandler
extendsatg.projects.store.profile.StoreProfileFormHandler
and is configured by/atg/userprofiling/ProfileFormHandler
atg.projects.store.mobile.order.MobileBillingInfoFormHandler
extendsatg.projects.store.order.purchase.BillingInfoFormHandler
and is configured by/atg/store/mobile/order/purchase/BillingFormHandler
The main purpose of these new form handlers is to handle the creation and editing of credit cards in CRS-M. Traditionally in the Commerce Reference Store application, a credit card and billing address have been created on the same page or screen of the UI, requiring just one form submission. New form handler logic was created, since the CRS-M design called for the credit card and billing address creation to happen on separate screens. The credit card and billing address creation are split across two screens by storing the (encrypted) credit card information into a temporary session bean until the billing address screen has been completed. Once successfully validated, the credit card and billing address are associated with one another and committed to the repository.
The following form handlers are also extended:
atg.projects.store.mobile.order.purchaseMobileCouponFormHandler
extendsatg.projects.store.order.purchase.StoreCouponFormHandler
and is configured by/atg/store/order/purchase/CouponFormHandler
atg.projects.store.mobile.order.purchase.MobileStoreCartFormHandler
extendsatg.projects.store.order.purchase.StoreCartFormHandler
and is configured by/atg/commerce/order/purchase/CartModifierFormHandler