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

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

  Все выпуски  

Бюллетень "Lotus Notes CodeStore" No 139 от 2009-02-09


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

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

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

comp.soft.prog.lotuscodesrore

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

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

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

Мы уже разобрались с этим вопросом
Добрый день.
Lotus 5, Windows XP SP3

Не происходит выбор данных при передачи кириллического параметра:


QueryExp="select * from poz t "&_
"where t.ID like ?first?"

Set QryExp.Connection = con
QryExp.SQL=QueryExp
Set resultExp.Query = QryExp


If Not ResultExp.SetParameter(1,"'А%'") Then Exit Sub 'киррилический параметр


print cstr(ResultExp.GetParameter(1)) 'выводит 'А%'
If Not resultExp.Execute Then
Print resultExp.GetExtendedErrorMessage
exit sub
End If
print cstr(ResultExp.GetParameter(1)) 'выводит '·%'


If resultExp.IsResultSetAvailable Then
Print "ALLGOOD"
End If

При выполнении простого запроса без параметра
QueryExp="select * from poz t "&_
"where t.ID like 'А%'" всё работает (т.е. драйвер ODBC работает корректно )

Как передать кириллический параметр?
Менял кодировку в реестре Windows - не помогает.
User Preferences - International - CodePage 1251

Мы уже разобрались с этим вопросом
И какое же решение? Я думаю остальным тоже будет интересно послушать. Может у кого-то тоже возникнет такая проблема
Цитата
Лотусблть!

Вот как-бэ так вот собрать всех разработчиков Lotus Notes в одном месте, и запретить этим цензура цензура цензура цензура .
А потом сжечь.
До чего-ж цензура система... На редкость... Просто таки эталон цензура.

Вот так вот думает товарисч Necroscope |#^#]>отсюда|#^#]>
обьявляем флешмоб-с
предлагаю для начала уточнить на каком сервере находится проблемная АК и в ней проверить password digest пользователя, возможно проблема с репликацией
если это так то заставить отреплицироваться изменения в АК
возможно проблема была связана с выбором location?
либо сервер не запущен либо у админа отсутсвует(или неправильно заполнен) документ соединение на сервер и имя сервера не разрешается в ip.
а если подставить в запрос полный путь до настроеной страницы, отобразится правильно?
предлагаю для начала уточнить на каком сервере находится проблемная АК и в ней проверить password digest пользователя, возможно проблема с репликацией
если это так то заставить отреплицироваться изменения в АК
а если подставить в запрос полный путь до настроеной страницы, отобразится правильно?
возможно проблема была связана с выбором location?
либо сервер не запущен либо у админа отсутсвует(или неправильно заполнен) документ соединение на сервер и имя сервера не разрешается в ip.
АК находится в организации /Acme, но попасть надо в /Gambol, где в своюю очередь настроен DA, который лезет в АК на /Acme и смотрит оттуда пользователя.
И внимательно прочтите пост от 13.янв.2009 05:15
Да, если указывать полный путь с указанием базы, то отображается нормально. Нигде не могу найти инфу о том, как работает в связке ICM и Internet Site
Интересные темы:
Список форумов:

Tips. Советы

By request, today I'm going to talk about user-based "hide whens" in Flex. Before we can do this we need to know as much as we can about the user.

Remember ages ago I talked about the "DEXT" object for JavaScript? Well, I've converted it in to a Flex-ready XML version, which you can see here.

By having Flex fetch this XML we know all we need to know about the user and whether to show them certain features. For example, here's the Simple app we're working on before the user has logged in:

ScreenShot001

Notice it says "Welcome Anonymous", there's a Login button and the "Create New Car" button is disabled. If you were to click the Login button and login (which you can try in the demo) you'd then see the screen re-adjust itself to look like this:

ScreenShot002 

Notice that Anonymous has been replaced with the user's name, the Login button now says Logout and the new Car button has been disabled.

How Did It Do That?

The key to all this is binding. Let's look at the new Car button:

ScreenShot004

The enabled property of the button is tied (bound) to the last XML result of the httpSession object, which is used to fetch the user-defining XML from the server. Whenever the httpSession fetches the XML again the lastResult updates and so then does the enabled property of the button as they're bound together. There's no need to do anything other than trigger a request for the XML.

The same is true of the user name display and the label of the "login" button:

ScreenShot005

Sorry about the blurry images. You can see the code in full by right-clicking the demo.

So, do you get the notion of binding? Clever init!?

The only other note-worthy addition is the login dialog. Notice in the source code that there's now a new file called Login.mxml. This is a component. The idea being we can separate the login/out logic from out app and re-use it elsewhere. I've made a bit of a mess of it, but you get the idea.

Note that by creating components as separate files you can reference them in code by that filename as the name of the object. For example our code does this:

ScreenShot006

Notice we've created an instance of the Login component called loginWindow and then opened it using the PopupManager.

What Next?

I've been asked to talk about charts with Domino data so I think I'll cover that next. Then I'll probably talk about creating forms/document from Flex. If I get chance I'll re-factor all the code and then make it available for download again.

Click here to post a response

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

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

Author: Sean Burgess
Tags: replication replicator tab locations
Idea:
Whenever you create a new local replica of a database, Notes automatically adds the database to the Replicator page so that future scheduled replications will include this new replica.  For a person who uses only 1 Location, this is fine and works as it should be.
 
But if you have mulitple locations that point to different ideas, this becomes problematic because it causes the new databases to try to be replicated in all locations.  This will cause issues when you are using a location that uses a different ID that doesn't have access to the server that this new replica is replicating with.  This is especially important to consultants to have multiple clients that they replicate with.
 
I think it would be more beneficial to enable replication for the new replica only for the current location and allow users to enable it when they switch to other locations.

Author: Caty Kenneth
Tags: location friends
Idea:
Using the mobile phone location, sametime should show the country or city where the user is located

Author: Keith Brooks
Tags: runtime nsf
Idea:
In trying to create a demo for a client, which I will not be at and is NOT a Lotus shop, I wanted the intended customer to be shown the demo fo the db by the partner/sales team which brought me in.
One problem, they don't have a notes client or know anything about it so how can i create a notes nsf db as a demo?
My only solution so far is to make it http enabled and hope its "good enough".
This is NOT good enough.
Why is there no way to wrap a db in a runtime like in almost any other application?
If someone has a better way out, let me know.
DOLS was mentioned and i will try it but not sure it really will do what I want.
EMail me or ST me or IM me or twitter me with inputs.
Keith Brooks
http://lotustech.blogspot.com
twitter: lotusevangelist

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

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

Type-ahead does not resolve to names in the Domino directory. It only seems to work in the local address book.
This technote maps menu choices in Notes 6.x/7.x to the equivalent menu choices in Notes 8 In all Notes releases, different menu choices appear in different types of databases and in different locations of those databases (certain views, view level, document level, etc.), and some menu choices will be grayed out in database while available for selection in others. This cheat sheet simply points out whether a menu choice in Notes 6/7 is now different in Notes 8 and where to go for that same function.
How can you prevent users from changing their default mail client from Notes to some other program?
Beginning in Notes 7.0.2 the preferred way to enable Smartcards for Notes login is to secure the ID file using a private key from a personal Internet certificate stored on the Smartcard. Because this
The system administrator would like for his users to not be required to know their home mail server and other typical notes values that are needed to initially configure a notes client. The administrator understands that this process can be automated through a scriptable setup interface for Windows based Notes clients and would like to know if the same process can be used to automate the initial configuration of a Lotus Notes for Linux Client.
Opening an archived document in an archive database that was upgraded from a Lotus Notes/Lotus Domino 6 release to an 8 release results in errors. Why does this happen?
Smart Upgrade Run-As (SURunAs) is a utility that allows an administrator to wrap an install kit in a program that will allow that install kit to be installed on a user's machine, even if the user doesn't have local administrator privileges. This utility is designed to be run with Smart Upgrade, and works by creating an executable that wraps up the administrator's credentials and the Smart Upgrade kit into one executable, which "runs as" the administrator when it is launched by Smart Upgrade on an end user'
You are planning a deployment of several Lotus® products that include Lotus Sametime® instant messaging functionality and need a side-by-side comparison of the different feature sets included in each entitlement.
You have configured Lotus® Sametime® to authenticate against an external LDAP source such as Tivoli® Directory Server, Microsoft® Active Directory, or Sun One. Is it possible to use the Notes® Calendar to schedule on-line meetings with the Sametime Server?
In Lotus Notes 8 releases, the Synchronize Address Book menu option is no longer available. Has this menu option been discontinued?
If a user fails to log into Lotus Notes numerous times by repeatedly entering incorrect passwords, Notes does not have a lockout feature that excludes users who experience numerous consecutive login failures.
Is there a way to programmatically change Database Properties for a Lotus Notes/Lotus Domino database?
During an upgrade of a Domino server the installation has finished and then a screen appears with the error "Invalid Parameter Encountered".
A Domino server upgrade from a Domino 8.0 version to 8.5 starts crashing when PHP scripts are requested through HTTP.
When saving an attachment with Domino Attachment and Object Service enabled on the Domino 8.5 server, the error "unable to write to the file" is seen on the server console. This results in the attachment being stored as a NSF file instead of a NLO file in DAOS.
Также почитатай:
Найти документацию можно на сайтах:

В избранное