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

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

  Все выпуски  

LO49880: MEMORY LEAK IN JAVA AGENT WITH ATTACHED JAR FILE


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

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

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

comp.soft.prog.lotuscodesrore

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

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

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

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

Tips. Советы

Victor Toal says, if you have experienced a server crash on Domino 8.5.2 when users sync unread marks, you may want to get Hot Fix 1. HF1 fixes this regression bug.

Read | Permalink

Jens Bruntts is working on a composite application for the Lotus Notes Client but has run into an issue with a disappearing toolbar. Jens isn't sure whether to call this a feature or a bug.

Read | Permalink
Robert Ibsen Voith warns, this could crash your Notes client but, if it works properly it will allow you to extract all kinds of data from fields in Notes databases. He includes a link to the download if you're willing to beta test.

Read | Permalink
Patrick Kwinten is using the tagcloud control from the Extension library on OpenNTF. Though he's specified different targets, they keep pointing to the same place. Patrick is hoping someone can explain this to him.

Read | Permalink


LEARN XPAGE DEVELOPMENT IN YOUR OWN OFFICE/HOME!
Learn XPages at your own pace and at your place with TLCC's XPage courses. Unlike video offerings, TLCC's courses include many demonstrations and activities you do "live" in Domino Designer. An expert instructor is a click away if you need help. TLCC has two XPage development courses, each one is four days of training. Learn XPages from the Leader in Notes and Domino Training!

Tap here for more information and to try a free demo course!

Bob Balfe is curious to know if you use the OSGi-EventAdmin-Service in Eclipse. He's included a link to an article explaining how it works.

Read | Permalink
Steven Vaughan has posted instructions on how to use the cluster copy commands to create new copies of Notes databases.

Read | Permalink
Martin Humpolec needed to recover a Notes archive recently. After the usual fixes failed, he found a third-party application that did the work. He's included a link for more information.

Read | Permalink


POWER TOOLS 7.0 IS A SET OF 98 ADMINISTRATIVE UTILITIES FOR LOTUS NOTES & DOMINO
Power Tools simplifies management of the Notes/Domino environment by automating routine tasks. Power Tools can manage or monitor mail files, groups, ACLs, agents, LOG.NSF, templates and more.

Download a trial version from helpsoft.com.

Phil Salm says CDW is looking for a Notes professional with strong experience in Sametime. He's included a link with full information on the position.

Read | Permalink

We had a brilliant Christmas in the Howlett house. As usual, I didn't work between 24/12 and the new year. Instead I spent some quality time with my family. I'm a very lucky man to be able to do so.

To remind me just how lucky I am, this Christmas, a series of unfortunate events left me with the sense I was being sent a message from above.

23rd December: I attended Karen's step dad's funeral. He was 62. A timely example of what alcohol and tobacco abuse can reduce the human body to. The funeral wasn't very well attended at all.

Christmas Eve: we woke to find our boiler had stopped working. I've known for months we needed a part replacing but didn't realise it would suddenly break or that it might happen on Christmas Eve in the middle of a unseasonably-cold spell. Despite Karen declaring "Christmas is ruined!!" we managed to get hot water and heating back just after lunchtime. It only cost forty pounds (including part) thanks to a plumber with a conscience.

Christmas Day: I pulled a muscle in my lower back while putting my pants on. You may well laugh but I was in agony for about 6 days after and was unable to dress myself or do much by way of helping Karen with the kids. Simple things like getting out of a chair took forever and bending over was impossible. You don't realise how much you use your back until you damage it. Especially when you've got 3 little ones.

What did I learn? Not to take for granted the fact I am alive, surrounded by friends and family, healthy, able-bodied and have a warm house to live in.

A few days after Christmas I was at the local park pushing the kids (as far as my back would allow) on the swings when an elderly gentleman (with a white beard IIRC) walked past and said "You're a very lucky man!". It was like something out of a cheesy Hollywood moment. You couldn't have made it up.

Saying you'll appreciate how lucky you are is easily said. Actually being appreciative and not taking things for granted is much harder. I'm going to try though.

Here's to 2011.

Click here to post a response

Recently I created a MySQL database for a CMS for websites that promote "venues". Each of these websites could be accessed via any number of domain names and I needed a way to tie incoming URL request to the right Venue.

To match a request to a venue I added a table called "Domains", which looks like this:

image

Notice how each of the 4 venues has multiple web addresses, but always only has one preferred address.

In PHP we can use the variable $_SERVER["HTTP_HOST"] to find the domain of the incoming request. We can then find the target Venue from the above table by using the following SQL:

SELECT venues.*, domains.domain as preferred_domain
FROM venues INNER JOIN domains ON venues.venue_id=domains.venue_id WHERE venues.venue_id = (SELECT venue_id FROM domains WHERE domain='www.royaloakpub.org') AND domains.preferred=1;

The trick here is the nested SELECT statement inside the WHERE clause. A new one on me. My approach to mastering SQL is to assume everything must be possible. This one had me stumped at first for a while, but I persisted and found the solution in the end.

The above SQL tells us - for each request - what Venue we're dealing with and, also, what the preferred domain for that Venue is.

As an example of the above, notice how www.royaloakpub.org serves the same content as www.peakpub.co.uk. Notice in each site's HTML source that the canonical link meta-tag always points to the preferred domain, which is peakpub.co.uk in this case.

Ideally each Venue's website should always have a single domain name in use, but, you know how it is, it's never that simple is it? To get round the negative SEO effect in this case I used a meta tag but I could just as well have done a 301 redirect if the preferred domino weren't used.

Click here to post a response

For the ten years I've been running this site the square bracket has been the bane of my life.

I compose all of my blog posts in Windows Live Writer. Every now and then I include code snippets. If the code uses square brackets, which it invariably does, then it makes publishing the post a real pain in the backside.

I tend to use TextPad to create highlighted code, as it lets you copy as colour-coded HTML. Take this simple code nugget:

image

TextPad produces HTML that looks like this:

image

Nothing wrong with it, per se, but seasoned Domino-heads will see the problem immediately. If you stick this in to a Domino document then, when Domino outputs the content to the web, it will assume you want to turn on PassThru HTML mode. The results vary but at the very least you lose the square brackets and the code snippets becomes unintelligible.

The fix I've always used involves me launching Notes, finding the CodeStore database, opening it, finding the most recent blog document, opening it in ScanEZ, replacing square brackets with [ and ] before saving the document.

Now though, I've changed the Java Agent that Live Writer posts to and made it replace the brackets for me. Here's the test:

 for (var i:uint = 0; i < people.length(); i++){ items.setItemAt(people[i], token + i); }

Fingers crossed, the code above will still have square brackets after I've posted.

Edit: Yay, it worked! Life just became a little easier!

For those interested the Java code is now ("content" is a Hashtable):

newPost.replaceItemValue("Body", content.get("description").toString() .replaceAll("\\[", "&#91;") .replaceAll("\\]", "&#93;")
);

I can't believe I waited this long to do it...

Click here to post a response

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

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

Author: Avinash K
Tags: forms xpages
Idea:
I have been struggling this for now. Can we have a dojo control equivalent for NotesUIScheduler just like we have it in our Notes client where we just need to pass additional parameters to check the availability of room/resources.
 
Similarly if we want to levergae this feature in XPages (or on mobile devices) it would be good to have a simple drag and drop control where we can pass the additional parameter to get it going. NotesUIScehduler is heavily used in my apps and now that I'm thinking of XPage enabling the notes client application, I dont want my users to flip back and forth between Notes Client and Xpage app.

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

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

1. Create a new java agent. 2. Place the following code in the agent:
Lotus Notes Client crashes when user opens up the calendar.
Server crash after upgrade to 8.5.2 FP1 if DEBUG_CHECKMARKERS is enabled in notes.ini.
Is it possible for an Administrator to hide a user within the Domino Directory?
If you try to register a new user in Domino 8.5.1, the message "The distinguished name provided for registration could not be found in the directory" appears.
The following article offers tips and recommendations for reading Notes emails using JAWS® screen reader software. This information has been validated using Notes 8.5.1 and Notes 8.5.2 running with JAWS® 11. Notes Basic Client Configuration Preferences for Accessibility Please note for JAWS® ...
Также почитатай:
Найти документацию можно на сайтах:

В избранное