]> err.no Git - scalable-opengroupware.org/commitdiff
work in progress
authorznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 12 Oct 2004 11:38:10 +0000 (11:38 +0000)
committerznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 12 Oct 2004 11:38:10 +0000 (11:38 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@383 d1b88da0-ebda-0310-925b-ed51d893ca5b

SOGo/SOGo.xcode/project.pbxproj
SOGo/UI/Mailer/ChangeLog
SOGo/UI/Mailer/English.lproj/default.strings
SOGo/UI/Mailer/GNUmakefile
SOGo/UI/Mailer/README
SOGo/UI/Mailer/UIxMailEditor.wox
SOGo/UI/Mailer/UIxMailToSelection.m
SOGo/UI/Mailer/UIxMailToSelection.wox
SOGo/UI/Mailer/Version

index 32da5bb276777e2a6f6635b03e5430c25f55b8ea..139a98cacc5cb3ba6420b78fc11d85ba794d1deb 100644 (file)
                        tabWidth = 8;
                        usesTabs = 1;
                };
+               AD2C74A1071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text;
+                       path = mailer.css;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74A2071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.javascript;
+                       path = mailer.js;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74A3071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text;
+                       path = README;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74A5071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxEnvelopeAddressFormatter.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74A6071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailAccountsView.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74A7071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailAccountsView.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74A8071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailAccountView.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74A9071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailAccountView.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74AA071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.h;
+                       path = UIxMailFormatter.h;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74AB071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailFormatter.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74AC071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailMainFrame.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74AD071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailMainFrame.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74AE071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailPartAlternativeViewer.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74AF071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailPartAlternativeViewer.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B0071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailPartImageViewer.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B1071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailPartImageViewer.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B2071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailPartMixedViewer.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B3071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailPartMixedViewer.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B4071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailPartTextViewer.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B5071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailPartTextViewer.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B6071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.h;
+                       path = UIxMailPartViewer.h;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B7071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailPartViewer.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B8071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.h;
+                       path = UIxMailRenderingContext.h;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74B9071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailRenderingContext.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74BA071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailToolbar.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74BB071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailToolbar.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74BC071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailTree.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74BD071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailTree.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74BE071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxSubjectFormatter.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74BF071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.h;
+                       path = "WOContext+UIxMailer.h";
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74C0071A9FF70087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = "WOContext+UIxMailer.m";
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74C3071AA0190087E027 = {
+                       children = (
+                               AD2C7510071AAAC80087E027,
+                               AD2C74A1071A9FF70087E027,
+                               AD2C74A2071A9FF70087E027,
+                       );
+                       isa = PBXGroup;
+                       name = "CSS / Scripts";
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C74C6071AA0ED0087E027 = {
+                       children = (
+                               AD2C74AA071A9FF70087E027,
+                               AD2C74AB071A9FF70087E027,
+                               AD2C74BE071A9FF70087E027,
+                               AD2C74A5071A9FF70087E027,
+                       );
+                       isa = PBXGroup;
+                       name = Formatters;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C7510071AAAC80087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text;
+                       path = uix.css;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C76D5071BF4EB0087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailEditorAction.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C76D6071BF4EB0087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = sourcecode.c.objc;
+                       path = UIxMailToSelection.m;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
+               AD2C76D7071BF4EB0087E027 = {
+                       fileEncoding = 5;
+                       isa = PBXFileReference;
+                       lastKnownFileType = text.xml;
+                       path = UIxMailToSelection.wox;
+                       refType = 4;
+                       sourceTree = "<group>";
+               };
                AD494C6106F5EA6600E51EC9 = {
                        fileEncoding = 4;
                        isa = PBXFileReference;
                };
                ADDF4DBB06DE0E9900C4E7F8 = {
                        children = (
+                               AD2C74A3071A9FF70087E027,
                                ADDF4DC806DE0E9A00C4E7F8,
                                ADDF4DBF06DE0E9900C4E7F8,
                                ADDF4DC006DE0E9900C4E7F8,
                                ADDF4DC906DE0E9A00C4E7F8,
                                ADDF4DC106DE0E9A00C4E7F8,
                                ADDF4DD306DE0EB600C4E7F8,
+                               AD2C74C3071AA0190087E027,
                                ADDF4DD906DE0ECB00C4E7F8,
                                ADDF4DD606DE0EC100C4E7F8,
                        );
                };
                ADDF4DD606DE0EC100C4E7F8 = {
                        children = (
+                               AD2C74A6071A9FF70087E027,
+                               AD2C74A7071A9FF70087E027,
+                               AD2C74A8071A9FF70087E027,
+                               AD2C74A9071A9FF70087E027,
+                               AD2C74AC071A9FF70087E027,
+                               AD2C74AD071A9FF70087E027,
+                               AD2C74AE071A9FF70087E027,
+                               AD2C74AF071A9FF70087E027,
+                               AD2C74B0071A9FF70087E027,
+                               AD2C74B1071A9FF70087E027,
+                               AD2C74B2071A9FF70087E027,
+                               AD2C74B3071A9FF70087E027,
+                               AD2C74B4071A9FF70087E027,
+                               AD2C74B5071A9FF70087E027,
+                               AD2C74BA071A9FF70087E027,
+                               AD2C74BB071A9FF70087E027,
+                               AD2C74BC071A9FF70087E027,
+                               AD2C74BD071A9FF70087E027,
                                ADDF4DCA06DE0E9A00C4E7F8,
                                ADDF4DCB06DE0E9A00C4E7F8,
+                               AD2C76D6071BF4EB0087E027,
+                               AD2C76D7071BF4EB0087E027,
                                ADDF4DCC06DE0E9A00C4E7F8,
                                ADDF4DCD06DE0E9A00C4E7F8,
                                ADDF4DCE06DE0E9A00C4E7F8,
                        children = (
                                ADDF4DBE06DE0E9900C4E7F8,
                                ADDF4DC706DE0E9A00C4E7F8,
+                               AD2C74C6071AA0ED0087E027,
+                               AD2C76D5071BF4EB0087E027,
+                               AD2C74B6071A9FF70087E027,
+                               AD2C74B7071A9FF70087E027,
+                               AD2C74B8071A9FF70087E027,
+                               AD2C74B9071A9FF70087E027,
+                               AD2C74BF071A9FF70087E027,
+                               AD2C74C0071A9FF70087E027,
                        );
                        isa = PBXGroup;
                        name = Classes;
index d2b497f8ad9e208a6eff43a398f0b54c9eb288a4..2490be34fef5949f75118a0840eaa4b3237b9806 100644 (file)
@@ -1,3 +1,15 @@
+2004-10-12  Marcus Mueller  <znek@mulle-kybernetik.com>
+
+        * v0.9.32
+
+        * UIxMailEditor.wox: changed API for UIxMailToSelection
+        
+        * UIxMailToSelection.[wox|m]: new component template
+
+        * English.lproj/default.strings: new localizable strings
+
+        * README: updated
+
 2004-10-12  Helge Hess  <helge.hess@opengroupware.org>
 
        * v0.9.31
index 6cf7ce7dba5343e22a46377b3f38504fde88191b..7e03676ead4fe2526c40114b980373d78038fb93 100644 (file)
@@ -1 +1,8 @@
 /* this file is in ISO-8859-1 format! */
+
+"From"      = "From";
+"Subject"   = "Subject";
+
+"TO"        = "To";
+"CC"        = "Cc";
+"BCC"       = "Bcc";
index 4378a58f01c24914dfe5dd58ce530879a099b88f..bc230ba31573e66da5e93504f6d3863e5a2ef7bf 100644 (file)
@@ -17,9 +17,9 @@ MailerUI_OBJC_FILES += \
        WOContext+UIxMailer.m           \
        UIxMailRenderingContext.m       \
        \
-       UIxMailMainFrame.m      \
-       UIxMailTree.m           \
-       UIxMailToolbar.m        \
+       UIxMailMainFrame.m              \
+       UIxMailTree.m                   \
+       UIxMailToolbar.m                \
        \
        UIxMailAccountsView.m   \
        UIxMailAccountView.m    \
@@ -41,9 +41,9 @@ MailerUI_RESOURCE_FILES += \
        product.plist           \
 
 MailerUI_RESOURCE_FILES += \
-       UIxMailMainFrame.wox    \
-       UIxMailTree.wox         \
-       UIxMailToolbar.wox      \
+       UIxMailMainFrame.wox            \
+       UIxMailTree.wox                 \
+       UIxMailToolbar.wox              \
        \
        UIxMailAccountsView.wox \
        UIxMailAccountView.wox  \
index 9cbcaeb178f547308ba93d80de2efae78bd1b718..f4d6165fc920989084f1b2058c263b3b7e3d11da 100644 (file)
@@ -13,6 +13,7 @@ Components
 UIxMailAccountView.wox
 UIxMailAccountsView.wox
 UIxMailEditor.wox
+UIxMailToSelection.wox
 UIxMailListView.wox
 UIxMailMainFrame.wox
 UIxMailTree.wox
index 7c6f291fdc31807d9efcbb625b0ef8ba2b17ffea..2bdf5bca00259c81fa6173594e429254396086bf 100644 (file)
   
   <div id="compose_toselection">
     <var:component className="UIxMailToSelection"
-                   recipients="recipients" />
+                   to="to"
+                   cc="cc"
+                   bcc="bcc"
+    />
   </div>
 
   <div id="compose_subject">
index feecc73bee2076832fc2ed33517e3d323df4b4da..275df8ce08d34b18949334dea0fabf05ada35d8c 100644 (file)
 /*
-  Copyright (C) 2004 SKYRIX Software AG
-
-  This file is part of OpenGroupware.org.
+ Copyright (C) 2004 SKYRIX Software AG
+ This file is part of OpenGroupware.org.
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
+ License for more details.
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING.  If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+ */
+// $Id$
 
-  OGo is free software; you can redistribute it and/or modify it under
-  the terms of the GNU Lesser General Public License as published by the
-  Free Software Foundation; either version 2, or (at your option) any
-  later version.
 
-  OGo is distributed in the hope that it will be useful, but WITHOUT ANY
-  WARRANTY; without even the implied warranty of MERCHANTABILITY or
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
-  License for more details.
+#include <SOGoUI/UIxComponent.h>
 
-  You should have received a copy of the GNU Lesser General Public
-  License along with OGo; see the file COPYING.  If not, write to the
-  Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-  02111-1307, USA.
-*/
-// $Id$
+/*
+ UIxMailToSelection
+ Select a set of address headers for composing an email.
+ Bindings:
+ to   - array of strings suitable for placement in a To: header
+ cc   - array of strings suitable for placement in a Cc: header
+ bcc  - array of strings suitable for placement in a Bcc: header
+ Sample:
+ <var:component className="UIxMailToSelection"
+ to="to"
+ cc="cc"
+ bcc="bcc"
+ />
+ */
 
-#include <SOGoUI/UIxComponent.h>
+@class NSArray;
 
 @interface UIxMailToSelection : UIxComponent
 {
-  unsigned currentFieldRowIndex;
+    NSArray *to;
+    NSArray *cc;
+    NSArray *bcc;
 }
 
+- (void)setTo:(NSArray *)_to;
+- (NSArray *)to;
+- (void)setCc:(NSArray *)_cc;
+- (NSArray *)cc;
+- (void)setBcc:(NSArray *)_bcc;
+- (NSArray *)bcc;
+
+- (NSArray *)getAddressesOfType:(NSString *)_type
+                 fromFormValues:(NSArray *)_values;
+
 @end
 
 #include "common.h"
 
 @implementation UIxMailToSelection
 
+- (void)dealloc {
+    [self->to  release];
+    [self->cc  release];
+    [self->bcc release];
+    [super dealloc];
+}
+
+/* notifications */
+
+- (void)sleep {
+    [super sleep];
+}
+
 /* accessors */
 
-- (void)setCurrentFieldRowIndex:(unsigned)_idx {
-  self->currentFieldRowIndex = _idx;
+- (void)setTo:(NSArray *)_to {
+    ASSIGN(self->to, _to);
+}
+- (NSArray *)to {
+    return self->to;
+}
+
+- (void)setCc:(NSArray *)_cc {
+    ASSIGN(self->cc, _cc);
+}
+- (NSArray *)cc {
+    return self->cc;
+}
+
+- (void)setBcc:(NSArray *)_bcc {
+    ASSIGN(self->bcc, _bcc);
 }
-- (unsigned)currentFieldRowIndex {
-  return self->currentFieldRowIndex;
+- (NSArray *)bcc {
+    return self->bcc;
 }
 
-- (NSString *)typeFormName {
-  unsigned char buf[16];
-  sprintf(buf, "type_%d", [self currentFieldRowIndex]);
-  return [NSString stringWithCString:buf];
+/* handling requests */
+
+- (NSArray *)getAddressesOfType:(NSString *)_type
+                 fromFormValues:(NSArray *)_values
+{
+    unsigned i, count;
+    NSMutableArray *result;
+    
+    count = [_values count];
+    result = [NSMutableArray arrayWithCapacity:count];
+    for (i = 0; i < count; i++) {
+        NSString *s;
+        
+        s = [_values objectAtIndex:i];
+        if ([s length] == 0)
+            continue;
+    }
+    return result;
 }
-- (NSString *)mailFormName {
-  unsigned char buf[16];
-  sprintf(buf, "email_%d", [self currentFieldRowIndex]);
-  return [NSString stringWithCString:buf];
+
+- (void)takeValuesFromRequest:(WORequest *)_rq inContext:(WOContext *)_ctx {
+    /* OK, we have a special form value processor */
+    NSArray *tmp;
+    
+    [self debugWithFormat:@"Note: will take values ..."];
+    
+    tmp = [self getAddressesOfType:@"to"
+                    fromFormValues:[_rq formValuesForKey:@"to"]];
+    [self setTo:tmp];
+    tmp = [self getAddressesOfType:@"cc"
+                    fromFormValues:[_rq formValuesForKey:@"cc"]];
+    [self setCc:tmp];
+    tmp = [self getAddressesOfType:@"bcc"
+                    fromFormValues:[_rq formValuesForKey:@"bcc"]];
+    [self setBcc:tmp];
 }
 
-- (NSArray *)dummyList {
-  static NSArray *d = nil;
-  if (d == nil)
-    d = [[NSArray alloc] initWithObjects:@"0", @"1", @"2", nil];
-  return d;
+/* response generation */
+
+- (NSString *)jsCode {
+    static NSString *script = \
+    @"function addAddress(type, cn, dn, email, uid, sn) {\n"
+    @"}\n";
+    return script;
 }
 
-@end /* UIxMailToSelection */
+@end
index 51fd233b3db30ac8fa4dc342f60a9d8c28f45319..b67abbd816b78536917562d969d928c8051ca444 100644 (file)
@@ -1,25 +1,38 @@
-<?xml version="1.0" standalone="yes"?>
-<table
-  xmlns="http://www.w3.org/1999/xhtml"
-  xmlns:var="http://www.skyrix.com/od/binding"
-  xmlns:const="http://www.skyrix.com/od/constant"
-  xmlns:rsrc="OGo:url"
-  xmlns:label="OGo:label"
-  xmlns:so="http://www.skyrix.com/od/so-lookup"
-  border="0" width="100%"
+<?xml version='1.0' standalone='yes'?>
+<span xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:var="http://www.skyrix.com/od/binding"
+      xmlns:const="http://www.skyrix.com/od/constant"
+      xmlns:rsrc="OGo:url"
+      xmlns:label="OGo:label"
+      border="0"
+      width="100%"
 >
-  <var:foreach list="dummyList" item="currentFieldRowIndex">
+  <script language="JavaScript">
+    <var:string value="jsCode" const:escapeHTML="NO" />
+  </script>
+  <table>
+    <!-- TODO: make repetition -->
+    <!-- TODO: form field needs to have an index -->
     <tr>
-      <td width="15%">
-        <select var:name="typeFormName" style="width: 100%;">
-          <option value="to" ><var:string label:value="To"/>:</option>
-          <option value="cc" ><var:string label:value="CC"/>:</option>
-          <option value="bcc"><var:string label:value="BCC"/>:</option>
+      <td width="20%">
+        <!-- var:popup? -->
+        <select name="totype_00" style="width: 100%;">
+          <option value="to" ><var:string label:value="TO" />:</option>
+          <option value="cc" ><var:string label:value="CC" />:</option>
+          <option value="bcc"><var:string label:value="BCC" />:</option>
         </select>
       </td>
-      <td width="85%">
-        <input var:name="mailFormName" type="text" style="width: 100%;"/>
+      <td width="80%">
+        <input name="email_00" type="text" style="width: 100%;"/>
       </td>
     </tr>
-  </var:foreach>
-</table>
+    <tr id="to_lastentry">
+      <td width="20%">
+        <var:entity const:name="nbsp" />
+      </td>
+      <td width="80%">
+        <a href="#" ><var:string label:value="new" /></a>
+      </td>
+    </tr>
+  </table>
+</span>
\ No newline at end of file
index 7fd6910f13bcaf504b8452bd7ef2569adf17a4bf..97a71362c3bf0ddb41e2363c8153f42f36284c9c 100644 (file)
@@ -1,3 +1,3 @@
 # $Id$
 
-SUBMINOR_VERSION:=31
+SUBMINOR_VERSION:=32