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

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

  Все выпуски  

Part of the document link is missing when pasted into Sametime chat window


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

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

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

comp.soft.prog.lotuscodesrore

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

The WebSession class makes coding WQO and WQS Agents a doddle. If you're not using it yet you should be...

11 Feb 2008 | View Demo | Download Demo | Read More »

-- Delivered by Feed43 service

We've all heard of drop-down menus, which are all well and good. What about things you want to appear when needed on the page that aren't part of the site navigation? Use flyouts! This demo shows how. Download and see how the login/admin links on the top right of the page function....

15 Feb 2008 | View Demo | Download Demo | Read More »

-- Delivered by Feed43 service

Latest release of DEXT. New addition:

  • Simple demos of Domino with Google Gear
More to follow...

8 Jun 2009 | View Demo | Download Demo

-- Delivered by Feed43 service

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

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

Добрый день! Задался вопросом по кросс сертификации серверов домино, для дальнейшего использования репликации.
Задача состоит в том чтобы кросс-сертифицировать разные сервера, и далее настроить на них реплику для БД.
прошу помочь с этим вопросом уважаемы админы, гугел ни чего полоезного по этому поводу не дал, может вы подскажите или дадите какую либо инструкцию по этому решению. СПС!
Добрый день! Задался вопросом по кросс сертификации серверов домино, для дальнейшего использования репликации.
Задача состоит в том чтобы кросс-сертифицировать разные сервера, и далее настроить на них реплику для БД.
прошу помочь с этим вопросом уважаемы админы, гугел ни чего полоезного по этому поводу не дал, может вы подскажите или дадите какую либо инструкцию по этому решению. СПС!
Кто нибудь сталкивался с интеграцией КриптоПРО ЭЦП в IBM Lotus Notes? Как это примерно выглядит? Лучше всего на пальцах объяснить, до кодирования еще рано. Пока пытаюсь понять, как вообще это в Lotus должно работать. Спасибо
Собственно вопрос к тем кто делал импорты через MSSQL - ODBC - Lotus
у себя проверяю всё пашет у заказчика ODBC вместо кирилицы возвращает "?" знако вопроса, цифры возвращает правильно
Куда копать и что настраивать?
Собственно вопрос к тем кто делал импорты через MSSQL - ODBC - Lotus
у себя проверяю всё пашет у заказчика ODBC вместо кирилицы возвращает "?" знако вопроса, цифры возвращает правильно
Куда копать и что настраивать?
Коллеги!

Необходимо перенести сервер Domino 7.0.2 на новую машину с сохранением АК, Connection Documents, доступом к БД и т.д.
Но тут еще проблема - нет пароля от cert.id. Как лучше поступать в такой ситуации?

