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

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

  Все выпуски  

JavaCompilerTarget


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

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

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

comp.soft.prog.lotuscodesrore

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

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

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

Добрый день!

Попробуйте вариант описанный здесь
Всем привет!
После обновления Domino c 6 до 8.0.2 FP2 при генерации письма агентами в заголовках появилась данная строчка Auto-submitted: auto-generated, как от неё можно избавиться?
Добрый день!
Попробуйте вариант описанный здесь
Добрый день!
Попробуйте вариант описанный здесь
Добрый день!

Попробуйте вариант описанный здесь
Помогите с реализацией Reply to sender на LotusScript
Есть база данных ДО
Есть сайт
Необходимо с сайта иметь возможность контроля исполнения заявки
Хотелось бы создать Mail Agent который при поступлении новой почты на ящик анализировал бы тему и формировал ответ на основании статуса документа из БД ДО.

извиняюсь не там создал
Помогите с реализацией Reply to sender на LotusScript
Есть база данных ДО
Есть сайт
Необходимо с сайта иметь возможность контроля исполнения заявки
Хотелось бы создать Mail Agent который при поступлении новой почты на ящик анализировал бы тему и формировал ответ на основании статуса документа из БД ДО.
Если я правильно понял вопрос, то...

Lotus Notes Client - Edit Current (Изменить подключение - в правом нижнем углу, если клиент - русский) - Display alternate names
Повторному запуску клиента могут мешать следующие задачи:
...
Теперь и ИБМ написала статейку о ДАОСе - Достижение максимальной экономии благодаря использованию DAOS в IBM Lotus Notes и Lotus Domino 8.5
С четким примером на самом ИБМ wink.gif
Теперь и ИБМ написала статейку о ДАОСе - |#^#]>Достижение максимальной экономии благодаря использованию DAOS в IBM Lotus Notes и Lotus Domino 8.5|#^#]>
С четким примером на самом ИБМ wink.gif
Повторному запуску клиента могут мешать следующие задачи:
...
Здравствуйте все!
Ситуация: пользователь создает отклик на документ. При попытке сохранения отклика вылетает сообщение (скопировано Ctrl+C)
---------------------------
IBM Lotus Notes
---------------------------
#02:0A
---------------------------
ОК
---------------------------
Отклик не сохраняется. Для других документов отклики создаются/сохраняются без проблем. Сравнивал "волшебный" док по полям с другими доками, ничего криминального не нашёл. Кто подскажет, как лечить и как избежать в будущем?

Интересные темы:
Список форумов:

Tips. Советы

Mary Beth Raven has good news for those who use the Notes Workspace - in 8.5.1 it will have the ability to roam with you to another computer via replication.

Read | Permalink


PISTOLSTAR: LOTUS NOTES AUTHENTICATION THAT BREAKS THE STATUS QUO
Password Power's complete integration with the Microsoft Active Directory password enables Notes client access, ends time-consuming Notes ID password recovery and addresses known issues with Notes 8.5:
  • Passwords are encrypted in volatile memory - not stored on user's hard drive
  • Notes roaming capabilities are fully functional - not limited
  • Password checking is honored - no decreased security or failed compliance
  • All Notes ID file copies are synched automatically with Active Directory password - no remembering old passwords or restoring ID files


Learn more about Password Power's powerful, advanced functionality.

Jeremy Hodge posted some code on this subject recently. Unfortunately it used something in the background that wasn't included. Jeremy has corrected the code and reposted it.

Read | Permalink
John Rowland got a call from an admin whose server had crashed without producing an NSD file. After re-installing Domino, and several other things, he found the guilty file. Just one little, 1K file...

Read | Permalink
John Kingsley wants to know if you've checked your database catalog recently to see what it has to say about eliminating unneeded items. He provides a handy checklist to help you understand the information logged.

Read | Permalink


MARK YOUR CALENDAR FOR IN-DEPTH LOTUS TRAINING, MAY 12-14, 2010, BOSTON
Register by December 31, 2009 to save $350.

iDefense Labs has discovered a potential keyview buffer overflow vulnerability in Lotus Notes. The problem has been noted in version 6.5, 7.0, 8.0, and 8.5. This Technote includes links to patches and workarounds for the issue.

