Отправляет email-рассылки с помощью сервиса Sendsay

Бюллетень "Lotus Notes CodeStore"

  Все выпуски  

HTTPSkipTranslationOfNsfRequests


Рассылку ведет: Программист на Lotus NotesLotus CoderВыпуск No 227 от 2009-09-04
рассылка о программировании на Lotus Notes/Domino
Обсуждения на форумах, блогах. Примеры программного кода на LotusScript,@formula, Java

рассылка:выпускархивлентаблогсайт

Бюллетень "Lotus Notes CodeStore" Выпуск 13 от 21.04.2008

comp.soft.prog.lotuscodesrore

CodeStore. Примеры кодов

Еще примеры:
Больше кодов на сайтах:

Форумы.Свежи темы и обсуждения

Здравствуйте!

Среда: под VWware на Windows 2003 установлен Domino 8.5 и Sametime 8.0.2 для тестовых целей.
Задача: состоит в том что необходимо с нуля настроить внешний почтовый сервере для отправки и получения почты.
Проблема: в том что не приходилось ранее настраивать почтовые сервера, в связи с этим прошу помочь в решении данной проблемы, уверен что и другим пользователям форума данная тема принесет знания и опыт в данной теме. biggrin.gif
Возникла такая ситуация.
После установки лицензионной версии Lotus Domino поверх триальной в некоторых базах у агентов перестал отображаться код. Хотя код данных агентов отрабатывает.
Как можно решить данную проблему?
Подскажите, кто пробовал подобное сочетание, как удалось сервер поставить на такую систему? Мне после установки выдается такое:
CODE
*Warning all runtime debug info will be logged to /local/notesdata/setuplog.txt
No protocol specified
Please edit your shell's DISPLAY environment variable to reflect an unlocked terminal that you would like to launch the Domino Setup Program on.

В тоже время непосредственно сама установка запускается нормально. Запуск в нижепоказанном виде ничего не дал:
CODE
DISPLAY=:0.0 ./install
Интересные темы:
Список форумов:

Tips. Советы

This wiki article discusses how to open Notes documents in composite applications so they display properly. It includes a number of screen shots to help explain things.

Read | Permalink

Eric Mack has seen some bad inboxes, holding thousands of messages. He even says his is pretty bad. So, he's running an informal poll to see who has seen the worst inbox.

Read | Permalink
Yes, it something like a movie review. This whitepaper describes the eight services: Home Page, Profiles, Activities, Blogs, Bookmarks, Communities, Files, and Wikis and how to extend Connections into your existing applications.

Read | Permalink
Well, no, that isn't the Notes.ini variable but, Almar Diehl did find something in the Notes Forum that is supposed to speed startup for the Notes 8 Standard client.

Read | Permalink


NEW WEBSITE, NEW CONTENT, CHECK IT OUT!
We are pleased to announce the launch of the new Teamstudio website--complete with a library of resources to help you implement good practices throughout your Notes application lifecycle. Drop by the site for free utilities, industry white papers, policy guides for Notes development and deployment, and more.

Tap here to stop by and see what's new!

Save conflicts can cause problems in Notes/Domino databases when one or more users open a document with a link. That document then opens several times in the Notes client. Use this LotusScript code to trap and handle save-conflict issues before they reach the Notes automatic handler.


Are you interested in writing an article for the Lotus Domino Designer wiki? Is there a subject you'd like to suggest for a new article? This page provides information on contributing to the wiki.

Read | Permalink
Bob Balfe says Notes 8.5 went out with a generic container framework that will be filled in when Notes 8.5.1 ships. He provides links to a new wiki article explaining how it all works.

Read | Permalink


NEW!!! NOTES AND DOMINO 8.5 UPDATE COURSES FOR DEVELOPERS AND ADMINSTRATORS
Try a free course at www.tlcc.com/dompower85.

Stuart McIntyre has information on a couple of new two-day courses from IBM on Lotus Quickr 8.2. The courses are a combination of lecture and hands-on. The first two workshops are in Massachusetts and Ireland.

Read | Permalink
Chris Toohey has posted links to a demo and a wiki article as well as a 2-minute "teaser" video for his application to autosave NotesDocument Auto-Save engine for Domino Web Applications. There's even a download.

Read | Permalink

It seems a logical continuation of the view filtering Flex demo to highlight each column and show the user where the matches were found.

