1 <?xml version="1.0" standalone="yes"?>
2 <div xmlns="http://www.w3.org/1999/xhtml"
3 xmlns:var="http://www.skyrix.com/od/binding"
4 xmlns:label="OGo:label"
5 class="linked_attachment_frame"
7 <div class="linked_attachment_body">
9 <!-- TODO: the table is a DUP to UIxMailView, own component? -->
10 <table class="mailer_fieldtable">
11 <tr class="mailer_fieldrow">
12 <td class="mailer_fieldname" ><var:string label:value="Subject"/>:</td>
13 <td class="mailer_subjectfieldvalue">
14 <var:string value="envelope.subject"
15 formatter="context.mailSubjectFormatter"/>
17 <a var:href="pathToAttachment"
18 var:title="filenameForDisplay"
19 >(<var:string label:value="download" />)</a>
23 <tr class="mailer_fieldrow">
24 <td class="mailer_fieldname" ><var:string label:value="From"/>:</td>
25 <td class="mailer_fieldvalue">
26 <!-- compose link? -->
27 <var:foreach list="envelope.from" item="currentAddress">
28 <a var:href="currentAddressLink">
29 <var:string value="currentAddress"
30 formatter="context.mailEnvelopeFullAddressFormatter" /></a>
34 <tr class="mailer_fieldrow">
35 <td class="mailer_fieldname" ><var:string label:value="Date"/>:</td>
36 <td class="mailer_fieldvalue">
37 <var:string value="envelope.date"
38 formatter="context.mailDateFormatter"/>
42 <tr class="mailer_fieldrow">
43 <td class="mailer_fieldname" ><var:string label:value="To"/>:</td>
44 <td class="mailer_fieldvalue">
45 <!-- compose link? -->
46 <var:foreach list="envelope.to" item="currentAddress">
47 <a var:href="currentAddressLink">
48 <var:string value="currentAddress"
49 formatter="context.mailEnvelopeFullAddressFormatter" /></a>
53 <var:if condition="envelope.hasCC">
54 <tr class="mailer_fieldrow">
55 <td class="mailer_fieldname" ><var:string label:value="CC"/>:</td>
56 <td class="mailer_fieldvalue">
57 <!-- compose link? -->
58 <var:foreach list="envelope.cc" item="currentAddress">
59 <a var:href="currentAddressLink">
60 <var:string value="currentAddress"
61 formatter="context.mailEnvelopeFullAddressFormatter" /></a>
62 <br /> <!-- TODO: better to use li+CSS -->
69 <div class="mailer_mailcontent">
70 <var:component value="contentViewerComponent"
71 bodyInfo="contentInfo"
72 partPath="contentPartPath" />
76 <pre><var:string value="envelope"/></pre>
77 <pre><var:string value="bodyInfo.body"/></pre>