Заранее спасибо за ответ.
Собственно вопрос к тем кто делал импорты через MSSQL - ODBC - Lotus
у себя проверяю всё пашет у заказчика ODBC вместо кирилицы возвращает "?" знако вопроса, цифры возвращает правильно
Куда копать и что настраивать?
Народ, кто-нибудь настраивал бэкап на 8.5 с включением DAOS на базах? Какими средствами? Ибо вопрос очень актуальный.
Там стоят только две группы, которым разрешено отправлять почту в мир. И пользователь там есть. Остальные поля пустые. Так что не то. И проблемы решилась сама. Как подозревалось, проблема была на стороне получателя. Лично не связывался с ним, но проблема...
Наверное, о модульном тестировании (unit tests) не слышали только глухие и ленивые. Я не буду писать здесь об unit-тестах и TDD, желающие самостоятельно найдут необходимую информацию. Я сам испробовал TDD на нескольких небольших java-проектах. После этого, являясь Lotus-разработчиком, чувствую себя обделенным таким полезным инструментом, как инфрастуктура модульного тестирования для LotusScript-кода.
Поиски xUnit для LS на |#^#]>http://xprogramming.com/software|#^#]> результатов не дали (кто бы сомневался smile.gif), поиск в гугле по фразе "lotusscript unit tests" дал две вразумительные ссылки: |#^#]>http://ca.geocities.com/nshenoy0424@rogers.../downloads.html|#^#]> и |#^#]>http://www.openntf.org/Projects/pmt.nsf/Pr...nit%20Framework|#^#]>. Но эти инструменты меня не удовлетворили, и я решил создать свой велосипед. За идейную основу был принят пакет JUnit 3.x.
Довольно быстро реализовав базовые механизмы инфрастуктуры (названной, как ни странно, LSUnit), я столкнулся с другими проблемами, которые заставили меня отложить работу над LSUnit на несколько месяцев. Проблемы такие: трудности создания тестовой конфигурации и скорость выполнения тестов. Для каждого тестового метода следует создавать тестовую конфигурацию - набор объектов тестируемой системы. В Лотусе это, естественно, документы. Даже если тестируемая система состоит из высокоуровневых классов, реализующих бизнес-логику, они, в конечном счете, все равно работают с документами. Таким образом, для запуска теста приходится создавать один или несколько документов в базе данных (или копировать их из некого хранилища тестовых документов), обновлять индексы представлений и т. п. А все это создает вторую проблему - скорость выполнения тестов. Да и скорость работы с "настоящими" документами (чтение/запись значений полей) значительно ниже скорости работы с объектами в памяти.
Поэтому однажды было принято решение создать библиотеку подставных объектов, которые имитировали бы работу NotesXXX классов. Библиотека была названа FakeObjects, то есть "поддельные объекты". Сейчас эта библиотека совсем небольшая, она постоянно расширяется и дополняется по мере необходимости. Но и сейчас она уже покрывает потребности небольшого проекта, на котором я ее разрабатываю. Более детальное описание библиотеки вы найдете в приложенном архиве.
Что дает эта библиотека? В первую очередь, скорость выполнения тестов. 100 тестов выполняются не более 0,1 секунды. Во-вторых, полный контроль над тестовой конфигурацией. Библиотека позволяет создать необходимый минимум тестовых данных (минимальное количество документов с полями, нужными в конкретном тесте), изменить поведение нужным образом (например, создать ситуацию, когда document.save() возвращает false).
Но, естественно, существуют и недостатки, некоторые из которых могут вызвать очень серьезные труднности. Но эти трудности, при желании, могут быть преодолены.
Во-первых, придется отказаться от строгой типизации переменных, содержащих объекты NotesXXX, в пользу Variant. Это нужно для того, чтобы можно было подменить Notes-объекты поддельными. Это серьезная проблема, ведь компилятор теперь не укажет на ошибку. Но если весь код будет покрыт тестами, то все подобные ошибки будут отловлены.
Следствием использования Variant'ов будет некоторое уменьшение скорости выполнения кода. Но, по-моему, несколько микросекунд не большая цена за уверенность в коде.
Во-вторых, невозможно сымитировать необязательные аргументы. Приходится либо использовать полный список аргументов, либо ограничиваться необходимым минимумом. К примеру, метод Save класса NotesDocument имеет три аргумента, последний из которых необязательный. Я не помню случая, когда бы этот аргумент использовался, поэтому в библиотеке FakeObjects метод Save класса FakeDocument имеет только два аргумента. И в тестируемой системе придется использовать только такой вид метода Save.
В-третьих, не все методы Notes-классов правильно вызываются, если переменная, содержащая объект, имеет тип Variant. Я пока обнаружил один такой метод - NotesDatabase.Search. Подробности - в приложенном архиве. Там же описана и другая необходимость создания test-specific кода. При использовании ООП и коротких методов эти трудности также решаются.

Библиотеки LSUnit и FakeObjects выпускаются в Public Domain ("общественное достояние"). Вы можете делать с этими библиотеками что угодно. Неимущественные авторские права, естественно, остаются за мной. Автор не предоставляет никаких гарантий и отказывается от любой ответственности.

И, напоследок, две книги:

