@interface UIxMailListView : UIxComponent
{
- NSArray *sortedUIDs; /* we always need to retrieve all anyway! */
- NSArray *messages;
- unsigned firstMessageNumber;
- id message;
+ NSArray *sortedUIDs; /* we always need to retrieve all anyway! */
+ NSArray *messages;
+ unsigned firstMessageNumber;
+ id message;
EOQualifier *qualifier;
SOGoDateFormatter *dateFormatter;
NSTimeZone *userTimeZone;
{
NSCalendarDate *messageDate;
- messageDate = [[message objectForKey: @"envelope"] date];
+ messageDate = [[message valueForKey: @"envelope"] date];
[messageDate setTimeZone: userTimeZone];
return [dateFormatter formattedDateAndTime: messageDate];
#include <NGExtensions/NGExtensions.h>
#include <NGObjWeb/NGObjWeb.h>
#include <NGObjWeb/SoObjects.h>
-
-#warning importing common.h is baaad
};
methods = {
view = { /* somewhat hackish */
- protectedBy = "View";
- pageName = "UIxMailEditor";
+ protectedBy = "View";
+ pageName = "UIxMailView";
};
edit = {
protectedBy = "View";
var parentNode = nodes[0];
var userInfos = parentNode.split(":");
var email = userInfos[1] + " <" + userInfos[2] + ">";
- log ("email: " + email);
tree.add(parent, 0, email, 0, '#', userInfos[0], 'person',
'', '',
ResourcesURL + '/abcard.gif',