In the shot below I've filtered the grid to only show items with "ar" in the description column and then underlined the matching part of the text and marked it green (click the image to go to the demo):

ScreenShot005

What surprised me was that I couldn't find a documented solution for this after a few Googles and I ended up deciding to tackle it myself.

Before long (an hour or two), I had what you see above, which just goes to show the power of Flex. I'd still class myself as somewhere slightly above "intermediate" level, yet I can already extend the functionality of the DataGrid simply by applying the bits of knowledge I've picked up along the way.

How Did I Do That?

Well, the (Advanced)DataGrid itself doesn't give us any way of doing this out of the box, so I had to use a custom ItemRenderer for the description column. Now, don't worry, this isn't as scary as it might sound. Creating your own components is really easy.

To tell the grid to use a custom component is this easy:

<mx:AdvancedDataGrid dataProvider="{documents}" id="viewExpenses"> <mx:columns> <mx:AdvancedDataGridColumn headerText="Date"  dataField="date"/> <mx:AdvancedDataGridColumn headerText="Description" dataField="description" itemRenderer="components.CustomColumnRenderer" /> </mx:columns>
</mx:AdvancedDataGrid>

Notice I've set the itemRenderer property for the second column to "components.CustomColumnRenderer". 

All that "components.CustomColumnRenderer" tells Flex to do is look inside a folder called "components" for a file called "CustomColumnRenderer.mxml". It's this MXML file which contains the code for what appears in the column.

Creating a New Component

To add your own component, first turn to your Flex app's file structure, as below, where I've already added the folder and the component:

ScreenShot002

As you can see, the main application file is called Accounts.mxml and lives inside the app's "src" folder. Notice the "components" subfolder I've created inside the "src" folder. To create it was as easy as right-clicking the src folder and choosing "Create Folder".

With this new folder I then right clicked it and choose New -> MXML Component. As below:

 ScreenShot003

In the next dialog I entered the name of the component and which Flex component to base it on. As below:

 ScreenShot006

This gives us a new component which is based on a Label object and inherits all it's properties and methods. We can go on to extend it to do whatever it is we like. In our case we want to highlight some text in it. You can see the whole of the code for the component in this file, but the important part is the function below (where I've left bits missing so it's more readable):

override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void { //Still run the function we're over-riding super.updateDisplayList(unscaledWidth, unscaledHeight); //What we're looking for var token:String = this.parentApplication.input.text; //Where it is var begin:int = this.text.toLowerCase().indexOf(token.toLowerCase()); if ( begin > -1 ){ //Highlight it var tr:TextRange = new TextRange(this, true, begin, begin+token.length); tr.color = "green"; tr.fontWeight = "bold"; tr.textDecoration = "underline"; }
}

The key to this solution is that we're over-riding the "updateDisplayList" method of the label. All of the Flex UI Components implement this method and you can over-ride it so you have the ultimate control over it's appearance each and every time its "refreshed". Or at least that's my understanding of how it work. Over-riding this method seems to be common practice among Flex developers.

It should be fairly obvious what the function is doing. Notice the parentApplication property is used to get access to the main application that this component is a part of and read the value of the "filter" field on it. It then creates a TextRange on the Label component's text and highlights it.

So, fairly easy, no? 

Memory Hungry?

If you're like me you probably worry about creating your own component for use in a cell in every row of a "view"? The more rows the more likely your "poor programming practices" will be reflected in poor performance. Well, worry not. Apparently Flex only creates enough instances of the cell's itemRenderers to cover the visible rows on the screen. If the datagrid had a million rows the fact each cell has its own renderer shouldn't affect performance. Apparently. Seems true as far as I can tell. On my live Accounts db with about a thousand rows the performance is just as with 10 or so.

Further Reading

If you want to know more about custom item renderers then this quick start guide is well worth the read and gives other examples of how much you can customise the data grid.

Click here to post a response

It's not as staged as it might seem. Felix picked it up of his own accord and sat there for ages leafing through it. I'd like to think he's taken an interest in some scantily-clad lady holding a power tool, but have no idea what he was looking at/thinking...

Click here to post a response

Еще советы:
Смотри советы на сайтах:

Блоги. Что обсуждают и пишут

