268 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Transformation of String into Date respecting Locale
Sat, Jul 4th 2015 15
Insufficient memory - NSF pool is full
Mon, Jun 15th 2015 48
ColumnValuesIndex property of NotesViewColumn
Tue, May 5th 2015 12
Refresh embedded view solutions
Mon, May 4th 2015 13
Find Orphan pages on website
Mon, Jan 5th 2015 11
Formatting a URL link in Drupal using function l
Tue, Oct 28th 2014 17
Truncating a string on a word boundary in Drupal using it's api
Tue, Oct 28th 2014 17
Top 10
Insufficient memory - NSF pool is full
Mon, Jun 15th 2015 48
Issues when importing WSDL files into Web Service Consumer
Mon, Sep 8th 2014 19
Truncating a string on a word boundary in Drupal using it's api
Tue, Oct 28th 2014 17
Formatting a URL link in Drupal using function l
Tue, Oct 28th 2014 17
Domino and No trusted certificate found
Tue, Jan 28th 2014 15
Transformation of String into Date respecting Locale
Sat, Jul 4th 2015 15
Refresh embedded view solutions
Mon, May 4th 2015 13
Disabling certificate validation in Java
Mon, Apr 28th 2014 12
ColumnValuesIndex property of NotesViewColumn
Tue, May 5th 2015 12
Find Orphan pages on website
Mon, Jan 5th 2015 11




Recent Blog Posts
15
Transformation of String into Date respecting Locale
Sat, Jul 4th 2015 3:49p   Dmytro Pastovenskyi
Let's say you need to parse a string into date and it is localized string (f.x. name of month on local language). In past I would definitely define an array with months and then parse a String to get a number of my month and then build a Date object. In Java it's pretty simple (almost 1 line of code). Locale approachpackage parser; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class parser { public static void ma
48
Insufficient memory - NSF pool is full
Mon, Jun 15th 2015 5:24a   Dmytro Pastovenskyi
Recently I've faced up with an odd issue. When users tried to open Lotus Notes applications they got a warning saying Insufficient memory - NSF pool is fullWhat 'Insufficient memory - NSF pool is full' is about?As far as I understood it is memory leak on IBM Domino server. There are different kind of issues similar to this one: Insufficient memory - NSF pool is fullInsufficient memory - index pool is fullInsufficient memory - NSF directory manager pool is fullInsufficient memory - Event pool
12
ColumnValuesIndex property of NotesViewColumn
Tue, May 5th 2015 3:00a   Dmytro Pastovenskyi
Since there is no documentation about NotesViewColumn.ColumnValuesIndex let me describe it. Let's create a view with 6 columns: @DocNumberHidden (sorting) column that does sortingColumn with formula value: FormIcon (static value: 12)Column with formula value: @CreatedConstant value: 100Total with 'hide details row' enabled (for each row value: 1)Analyze ColumnValuesIndex Dim ws As New NotesUIWorkspace Dim view As NotesView Dim col As NotesViewColumn Dim i As Integer Set view = ws.Curren
13
Refresh embedded view solutions
Mon, May 4th 2015 4:00a   Dmytro Pastovenskyi
Here is the classic old issue. I've a form with embedded view on it (Show single category is used as well). There is an action on a view that create a new documents (which should be displayed in that embedded view). These solutions most likely wont workws.ViewRefresh will not helpRefreshing NotesUIDocument may cause a Notes client to crash, so it is not a way to go as well.Here are some possible ways to solve it: Refresh view by simulating of pressing F9While searching for an example I found i
11
Find Orphan pages on website
Mon, Jan 5th 2015 5:10a   Dmytro Pastovenskyi
You have a website and want to be sure that there are no Orphan pages? Not sure how to develop it? If so - you found a right place to go :), let's talk about most important steps. I assume you have a list of all pages you want to verify (otherwise - it will be your first task) Here is a logic/snippets We need functionality that can extract HTML from a web page. Later we will scan it and get internal links. private String getPageContent(String pageurl) throws Exception { StringBuffer buf =
17
Formatting a URL link in Drupal using function l
Tue, Oct 28th 2014 6:12p   Dmytro Pastovenskyi
Another nice function in Drupal. It's called function l. It formats a URL link as an HTML anchor tag. I know it looks really easy and simple, it's just nice to use it after doing that manually many times. $option = array(); $option['attributes'] = array('title' => $label); l($label_trimmed, $uri['path'], $option));// will output [a href="$uri-path" title="$label">[/a]
17
Truncating a string on a word boundary in Drupal using it's api
Tue, Oct 28th 2014 8:10a   Dmytro Pastovenskyi
Typical task: "truncate a string only on a word boundary and add a some postfix to resulting string". Every developer did it many times, I'm sure. Here is a how Drupal solves it with it's api: function views_trim_text define(MAX_LENGTH, 30); $alter = array( 'max_length' => MAX_LENGTH, 'word_boundary' => TRUE, 'ellipsis' => TRUE ); $mystring = "truncate a string only on a word boundary and add a some postfix to resulting string"; $mystring = views_trim_text($alter, $mys
19
Issues when importing WSDL files into Web Service Consumer
Mon, Sep 8th 2014 6:11a   Dmytro Pastovenskyi
Recently I faced up with WSDL which I couldn't import into Web Service Consumer. Our consumer worked well from last 5 years but it is a long period and during that time our Service Provider was updated a lot so we decided to update our Consumer as well. Guess everything went fine? No WSDL was returned from the URLI simply created new Consumer in Domino Designer, set URL to our WSDL, picked Java and clicked OK. Oops... --------------------------- Domino Designer --------------------------- No




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition