
Public Member Functions | |
| String | onClickString () |
| PayPalViewShoppingCartHyperlink (WOContext context) | |
| String | viewShoppingCartHref () |
Static Protected Attributes | |
| static String | PAYPAL_CGI_COMMAND = "?cmd=_cart&display=1" |
It returns the appropriate url to view the user's PayPal shopping cart in a new window.
| PayPalViewShoppingCartHyperlink | ( | WOContext | context | ) |
Constructor
| context | WOContext |
| String onClickString | ( | ) |
onClickString basically takes the viewShoppingCartHref and embeds it in a JavaScript window.open() method, as per PayPal's instructions. The JavaScript called tells the browser to open a new window that loads the viewShoppingCartHref url and has the characteristics given...
| String viewShoppingCartHref | ( | ) |
viewShoppingCartHref assembles the URL for the item, based on the values of the bindings it reads from the WOComponent. It gets the values, and most of it's code from the superclass.
String PAYPAL_CGI_COMMAND = "?cmd=_cart&display=1" [static, protected] |
The cgi command we're calling on PayPal's server.
Reimplemented from PayPalSingleItemHyperlink.
1.5.8