]> err.no Git - scalable-opengroupware.org/blob - SOGo/UI/MailerContacts/product.plist
work on tableview reloading DHTML
[scalable-opengroupware.org] / SOGo / UI / MailerContacts / product.plist
1 {
2   requires = ( MAIN, CommonUI, Contacts, MailerUI, ContactsUI );
3
4   publicResources = (
5     "title_sortdown_12x12.png",
6     "title_sortup_12x12.png",
7     "mailercontacts.js"
8   );
9
10   factories = {
11   };
12
13   categories = {
14     SOGoContactFolder = {
15       slots = {
16         toolbar = {
17           protectedBy = "View";
18           value = ( /* the toolbar groups */
19             ( /* first group */
20               {
21                 link  = "#"; // no-op
22                 cssClass = "tbicon_getmail"; label = "Get Mail";
23               },
24               {
25                 link     = "new";
26                 // onclick  = "clickedCompose(this);return false;";
27                 cssClass = "tbicon_compose"; label = "New Contact";
28               },
29 /* enable if we actually can do that
30               { link  = "tb.compose"; target = "_blank";
31                 cssClass = "tbicon_compose"; label = "Write"; },
32 */
33             ),
34           );
35         };
36       };
37       methods = {
38         "tb.view" = { /* primary entry for mailer actions */
39           protectedBy = "View";
40           pageName    = "UIxMailContactList"; 
41         };
42         "tb.tableview" = { /* same like above without the frame */
43           protectedBy = "View";
44           pageName    = "UIxMailContactListPart"; 
45         };
46         
47         "tb.compose" = {
48           protectedBy = "View";
49           actionClass = "UIxMailEditorAction"; 
50           actionName  = "compose";
51         };
52       };
53     };
54
55     SOGoContactObject = {
56       slots = {
57         toolbar = {
58           protectedBy = "View";
59           value = ( /* the toolbar groups */
60             ( /* first group */
61               { link  = "#"; 
62                 onclick  = "clickedEditorSave(this);return false;";
63                 cssClass = "tbicon_save"; label = "Save"; },
64               { link = "#"; 
65                 onclick  = "clickedEditorDelete(this);return false;";
66                 cssClass = "tbicon_delete"; label = "Delete"; },
67             )
68           );
69         };
70       };
71       methods = {
72         "tb.edit" = { 
73           protectedBy = "View";
74           pageName    = "UIxMailContactEditor"; 
75         };
76       };
77     };
78   };
79 }