1. Джерард Месарош. Шаблоны тестирования xUnit. Рефакторинг кода тестов
Издательство: Вильямс, 2009 г., Твердый переплет, 832 стр., Тираж: 1000 экз.
ISBN 978-5-8459-1448-4, 978-0-13-149505-0

В этой книге есть все, что нужно знать об автоматизированном тестировании.

2. Майкл К. Физерс. Эффективная работа с унаследованным кодом
Издательство: Вильямс, 2009 г., Твердый переплет, 400 стр., Тираж: 1000 экз.
ISBN 978-5-8459-1530-6, 0-13-117705-2

Самое ценное в этой книге - это определение унаследованного кода. В ней сказано, что унаследованный (legacy) код - это код, не покрытый тестами. Ну и в качестве бонуса - несколько приемов для ввода унаследованного кода в инфрастуктуру тестирования.


Задавайте вопросы, постараюсь на них ответить.
Там стоят только две группы, которым разрешено отправлять почту в мир. И пользователь там есть. Остальные поля пустые. Так что не то. И проблемы решилась сама. Как подозревалось, проблема была на стороне получателя. Лично не связывался с ним, но проблема...
Народ, кто-нибудь настраивал бэкап на 8.5 с включением DAOS на базах? Какими средствами? Ибо вопрос очень актуальный.
Добрый день!
Стоит задача по переходу c Domino 7 на версию Domino 8.5, но клиенты временно планируется оставить на версии 7.
Хотелось бы узнать по производительности Domino 8.5 и клиентов Notes 7? возможно кто - либо использовал такой вариант, или видел что либо похожее в интернете. Пролопатил множество страниц но информации так и не нашел
Добрый день!
...
Интересные темы:
Список форумов:

Tips. Советы

Michael Brown offers "Part 1: Classes, properties and methods" in what he plans as a series.

Read | Permalink
Peter Presnell feels he may have gotten past kindergarten with XPages and object-oriented programming, maybe all the way to first grade, but...

Read | Permalink


AUTOMATE LOTUS NOTES USER ID MANAGEMENT
ID Manager 4.5 from HELP Software provides a new level of automaton for managing Lotus Notes IDs. ID Manager lets Lotus Notes administrators get out of the business of creating and managing user IDs. Use our ROI calculator to see how quickly ID Manager will pay for itself.

Learn more about HELP Software products

Mary Beth Raven is looking for your input again. This time she wants to know about making installation and setup for Foundations easier.

Read | Permalink
Interested in working on a Lotus project for eight weeks? Chris Toohey has posted information on a Remote Residency program, starting October 19, having to do with XPages.

Read | Permalink
By Joe Dolittle

It looks like our little DominoPower Q&A series has sparked off a trend. The good news is that it seems to really be helping people, because we get more and more letters asking for help.

The bad news is that most requests seem to fit a similar pattern:

I/we use Notes/Domino and I/we also use [fill in the blank] and sometimes also [fill in the blank]. How do I/we/my users/those dweebs in accounting use Notes, [filled in item 1] and [filled in item 2] together?

Sometimes, though, there's a twist. This time, I had no idea what our reader was talking about. Here's the letter from Xui Li:

We use Notes and Domino, but we also use BlueTwit to communicate on projects. Is there any way to integrate BlueTwit with Twitter.

Learn what BlueTwit is, and if Xui's question can be answered by tapping here.

Thomas "Duffbert" Duff says the brave folks who document Lotus Domino Designer, and create the Help system, are looking for your comments. Duffbert provides a link to help you have your say.

Read | Permalink


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

Tony Austin says the free "simple document management system" (SDMS) for IBM Lotus Notes and Domino version 4.5.00 has been released. He provides some screen shots to show you what's new.

Read | Permalink
Bilal Jaffery extends an invitation to Facebook users. Stop by the Lotus Knows page and say hello.

Read | Permalink
Steve Ballmer has offered IBM a bit of business advice, to be relevant in the tech market IBM needs to be more like Microsoft and gobble risky new ventures.