Read | Permalink
This developerWorks article is the third in a three-part series on SSO. It includes information on enabling debug and trouble-shooting error messages on Domino.

Read | Permalink
IBM is changing their Support Portal. Ulrich Krause provides some links to the new portal and some videos on how to use and customize it.

Read | Permalink


MARK YOUR CALENDAR FOR IN-DEPTH LOTUS TRAINING, MAY 12-14, 2010, BOSTON
Register by December 31, 2009 to save $350.

Victor Toal has posted a number of links for this Open Mic call, other Technical Exchange Events, the Knowledge Collection, and more to help you prepare for the event.

Read | Permalink

Two weeks back I was talking about using JSLint to keep your JavaScript tidy. As I said at the time, the reason I was doing this was so that I could pack the code without too many issues. The tidier the code more likely it will pack well.

By "pack" I mean run it through a process that will remove all the whitespace, comments and (where possible) rename the local variables to use shorter names. Packing can also be known as compressing or "minifying". Basically, it reduces the size of your JavaScript files and hence the time it takes the browser to load them. Faster load time = happier users.

Example

As I mentioned in the post on tidy code the other week, the JavaScript file I'd written ended up being about 3,000 lines and 90kb. Not massive by today's standards, but consider I was writing it for use on mobile devices and you can imagine the issue. Some of the mobile users would be on a GPRS network. Any reduction in file size would offer them a much faster download.

In the end, after looking at the various options available, I managed to get it from ~90kb down to ~50kb. Not bad.

The Easy Option

The easiest way to pack your JavaScript is to use one of the online tools, where you paste your code in to a box, press a button and then copy the returned code. There are two I looked at:

  1. Packer - Seems very, very fussy. The Base62 encoding seems to offer the best compression, but I just couldn't get the resulting code to work.
  2. JSMin - Seems to work and with respectable compression results.

In the end though I went with another option.

The Best Option

What I found to be the best option is definitely the YUI Compressor. It's a bit more effort to use, but, while it doesn't necessarily offer the best compression, it is very reliable.

Don't be fooled in to thinking the one that compresses your code the most is the best. Wait until you've pasted the compressed code back in to your app and see if it still works. There's a chance it might not. Some browsers seem fussier than others. For me the target browser was IE Mobile. As you can imagine it was quite fussy!

The YUI Compressor is a Java app, so you need to download and save the Jar file to your PC somewhere. To make it easier to use I renamed the Jar file and put it in a folder with a BAT file I wrote:

ScreenShot004

The Bat file looks like this:

java -jar yuic.jar --type js --line-break 1000 -o Offline.js Offline_src.js

Should be obvious what it's doing -- it tells Java to run the Jar file in the same folder and passes a set of parameters to it. The parameter following the "-o" is the output files destination and the final parameter passed is the source file of uncompressed JavaScript.

So, all I have to do is paste the code I've been writing in to the *_src.JS file and then double-click the packit.bat file. This then creates (or updates) the Offline.js file with the newly compressed code. I then copy the code from there back to Domino.

Notice the line-break parameter which I've used to tell the compressor to add a new line break every 1000 characters. There used to be a nasty bug (still is?) in Domino Designer where it would crash if you pasted in two much code in to a JavaScript Library that was all on one line. Having been burnt by it a few times I've never dared see if it's been fixed now and still make sure it's split over multiple lines.

Making Development a Little Easier

As you can imagine, having to copy/paste back and forth between files on disk and Script Libraries in Domino can be a bit of a hassle. Especially if you're still in development.

To get round this you can do a couple of things. Firstly, don't start using a compressed version of the code until you're all but done developing. Just before you start final testing, do the compression and test with that instead. Don't test and then compress and expect all to be fine - compression could introduce bugs!

When you do compress you can start using two files in the NSF. Here's the *_src.js file in Domino:

ScreenShot002

This is where you would carry on doing your development/coding, before passing to the compressor each time. Here's the same compressed version, which would, ultimately, be loaded by the user:

ScreenShot004

 

To distinguish between you, the developer, and a user you can add a special URL parameter on (&dev=true) and then in your HTML load either the _src file or the compressed one.

There are lots of different ways of doing it. It's whatever suits you best really. Ideally we'd be able to compress straight from within the NSF. This should be possible with a combination of the Domino Aptana plugin and this plugin from RockStarApps, which should allow YUI compression from the toolbar, although I can't get it to work. Let me know if you do.

