264 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
ColumnValuesIndex property of NotesViewColumn
Tue, May 5th 2015 13
Refresh embedded view solutions
Mon, May 4th 2015 14
Find Orphan pages on website
Mon, Jan 5th 2015 13
Formatting a URL link in Drupal using function l
Tue, Oct 28th 2014 14
Truncating a string on a word boundary in Drupal using it's api
Tue, Oct 28th 2014 15
Issues when importing WSDL files into Web Service Consumer
Mon, Sep 8th 2014 19
Track events using google analytics via hitCallback
Tue, Jul 8th 2014 17
Top 10
Issues when importing WSDL files into Web Service Consumer
Mon, Sep 8th 2014 19
Domino and No trusted certificate found
Tue, Jan 28th 2014 17
Track events using google analytics via hitCallback
Tue, Jul 8th 2014 17
Truncating a string on a word boundary in Drupal using it's api
Tue, Oct 28th 2014 15
Formatting a URL link in Drupal using function l
Tue, Oct 28th 2014 14
Refresh embedded view solutions
Mon, May 4th 2015 14
Find Orphan pages on website
Mon, Jan 5th 2015 13
ColumnValuesIndex property of NotesViewColumn
Tue, May 5th 2015 13
Getting mail.box from Domino server
Thu, Mar 20th 2014 11
Disabling certificate validation in Java
Mon, Apr 28th 2014 10


Dmytro Pastovenskyi
Blog Title Find the best way
Blog Description Tips for Java, JavaScript, HTML, CSS, SEO and IBM Notes Domino
Blog URL http://dpastov.blogspot.com/
RSS Feed http://dpastov.blogspot.com/feeds/posts/default?alt=rss
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked May 05, 2015 6:53:45 AM EST. Realtime Update:
Location Ukraine, Kyiv


Recent Blog Posts
13
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
14
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
13
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 =
14
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]
15
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
17
Track events using google analytics via hitCallback
Tue, Jul 8th 2014 6:15a   Dmytro Pastovenskyi
If you are using google analytics to track clicks/events then at some point you may want to track submits of forms. The only one way to do that is to use hitCallback function. It is easy to do it, however many people forget to verify cases when google analytics library is blocked, f.x. by extensions AdBlock or Ghostery) and it means hitCallback will not be defined and simply will not work. Google analytics classicjQuery(".form").on("submit", function(f) { var _this = this; _gaq.push(['_se




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