Read | Permalink

If you're in to this Twitter thing then you can follow me here.

I'm not an obsessive Tweeter (yet?) but I'll try and post stuff on a semi-regular basis and of slightly more interest than most of what gets spewed on to there.

Click here to post a response

So far, I've used Flex to deliver half a dozen applications to my customers. These apps are all out there in the wild, live and in use by real users. Flex is much more than a play thing for me.

Of these six apps, one was a company organisation chart (a customised version of iLog's Elixir components), another was a Web Service front-end emulator for a point of sale system. Two very specific apps. The other four however were all reporting systems.

Flex For Data Reporting

For me, Flex seems best suited when used as a reporting interface for "back-end" data that, more often than not, comes from an HTML front-end.

As a typical example, one of the applications I wrote had a traditional HTML form at the front-end. The webpage was publically available for anybody to come along, fill in their details and request a free voucher.

The HTML form part of the project was all very simple.

What would have been the hard part, had I not used Flex, is creating the back-end administration interface for all the requests. Somewhere for the site owners to view, accept, deny requests, manage voucher codes etc etc.

Flex Makes it Easy

It's not that it's particularly hard to create an admin interface in traditional HTML. It's just that it would be time-consuming and cumbersome to design the interface and then decide on a JavaScript library and CSS framework to use, tie all the user actions to the back end via Ajax etc etc etc.

With Flex it's a breeze to knock up an interface to it all. At its most simple you just add an AdvancedDataGrid control and tie it (via an HTTPService) to the XML feed of requests from the backend. Then you start the fun part of adding the buttons, filters, charts etc that turn a "view" in to a fully-functional app. All that in a fraction of the time it would take in HTML (and dare I say it, xPages?). Add in the fact a vanilla Flex app looks way, way better than a vanilla HTML/xPages app and it's a definite winner every time. Trust me, customers love it.

Knowing When To Use Flex

Now you might be thinking I could have done the whole thing in Flex and used it on the public-facing web form. This is where you need to use caution with Flex.

Although I love Flex I don't want to fall in to the "when all you have is a hammer..." trap and use for absolutely everything.

Where I tend to use Flex is for apps with a limited and defined audience, such as the administrators of the above voucher request system. In that case about 3 or 4 people who I knew to have Flash installed.

While Flash player is, apparently, installed on +95% of browsers (??) that shouldn't be taken as the green light to go using it willy nilly. Use it when you know your audience and when a traditional HTML solution wouldn't suffice and/or be easier in the first place.

Example Reporting Interface

Next post (tomorrow perhaps) I'll show an example of how powerful Flex can be at visualizing backend data. In it I'll offer a fresh take on the concept of categorised views!

If anybody fancies proving me wrong about a) being able to do it in xPages and b) doing it faster then see the next entry for what your goal is. I'd be interested to see if xPages were up to it.

Click here to post a response

As promised yesterday here's an example of a Flex app that does some basic data reporting on a set of backend documents.

For the sake of demonstration I've invented a Staff Skills Database. Each document records a member of staff and what programming skills they have.

In the Notes client the "person" document look like this:

image

In reality the form is more likely to be web-based but I want to keep this simple for the sake of the Flex demo.

All very straight forward, no?

The screengrab below is of a standard Notes view showing the staff documents. The first column is categorised by the multi-value Skills field and shows documents with more than one value in more than one category. The last column of the view reports how many people have that skill. Still, all very simple and standard Notes stuff.

image

This is all very well, but how do we represent this on the web and, more specifically, in Flex.

Categories On The Web

There are various way of representing Notes categorised views on the web. They all seem to try and mimic the Notes view paradigm though and I've never really understood why. The web isn't Notes, so why try and fool users in to thinking it is!?

In Flex the data consumed is, most likely, going to be XML. In XML a document with a multi-value field would be represented like so:

<document id="JHOT-7WBJWG"> <name>Aaliyah Andrews</name> <age>26</age> <gender>Male</gender> <dept>Sales</dept> <categories> <cat>HTML / DHTML / XML</cat> <cat>Perl/CGI</cat> <cat>SQL</cat> <cat>Java Developer</cat> </categories>
</document>

Using this data structure it's possible with Flex to "categorise" the documents without having to load the same document over and over again for each category, which seems a silly way of doing it.

Traditionally, if you have 10 categories and 100 documents, which happen to be in all ten categories then you'd have to load 1,000 rows of data.

Why not just load all documents once and process the data client side? That's what I've made Flex do. Here's the example (click to go to the demo):

image

Let's take a closer look:

image

The left hand pane is a list of all the skills and includes a count of the number of staff with each. Selecting any one skill filter the grid (view) to only show staff members with those skills.

Much better than a drop-down box to select a category and have it fetch a new set of documents each time, no?

Although I've put the title "By Category" above the list I don't think I'd do that in a real world app. That's just for us. In reality I'd avoid the use of the word category completely.

Other Features

Some other cool features of the demo:

  • Notice you can filter the grid using the search field above it. This is in combination with the skill selection from the left. So if you have a skill selected the search operates on that subset of document.
  • You can "group" the view using the checkbox top-right. This is more normally what we'd call categories.
  • Below the view is a tally of the number of documents currently being shown.
  • Bottom right of the view is a button to copy the currently displayed documents to the clipboard in CSV format.

It's worth looking at the XML consumed by the Flex app. Notice that almost everything is controlled from there -- what columns to add to the view and in what order, which of the columns can be "grouped" and which are to highlight matches from the search field. The XML also defines the whole set of categories/skills as well as storing all of the documents for the demo. All this in one hit!

Drawbacks

Hopefully, once fully loaded, you'll be amazed at how quick the filtering works. Both when selecting a skill and/or using the search field. That's because it's not going back to the server each time.

To be able to avoid a server round-trip each time you need to be confident that the dataset is never going to grow to the point where it's not practical to load it all in one go. In this example we're loading 2500 staff members and the load is ~600kb.

If your dataset is likely to grow without bounds then the approach falters a little. It can still work, but would need to go the server each time you select a category or use the search field.

Summary

The concept of the staff skills might be a little bogus, but hopefully it gets the idea across? There are always different ways of doing something that has always been done the same way in the past.

The code for the Flex app and Notes database is coming tomorrow/later on, along with a bit of a challenge for any XPage lovers.

Click here to post a response

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

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

Author: Lisa Duke
Tags: Calendar Notes Lotus Notes Clients Lotus Notes
Idea:
With ghosted appointments, we are all now spolied and in the habit of just looking at the calendar rather than messing with each calendar thingie in Notes.  The only problem is, if a meeting has been cancelled or updated, there's no way to know without double clicking on the calendar item.  It would be nice if in the calendar view Items with updates had some sort of indicator - maybe a red ! or other item where the clock or mail icon shows - so that at a glance I know updates have been made to that appt.
 
Another option would be just to move them and show the new time as ghosted.

Author: Mike Perrett
Tags: contacts whitelist mail notes client
Idea:
Hi I'd like to see a feature in the Notes client that has become a staple in the OpenNTF Mail Experience Template.
 
Specifically, provide a mail rule to enable your synchronised contacts to be used as a whitelist. Thus, any mail from a sender who is not in your contacts list, will end up in the junk mail folder.
 
Its a rule I use all the time, and if it were part of the core Notes mail template then I'd be able to use other corporate customisations.
 
And as it is implemented as a rule, if you don't like it you don't have to use it.
 