Author: Mark O'Hara
Tags: dialog meetings presentations preferences
Idea:
Many Notes users like to be notified when they receive new email or have an upcoming meeting.  They have choosen to receive these notifications during their normal work day.  However when they are using their PC to show a slide deck during a meeting these pop-ups take the focus away from the presentation.  To prevent these pop-ups the user could log out of Notes, but that is not how they work.  Typically they just undock their laptop and run off to their meeting and start their presentation.  Shutting down any running applications is extra and unnecessary work.
 
Wouldn't it be nice if the user had an option in these dialog boxes to suppress all Notes client pop-ups for a period of time so they could continue to conduct their presentation without disturbing the flow of the meeting?
 

Author: Sivaram Athmakuri
Tags: Quickr enhancements
Idea:
QuickR Solutions team need to come up with default templates. If you take example of Lotus Notes, we get discussion template, team room etc as out of box solutions.
 
If you take MOSS, they market their 40 Out of Box Templates. Microsoft markets more selling that these 40 as if they are full fledged solutions.
 
If IBM designs few Out of Box Templates for Quickr, it will improve the market of Quickr as well as handle the competition with MOSS

Author: Sivaram Athmakuri
Tags: XML Openware User define
Idea:
IBM supports Open standards for most of it's products. In today's scenario, Lotus Notes solutions need to co exist with other enterprise solutions such as ERP, Portal etc.
 
IBM need to provide a new design element XML Data source.
 
It should allow the developers to choose the
 
XML Source:  View/Form/Search Criteria
 
If XML Source is Form, display list of fields in the form
 
Field Name  XMLTagName
Name           Customer
ID                  ID
 
and make Lotus Notes data available as XML Source.
 
If XML source is View
Column name  XMLTagName
Name           Customer
ID                  ID
 
If XML source is search criteria
fields           XMLTagName
Name           Customer
ID                  ID
 
Note : Design element need to handle the multi value seperators etc.
 
After this design element is saved, This should be acting as XML Data source.
 
This makes lotus notes come out of the biggest limitation i.e. only nsf format.
 
It also improves the co existance capabilities as well as increase application life of Domino
 
 
 

Author: Sivaram Athmakuri
Tags: Lotus Notes Web UI for Standard Content Management Solutions.
Idea:
Web Based Domino Templates to store documents to Documentum/IBM Content Manager.
 
The integration with Content Management solutions can be achieved using the Webservice features.

As I explained in the blog entry two days ago, Steve Castledine, Peter Presnell and I have started to prototype a couple of ideas for the next version of the discussion template. Based on the feedback we've received for the first prototype and some ...
Author: Jan Schulz
Tags: keyboard shortcuts db
Idea:
Make it possible to add keyboard shortcuts to the view, db and document context.

Dragon W Li from IBM has contributed an Eclipse plugin which allows Notes users to find out more information about the senders of emails. A new action in the right click context menu gives users an option to open up the myfreemailsearch website and the ...
Еще записи:
Интересные блоги специалистов:

Статьи и Документация

On some Linux versions, such as SLED11, the Bug Buddy OS-level crash collector and reporting tool interferes with the Lotus Notes NSD when Notes crashes; specifically the Bug Buddy tool seizes the crash signals from Notes, thereby disabling the Notes NSD.
The "Restore default Mail colors" button resets the colors for only the current view or folder and not for other views and folders in the database. This occurs on Notes 6.x clients that use a mail template design from Notes Domino 6.0.1 or later.
Roaming user is attempting to log into the Notes client, but recieves this error instead.
Relaunch of Notes with Save Window State enabled prevent use of Ctrl Tab to navigate thru open Notes database & document tabs
After an upgrade to a later release of Notes the Personal address book and other local databases will still have older ODS versions. Is there a way to upgrade the ODS on local databases without the end users intervention?
Troubleshooting Lotus Notes Traveler 8.0.1.
This technote details which versions of the Lotus Notes client are supported on which Mac OS versions.
On a Windows computer running a Spanish or Portuguese-language version of the operating system, you install (or upgrade to) Lotus Notes client 8.0.2 in multi-user mode. The installation completes, but when Notes (Standard Configuration) is loaded, you receive the following errors: "This software has encountered a problem and needs to close" " Failed to login CLFRJ0010E: Notes Initialization failed"
Occasionally, an e-mail, more than likely a spam e-mail, causes a Lotus Notes client on Mac OS X to crash if you export the document as structured text or restore it from the Trash.
DAOS may fail to initialize and not function properly if the DAOS base path contains multibyte characters.
Также почитатай:
Найти документацию можно на сайтах:

В избранное