Click here to post a response

I got bitten yesterday by my own stupidity, while trying to "improve" some code I'd inherited as part of an app.

The code looked something like this, in essence:

function callRepeatedly(){ document.getElementById("updateMe").innerHTML=  new Date().toString();
} function callOnce(){ callRepeatedly(); window.setInterval("callRepeatedly()", 5000);
} window.onload = callOnce

You can probably work out that the page it lives on has an element's HTML updated every five seconds to the current time. Pointless I know, but stick with it.

Always thinking I know better I looked at the code and thought I'd make it simpler by removing the callOnce() function, which seemed redundant to me.

My re-factored code looked like:

function callRepeatedly(){ document.getElementById("updateMe").innerHTML= new Date().toString(); window.setInterval("callRepeatedly()", 5000); } window.onload = callRepeatedly

This shorter bit of code did the same thing and less code is always a better thing, right? When the page loaded the element got updated and a "time out" was set to do the same every five seconds.

I made the change and thought nothing more of it. That's when the issues began. The website starting hanging the browser (100% CPU leading to forced closing of the task!) if the browser was left standing for more than about 10 minutes.

At first I had no idea what was causing this and it took me hours and hours to work out it was because of the "improvement" I had made to the above code.

Can you see what was causing the browser to crash? Top prize to anybody who can!

Click here to post a response

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

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

Author: David Bailey
Tags: workspace
Idea: Google Mail and Google Reader display the unread count in the browser tab. I would like to see this in Notes Client Workspace tabs, too.
Author: Egor Mozhaev
Tags: profile photo avatar IdeaJam participant
Idea:
Does an IdeaJam participant need a possibility to upload his or her profile photo or avatar?

There is a new project called the Bookmark Viewer for IBM Lotus Connections Dogear that displays bookmarks from Dogear in Lotus Notes. Hanspeter Jochmann from IBM Germany has contributed it. It is a sample application that shows how to use Notes ...
Author: Michele McConomy
Tags: status front page views
Idea:
In addition to categories and tags, the status should be displayed, potentially to the right of those other items for each idea on the front page, subsequent page views. 

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

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

Explanation: The JavaCompilerTarget INI setting lets you use features specific to different Java Development Kits (JDKs). You can set this variable to any value between 1.1 and 1.6, and then restar
Seeking authors for this content. Would you like to contribute to our technical content and earn points through the developerWorks Author Achievement Recognition program? This article would describe
Seeking authors for this content. Would you like to contribute to our technical content and earn points through the developerWorks Author Achievement Recognition program? This article would describe
Lotus Support Technical Exchange is a series of webcasts and Open Mic conference calls where technical experts share their knowledge and answer your questions on specific technical topics.
iDefense Labs contacted IBM Lotus to report a potential keyview buffer overflow vulnerability in Lotus Notes. In specific situations it was found that there is the possibility to execute arbitrary code. To successfully exploit this vulnerability, an attacker would need to send a specially crafted Microsoft Excel Spreadsheet (XLS) file attachment to users, and the users would then have to double-click the attachment and select "View". Link to iDefense advisory http://labs.idefense.com/intelligence/vul
IBM Lotus Support Engineers and Development will be hosting a Support Technical Exchange Open Mic call with customers on the topic of Upgrading to Lotus Domino 8.5 on Thursday, August 27, 2009 at 10:00 AM Eastern Time (2:00 PM GMT)
To customize the contact mappings (change Domino field name used) in Lotus Traveler perform the following: Create a custom design template from the one shipped with Lotus Traveler and add it to t
Blackberry devices cannot process calendar entries when either the display unprocessed notices or the process cancelled meeting automatically option is set.
This document provides download information for IBM Lotus Notes and Domino 8.0.2 Fix Pack 2 (8.0.2.2).
Converting a mail database from an 6.x or 7.x mail template design with the out of office agent enabled to an 8.x mail template design causes the agent to send replies to messages previously replied to again and respond to all newly received messages.
You are running a Java application to communicate with Domino over DIIOP. As the network latency increases between your application and the Domino server, you notice the overall run time of your Java application is increasing by a multiple of the latency.
Также почитатай:
Найти документацию можно на сайтах:

В избранное