How likely is the cross pollination of such a feature? [I know the blog template was integrated into the product, so it can't be that hard].

Author: Alan Dalziel
Tags: admin console filter
Idea:
When trying to run a compact on a very busy mail server it's almost impossible to catch the success/failure message on the server console, and refreshing the tasks view only lets me know when it has finished.
I'd like to have the option to select the tasks that I want to see messages from on the server console e.g. select Compact as the task, and all I get on my console is the messages from the Compact task - nothing else. Select Router and Replicator, and only those messages are visible.
The current console filter is a server side option, and is only based on message priority, not source.

Author: Peter Presnell
Tags: ssjs watch
Idea:
One of the JavaScript functions that appears to be missing from SSJS is the watch() function that allows me create an event whenever a variable (property) is changed.  This would be a big help with OOP to allow developers to create global variables for all properties and then trap each time the variable is changed and save the change in the NotesDocument/NotesXSPDocument much like can be done with a Property Set statement in LotusScript..

Author: Denny Russell
Tags: daos logical size
Idea:
When viewing the database properties of a file that has DAOS enabled on it, the properites show the Logical size (which is the database size if it still had the attachments).
 
I believe this should show the Physical size which is the true size of the database.
 
If you are writing an agent that manages databases based on size, this could become an issue.
 

Chuck Imperato and Bob Balfe from IBM have created a new project - Custom Actions Library. The following text is from ...
Author: Paul Davies
Tags: bookmarks
Idea:
 
It has not been updated since R6, but I've just run it on an R8 client to remove an old server name from all the bookmarks, and it worked perfectly.
 
This tool really ought to be incorporated into the Notes client as an associated program, or at the very least have its documentation and install brought up to date.

Author: Patrick Kwinten
Tags: folder icon
Idea:
This idea came after reading a post of Stephan Wissel:
 
http://www.wissel.net/blog/d6plinks/SHWL-7WD9EK
 
All my folders look the same (and boring). It would be nice if I could define which icon I want to use for a folder (similar as in Windoooows)

Еще записи:
Интересные блоги специалистов:

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

Chat History - Save to mail file preference does not obey policy
Lotus Notes 8.5 and 8.0.2 with Lotus Connections Business Card 2.5 Plugins installed have two sets of Preference pages. There are both an Activities preference page, and a Connections preference page.
How can I use the InstallShield Tuner kit "Product Properties" > "Default Destination Path" to modify the Notes install path?
Third-party tools sometimes require the use of an .MSI to deploy the installation of a Fix Pack in Lotus Notes 8.0.2.x or 8.5.x. This technote describes the steps necessary to first create a .MSI file and then describes how to run it.
If JDK 6.0 is upgraded to SR5 and later or JDK 5.0 is upgraded to SR10 and later on IBM i, when selecting Spell Check button from iNotes, it will always return "No spelling errors found" although there are some misspelled words.
The Notes Standard client is extrememly configurable. You would like to find out what settings to add to the /framework/rcp/plugin_customization.ini.
A policy to push out condensed (mobile) directory catalog(s) will successfully create icons on the workspace, but will also create bookmarks contained inside a folder with no name.
When you use File --> Print Preview to preview e-mails in Lotus Notes that were received from the Internet, the attachments for MIME messages do not display. The attachment icon is missing.
This document explains where to obtain and how to apply Lotus Domino 6.5.5 Fix Pack 2.
A DAOS implementation is seeing more than 40,000 .NLO files created in a single DAOS subdirectory. The daos.cfg file is read incorrectly.
When using ncompact from a command prompt to compact a local desktop8.ndk, nothing appears to be recovered
When trying to open the "Status" tab from the "Server" tab in the IBM Domino Administrator, I am getting an error message stating "No response from Server for this command".
This article details two different approaches that you can use to accelerate and simplify the development of new widgets for IBM® Lotus® Connections.
This article introduces the IBM®-developed iWidget specification used in various IBM products such as IBM Lotus® Connections 2.0. It describes different aspects of the specification through a practical example, which shows how to implement an iWidget that acts as a wrapper for a Google gadget.
В этом техническом документе рассматриваются вопросы, с которыми клиенты чаще всего обращаются в службу технической поддержки IBM при развертывании сервера IBM Lotus Domino.
Также почитатай:
Найти документацию можно на сайтах:

В избранное