FlexWin (Method 1)

- Decorator example

 

The following code illustrates what the content of a decorator.xml file could be. This example produces a very simple FlexWin decoration. The screen-dump below the code shows its appearance in step 2 of the payment.

You can also download a complete example of the Flexwin default decorator here.

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:dibs="http://www.dibs.dk/paymentweb">
    <head>
        <title>Payment</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta http-equiv="Content-Script-Type" content="text/javascript" />
        <meta http-equiv="Content-Style-Type" content="text/css" />
 </head>
 <body>
 <h1><dibs:shopname /></h1>
 <dibs:progress />
        <hr />
        <p>
            Amount: <dibs:amount /><br />
            Order ID: <dibs:shopvar name="orderid" /><br />
            Order text: <dibs:shopvar name="ordertext" />
        </p>
        <hr />
 <dibs:paytypeSelector />
 <dibs:payment />
 </body>
</html>