358 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
Latest 7 Posts
Formatting a URL link in Drupal using function l
Tue, Oct 28th 2014 187
Truncating a string on a word boundary in Drupal using it's api
Tue, Oct 28th 2014 169
Issues when importing WSDL files into Web Service Consumer
Mon, Sep 8th 2014 155
Track events using google analytics via hitCallback
Tue, Jul 8th 2014 122
Disabling certificate validation in Java
Mon, Apr 28th 2014 134
Getting mail.box from Domino server
Thu, Mar 20th 2014 110
Domino and No trusted certificate found
Tue, Jan 28th 2014 170
Top 10
Formatting a URL link in Drupal using function l
Tue, Oct 28th 2014 187
Domino and No trusted certificate found
Tue, Jan 28th 2014 170
Exception occurred calling method NotesAgent.runWithDocumentContext(lotus.domino.local.Document) null
Fri, Aug 3rd 2012 169
Truncating a string on a word boundary in Drupal using it's api
Tue, Oct 28th 2014 169
Issues when importing WSDL files into Web Service Consumer
Mon, Sep 8th 2014 155
Disabling certificate validation in Java
Mon, Apr 28th 2014 134
Track events using google analytics via hitCallback
Tue, Jul 8th 2014 122
Copy/Paste substitutions freezes my Lotus Notes
Tue, May 31st 2011 114
Getting mail.box from Domino server
Thu, Mar 20th 2014 110
IBM Designer Java Console effect?
Thu, Oct 3rd 2013 98

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
PlanetLotus Feed http://planetlotus.org/profiles/rss/dmytro-pastovenskyi
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked Dec 04, 2014 1:12:38 PM EST. Realtime Update:
Landed Here Jan 25, 2008
Location Ukraine, Kyiv
Posts: # / 1st / Latest - -
Total Hits 3,925. myPL RSS Selections: 89

Recent Blog Posts

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] [read] Keywords:

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 [read] Keywords:

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 [read] Keywords: domino ibm lotus notes application applications java server

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 [read] Keywords: google

Disabling certificate validation in Java
Mon, Apr 28th 2014 12:11a   Dmytro Pastovenskyi
In case you need to disable validation of certificate here is Java snippet. public static void disableCertificateValidation() { // Create a trust manager that does not validate certificate chains TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() { public X509Certificate[] getAcceptedIssuers() { return new X509Certificate[0]; } public void checkClientTrusted(X509Certificate[] certs, String authType) {} public void checkServerTrusted(X509Certificate[] certs, Str [read] Keywords: java

Getting mail.box from Domino server
Thu, Mar 20th 2014 4:32a   Dmytro Pastovenskyi
Domino allows to setup up to 10 mail boxes for 1 server. By default it 1 mail box with name mail.box however if you increase number of mail boxes to 2 and more Domino will create mail1.box, mail2.box ... and you must remember about it. In order to get mail box without doing lookup to ServerConfig document, just try to initiate mail1.box first and if it does not exists go for mail.box public Database getMailBox(Session session) throws NotesException{ String server = session.getServerName(); Da [read] Keywords: domino database server

Domino and No trusted certificate found
Tue, Jan 28th 2014 8:09a   Dmytro Pastovenskyi
We have few agents that communicate with other systems via and today at 13:00 we got such answer from Domino when we tried to set connection with external system. That was a huge problem for us since it affect our business. javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: No trusted certificate found at com.ibm.jsse2.o.a(o.java:8) at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:549) at com.ibm.jsse2.kb.a(kb.java:355) at com.ibm.jsse2.kb.a(kb.java:130) at com.ibm.jsse2.lb.a(lb. [read] Keywords: domino ibm lotus application database java password security server


Issues when developing IBM Domino Notes applications
Fri, Oct 18th 2013 6:11a   Dmytro Pastovenskyi
Some minor stuff about Domino Designer. Undo/'Ctrl+Z' does does not work properly when you developing in Lotus Script, if you do it few times it might mess your code 'Ctrl+C'/'Ctrl+V' sometimes does not work from first attempt, so you need to do it twice 'Ctrl+C'/'Ctrl+V' sometimes it sets focus on penultimate character so you have to do 1 extra actions to continue write code I still have crashes in Domino Designer without any reasons and I've no customization to my Designer I'm no [read] Keywords: domino ibm lotus notes applications

IBM Designer Java Console effect?
Thu, Oct 3rd 2013 8:09a   Dmytro Pastovenskyi
I've faced up with interesting problems. I'm doing integration between MailChimp and Domino application. MailChimp service has very good API so it was not huge problem to push/poll data to/from it and we already implemented solution based on Java. The fun started when I tried to do LS2J part. That error does not happen if I enable Java Console in IBM Domino Designer. When Console is up - everything works perfect, otherwise this error: LS2J Error: Threw java.lang.SecurityException: not a [read] Keywords: domino ibm application integration interface java security

How we cook GitHub, Jira and Jenkins with Domino
Fri, Aug 9th 2013 1:39a   Dmytro Pastovenskyi
Why would I use it? I'll describe briefly how we use GitHub, Jira and Jenkins together to make better development process. More details will come later when I get some desire :). OK, lets look what benefits we have from using these tools. GitHub with Jenkins GitHub has number of Service Hooks and one of them is for Jenkins. It allows to trigger build jobs when pushes are made to GitHub. You don't need to have any skill to do that, let's look on screen below. So once you made a push, Jenk [read] Keywords: domino application development

Java as backend for web applications based on Domino
Thu, Aug 8th 2013 1:18a   Dmytro Pastovenskyi
Is it enough to use only Java? Yes. Our newly created applications have been written only for web and we did all back-end with Java only (the only exclusions are selection for Views). No, we do not miss @Formula, Lotus Script or SSJS, we simply do not need those languages in our daily work. Java is better than LS/SSJS for us. You can develop much better/faster using Java and get all candies: open sources, forums, stackoverflow or even shift at some point to Java completely if it has sense for y [read] Keywords: domino formula language ibm lotus notes xpages applications community development java server

Frontend developers without knowledge about Domino
Wed, Aug 7th 2013 12:32a   Dmytro Pastovenskyi
Do FE developers must have understanding of IBM Domino/Notes platform? I believe they should know we use Domino as server, however that's it. Domino is server, so it is responsibility of BE developers. Few years ago when we had mixed UI and Backend in our projects each time FE developer had to do something in IBM Designer I saw such face. I do not like such face :), one more reason why we forced our self to do what we did. More details how FE developers works I will try to describe work [read] Keywords: domino ibm notes application eclipse server workspace

Split backend & frontend when build web applications
Tue, Aug 6th 2013 6:10a   Dmytro Pastovenskyi
Is it really a problem to mix Backend (BE) and Frontend (FE)? Yes, it is a problem, it's simply wrong. Some of you will argue with me and say: I'm doing both: FE and BE and I'm 'pro' in both areas. Our FE developers learned Domino platform in few weeks, so we have no problems, they feel comfortable with doing stuff with IBM Designer. Our FE guys simply say what to change and we do that, they send us some template each time we need to change something. We are doing internal website and o [read] Keywords: domino formula language ibm lotusscript ntf xpages application applications css java properties

How we build our applications based on Domino
Mon, Aug 5th 2013 6:18a   Dmytro Pastovenskyi
Intro I've been working with Domino for many years (however very possible less than many of you :-), I started to work with version 5 at the beginning and in few months we migrated to 6.X). I worked in few companies with absolutely different projects and processes of development. There were lot of 'hell projects' (without any structure inside, just mess) and few really 'cool projects' where I could learn something. I always tried to bring the best of the old projects into new. Now I'd lik [read] Keywords: domino ibm applications development java server

Frontend developers without knowledge about Domino
Fri, Aug 2nd 2013 1:20p   Dmytro Pastovenskyi
Do FE developers must have understanding of IBM Domino/Notes platform? I believe they should know we use Domino as server, however that's it. Domino is server, so it is responsibility of BE developers. Few years ago when we had mixed UI and Backend in our projects each time FE developer had to do something in IBM Designer I saw such face. I do not like such face :), one more reason why we forced our self to do what we did. More details how FE developers works I will try to describe worksp [read] Keywords: domino ibm notes application eclipse server workspace

Replacement for DSAPI in Java/XPages
Fri, Jul 12th 2013 6:13a   Dmytro Pastovenskyi
I've written few articles about how DSAPI could help you to control classic web application built on Domino. That solution worked perfect for us and difficulties I encountered were: slower development process due to my skill in C; pure documentations about how things work in DSAPI (probably most weak side for me); deploy process (you need to re-link DLL and restart HTTP all the time); you have to be 'very-very' careful with everything, one mistake (i.e. memory leak somewhere) can cra [read] Keywords: domino xpages application development java leak server

Deferred Loading
Wed, Apr 24th 2013 10:16a   Dmytro Pastovenskyi
On my job we are trying to decrease time for loading pages as much as it is possible, we simply want 'fast pages'. We don't want our users waited for 2 seconds each time they load page. We are focusing to keep not more then 0.5-1 second per page and we are doing really a lot in that area. Nowadays It's quite common for most of websites to include javascripts just in head area (or at bottom area) as static html so each time we load pages they will be not responsive till all resources will be [read] Keywords: javascript

Rewriting URL in Domino using DSAPI.
Wed, Mar 6th 2013 5:12a   Dmytro Pastovenskyi
I will briefly describe what we were aiming to achieve. In order to open page with parameters Domino requires to add ?open or ?opendocument action and only after that Domino allows to add parameters. It's quite annoying for us due to some integration with another systems, those systems expect they can simply add parameters just after our pages, i.e.: http://www.host/page?parameter=123 etc. Also important reason - we simply do not like this ?open or ?opendocument in URL. we want to be able t [read] Keywords: domino integration

Mongodb - Enable Authentication
Sun, Mar 3rd 2013 11:11a   Dmytro Pastovenskyi
Basically it is very easy to do, 1. open mongodb shell 2. open admin db and add admin user (you need to have 1 user otherwise you can' lose access to your databases at all) use admin db.addUser("admin","12345") 3. Enable authentication auth=true (simply un-comment it) in config file 'sudo vi /etc/mongodb.conf', save changes and restart mongodb service sudo service mongodb restart For more information please read this Security Practices and Management [read] Keywords: admin administration security

Fighting for control of URL in Domino
Wed, Feb 27th 2013 8:09a   Dmytro Pastovenskyi
We have really annoying problem for years with our URLs on all websites based on Domino. We use classic approach because we want control all tags + we like jQuery more etc. Our problem is about mandatory action [?open | ?opendocument] for pages with parameters, so if you want to add parameters to your page (i.e. param1=123) you have to add [?open | ?opendocument] just after your URL and only then you are allowed to add parameters. Not really a huge problem, however we want to use new trackin [read] Keywords: domino google

Nodejs and compression of HTML, JS, CSS
Tue, Feb 5th 2013 5:11a   Dmytro Pastovenskyi
.code { background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Verdana, Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 97%; } To decrease loading time for pages, it is always nice to minify your HTML, CSS and JS. Also to decrease number of requests we inject our minified CSS/JS directly on our pages (ofc we will do that unless our CSS/JS have small size), so minus 2 requests to all pages. [read] Keywords: css

Node.js first experience and first simple project
Wed, Jan 30th 2013 7:12a   Dmytro Pastovenskyi
From 2013 I've started to learn (as much as I've free time) Node.js. 'Domino/Notes' still my main, however it is always nice to learn something new. Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Together with Andrew Kuba (who guide me ho [read] Keywords: domino notes application applications css database javascript network

First couple days with IBM Domino Designer 9.0 Social Edition
Mon, Dec 17th 2012 5:15a   Dmytro Pastovenskyi
Worked 2 days already with Domino Designer 9 (I do not really care about changes in Notes 9, as I believe in 'web' direction). I did not find something really new/impressive for developers, however worked only 2 days and also I do not forget that it is just a beta. My impression: It is fast enough, however I do not feel difference compare to my 8.5.3, perhaps my laptop just to good. Ext Library is included by default. I've also read that now we have an API (Java, LS, C API) for C&S, wou [read] Keywords: domino ibm lotus notes xpages application blogger dojo java javascript laptop properties server

Moved from Ukraine to Denmark
Sun, Dec 16th 2012 5:15a   Dmytro Pastovenskyi
From 1-st December I work and live in Denmark. It's really interesting experience for me and my family. I had been working with e-conomic from Kiev for more then 3 years and at some point company decided that it had sense to invite me to work in main office. Now I'm here, so wanna tell 'hi' to those who live here :) Couple fresh photos of Copenhagen. City is ready for Christmas: Now most funny thing :), we met hundred well organized girls, they marched along the main shop-street [read] Keywords: blogger office

What is comfort zone for Domino developers our days?
Tue, Oct 9th 2012 6:09a   Dmytro Pastovenskyi
Lotus Script is no longer in my 'comfort zone' anymore but Java/JavaScript. That's actually it. We already moved all (well 90%) of backend to Java. Now Lotus Script serves only to provide validation/picklist/msgbox on forms/views for existing 'classic' applications. Now we are slowly moving everything to web and I like that. We are aiming in few years to let our users to un-install LN and simply use browsers and that would be perfect. That time we should have no even 1 line LS and @Formu [read] Keywords: domino lotus applications blogger java javascript

Exception occurred calling method NotesAgent.runWithDocumentContext(lotus.domino.local.Document) null
Fri, Aug 3rd 2012 9:10a   Dmytro Pastovenskyi
Tried to run agent with 'context document' in xPage (via SSJS) and got this problem. I did not find a way how to solve that except to enable checkbox 'Run as Web User' for agent, however I need to run agent from 'signer' as 'runner' has Reader access and my agent update should document. It's terrible with this problem (if it is problem ofc :)). What should I do know? [read] Keywords: agent domino lotus blogger

ViewEntry and Show multiple values as separate entries
Tue, Jul 3rd 2012 6:14a   Dmytro Pastovenskyi
When your view has column with option 'Show multiple values as separate entries' and you use ViewEntry to read data from that column you will have a problem. Result of your getColumnValues() can be different, f.x. in 1 case it can be 'Vector' and in another case 'String'. It depends if entry was really split on few entries because of multi-value. I've lookup around and found this issue already reported on IBM ~3 years ago (IBM whats up?) Full description of problem Here is a solutio [read] Keywords: ibm blogger

Content Is Not Allowed In Prolog
Mon, Jun 18th 2012 6:15a   Dmytro Pastovenskyi
Got this issue in the morning. We have service that "aggregate" data from multiple RSS into 1 RSS. The issue appeared because at one of RSS we enabled encode option [encode UTF-8] but not [encode UTF-8 without BOM]: encode in UTF-8 encode in UTF-8 without BOM. our Java parse does not understand this BOM (byte order mark). So we just swtiched to one without BOM byte. I've made tests using this online tool, it worked just as I expected XMLValidator [read] Keywords: blogger java wiki

Cool trick which I never saw in LotusScript. Pass function as parameter.
Wed, Jun 13th 2012 7:14a   Dmytro Pastovenskyi
Read this code 'Comments for SetValue Sub SetValue(src As Variant, target As Variant) If IsObject(src) Then Set target = src Else target = src End If End Sub 'Comments for Test Function Test(value As Variant) As Variant SetValue value, Test End Function You can call Test(now) or Test(customobject) or Test("ABC") it will return you just same object/value. nice, isn't it? msgbox Test(now).DateOnly msgbox Test("Helllo") msgbox Test(customobject).customProperty Do not see right no [read] Keywords: lotusscript blogger

Default sort order
Mon, Jun 11th 2012 11:17a   Dmytro Pastovenskyi
Guys, does anybody make it (Default sort order) working? I played to much with it without success, my Domino server still ignore sorting (as Swedish) for my application. [read] Keywords: domino application blogger server

Predefined NoteID for design elements and applications
Tue, Jun 5th 2012 2:10p   Dmytro Pastovenskyi
Sometime those NoteIDs can be quite useful, so I decided to gather all of them into place I can easy find. FFFF0002 "About This Database" document FFFF0004 Default form FFFF0008 Default view FFFF0010 Database icon FFFF0020 Database Design Collection (view) FFFF0040 Database ACL FFFF0100 "Using This Database" document FFFF0800 Replication Formula btw, there is also "static" ReplicaId for local names.nsf and mail database and probably more, do you remember those? took from [read] Keywords: acl applications blogger database

Create Lotus Notes views on fly
Fri, Mar 30th 2012 1:11p   Dmytro Pastovenskyi
I'm wondering if somebody know how to use views that I created on fly, lets say we have document with embedded view which is not created yet. Before we open this document we create view (but simple triggering agent). However we can't use this view as embedded view on document till we reopen database. Anybody has any idea how we can avoid this problem? [read] Keywords: agent lotus notes blogger database

Hope to see this feature at next version of DDE
Thu, Feb 2nd 2012 1:29p   Dmytro Pastovenskyi
That is actually how it should be instead of keeping everything inside of Library. Do you agree? It would solve the problem I described in my previous post which is about working with java libraries in LDD. Hey, IBM please do that and make our team happy :) [read] Keywords: ibm ldd lotus blogger java

How do you work with Java libraries in LDD?
Thu, Feb 2nd 2012 5:48a   Dmytro Pastovenskyi
Hi guys, We have faced up (actually long time ago) with problem which is related to Java libraries. Back-end of our applications on Domino is written on Java fully. Each Java library has ofc own classes and packages. However LDD allows to work only 1 person with 1 library at same time and it is really painful for us as we have to wait till another developer finish his job. Does anybody know if there is a way (SVN?) which may resolve our problem? What we really would like to get - possibility [read] Keywords: domino ldd applications blogger java

Error pages in Domino
Tue, Jan 24th 2012 5:59a   Dmytro Pastovenskyi
First of all I'd like to briefly describe few another ways we can use to manage error pages in Domino. Also notice, I will definitely update post few times more after all. 1. Lazy solution $$ReturnGeneralError and MessageString It's the most fast and easy solutions, it require to create 1 design element (form) $$ReturnGeneralError, style it and add MessageString somewhere to explain what is wrong Benefits: - I see only 1 advantage compare to another approaches, its time to implemen [read] Keywords: administration domino lotus notes xpages application applications blogger database development leak linux server

Using Velocity in Domino
Mon, Dec 12th 2011 10:11a   Dmytro Pastovenskyi
We are using velocity framework to solve our task with html templates and when we started to work with velocity we faced up with problem below java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key member_access_not_allowed at java.util.MissingResourceException.(MissingResourceException.java:50) at java.util.ResourceBundle.getObject(ResourceBundle.java:400) at java.util.ResourceBundle.getString(ResourceBundle.java:421) at lotus.notes.JavaStr [read] Keywords: domino lotus notes apple blogger java security

Solution for Lotus Domino to the trailing slash problem
Tue, Nov 1st 2011 4:25a   Dmytro Pastovenskyi
2 months ago I've posted article about solution which can solve our problem in Domino with last trailing slash in URL. As I mentioned in my previous post, Domino does not care about url with/without last trailing slash, both way would work for Domino. Well, some of you maybe even find this feature useful because it gives less problems, however what if we talk about SEO (Search Engine Optimization)? There is actually article from google about to slash or not to slash, where they explain that [read] Keywords: domino lotus apple blogger google

JavaScript: use power of console
Sat, Oct 8th 2011 12:10p   Dmytro Pastovenskyi
console.log() - is pretty nice way to display debug information without interrupting user's actions. But do you know that 'console object' has lot of other useful methods? In this article I will try to show another important method in console object. 1. power of output most common case for using console object is: console.log("hello word") but here few more ways how we can use it console.log("string1", "string2", 1, 2, {proper1:"val1", proper2: 5}); console.log("Do you know [read] Keywords: apple blogger javascript profile properties

Page-layout rel = «next | prev»
Tue, Sep 20th 2011 9:09a   Dmytro Pastovenskyi
Along with the attribute rel = «canonical» to specify a 'search robot' to duplicate content, it is now possible to use the HTML reference value rel = "next" and rel = "prev" to indicate the position of the current page with neighbors in the navigation box. F.x. you have article splitted on 10 pages and you use next/prev buttons in order to move from one page to another. If you want to be sure that most of 'score' from 'google spider' will go to main page red="next"/"prev" is the [read] Keywords: notes apple blogger google

Chrome 13 ready
Wed, Aug 3rd 2011 6:15a   Dmytro Pastovenskyi
[read] Keywords: blogger google

Domino resolve URL with and without trailing as same URL, wrong?
Tue, Aug 2nd 2011 9:10a   Dmytro Pastovenskyi
We are faced with a problem (for us) with Domino. The problem is that Domino processes those 2 URL as similar same URL: http://host/0/unid http://host/0/unid/ the difference in 'trailing' (for those who thinks in same way as Domino :]). Well, it would be not a problem at all if you do internal staff, even very useful, problems start when we talk about SEO. It actually affects our websites, as f.x. google 'eats' 2 URL (I mentioned above) as 2 different URL so their 'value' will be s [read] Keywords: domino blogger google

How to prevent text selection
Sat, Jul 23rd 2011 6:10a   Dmytro Pastovenskyi
There are few ways 1. Apply 'preventDefault' for events 'onselectstart' and 'onmousedown' var element = document.getElementById('content'); element.onselectstart = function () { return false; } element.onmousedown = function () { return false; } 2. Add attribute 'unselectable' $(document.body).attr('unselectable', 'on') 3. Add style 'user-select: none' .g-unselectable { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; user-select: none; [read] Keywords: apple blogger css javascript

IBM Domino Java: No trusted certificate found. Fail?
Mon, Jun 27th 2011 9:16a   Dmytro Pastovenskyi
I've faced with quite major problem when use IBM Java (the one from Domino 8.5.2 FP2). Our Domino grab data from some webservice via 'https' (webservice does not have authentication, its free to everybody). Using simple Java Agent in Domino we grabbed data and was very happy :), here is few lines what we do URL url = new URL("https://here url");URLConnection connection = url.openConnection();HttpsURLConnection httpConn = (HttpsURLConnection) connection; httpConn.setRequestMethod("PO [read] Keywords: agent domino ibm ldd lotus apple blogger eclipse java oracle

How to add much more debug information to your Java Project
Thu, Jun 23rd 2011 6:13a   Dmytro Pastovenskyi
Go to RunConfiguration manu and switch to tab Arguments and add: -Djavax.net.debug=ssl,handshake (as I did on screen) and you will get much more debug information that could be useful for you. [read] Keywords: lotus blogger java

Thank you MS for second update of Skype
Tue, Jun 7th 2011 9:10a   Dmytro Pastovenskyi
Most of day Skype does not work and same situation in most of my friends. Only in such moments you understand how things are important like Skype :). [read] Keywords: blogger skype

Copy/Paste substitutions freezes my Lotus Notes
Tue, May 31st 2011 6:12a   Dmytro Pastovenskyi
Have you ever tried to copy and paste substitutions in server's names.nsf? I'm having problem there for last few years (if I recall correctly). Problem is quite simple, after you tried to paste substitution your Lotus Notes always freeze. Previously I used ctrl+pause to avoid this freeze but I got new laptop and pause is absent :) (and I do not know how to simulate ctrl+pause). Hope IBM will fix that in 8.5.3 :) [read] Keywords: ibm lotus notes apple blogger laptop server

have you already download new FireFox?
Tue, Mar 22nd 2011 8:11a   Dmytro Pastovenskyi
I've just updated it to version 4. It works fine. Unfortunately I expected it would run faster then 3.X but it did not happen. FF can't beat Chrome in this area. But there is another good news: all my plug-in work fine. Only firebug required re-installation. [read] Keywords: blogger firefox

I've moved my applications to google code.
Sat, Mar 19th 2011 10:10a   Dmytro Pastovenskyi
I've upload some of my small application to google code. There are couple reasons why I did it: - backup. - we can use SVN now as on some projects I work with another people, so now we can get benefits from that as well. - I just feel that it is much much more correctly :) If you wish to create project your own project on google code, just fill google code form. After that using SVN do checkout and input as URL repository https://*******.googlecode.com/svn/trunk/ [Username] is your emai [read] Keywords: lotus application applications blogger email google password

SVN plug-in problems
Fri, Mar 4th 2011 5:09a   Dmytro Pastovenskyi
Hi guys, we are moving our Domino applications to SVN and everything going really well except one thing.We are having problems with elements that really do not modified but during synchronization they get new values (look on image). It is major problem for us, because applications have many design elements and most of them often get news values (modified, noteid etc) and then we are not able to determine what elements were really changed.We do have workaround: do 1 more step and apply XSLT appro [read] Keywords: domino lotus applications blogger xslt

IBM did forum on xPage, nice
Fri, Mar 4th 2011 5:09a   Dmytro Pastovenskyi
Just noticed that IBM did forum for xPage based on xPage. I can't say it looks great, I feel it still require lot of work... [read] Keywords: ibm ldd lotus blogger

Introducing LotusLive Symphony
Tue, Feb 15th 2011 5:14a   Dmytro Pastovenskyi
I've been using Google Documents for couple years already, I've even do not have office installed on my laptop at all. Now IBM did something similar? I've tried it already and should notice that Live Symphony is still far-far from Google. First what I've found - no support of right click mouse, only action bar. From another side, I'm happy that IBM tried to do that. That's nice. [read] Keywords: ibm lotus symphony application blogger google laptop office

xPage view with categories + readers fields + don't show empty categories
Thu, Feb 10th 2011 5:13p   Dmytro Pastovenskyi
I'm doing simple application right now on xPage, nothing really difficult. This application has view with couple columns as category, documents that I display into that view have readers/authors fields and I need to be able do collapse and expand of that view. Simple things, right? but not for xPage, to difficult, it just does not work :-), I've found paper on IBM LO58079: XPAGE VIEW CONTROL WITH EXPANDLEVEL, VIEW WITH 'DON'T SHOW EMPTY CATEGORIES', DOCUMENTS WITH A READERS FIELDS Actuall [read] Keywords: ibm lotus notes application blogger development

Want to watch LotusSphere online?
Mon, Jan 31st 2011 7:13a   Dmytro Pastovenskyi
Watch live streaming video from ibmsoftware at livestream.com [read] Keywords: lotus notes apple blogger

trying to get full control over xPage auto generated html
Tue, Jan 18th 2011 5:14p   Dmytro Pastovenskyi
I know xPage is great especially for RAD but I feel bad when I see how Domino generates HTML for xPage's application and dojo why it loads even if I do not want to use it? yea, I know that most of xPage's controls use it but anywhere I want to keep control over each html-tag. I want nice html. I want to know what is going on with my html. I'm sure all of you saw what html we get from xPage, and I want to repeat once again "I'm not fan of that". Here are couple steps for those who want to [read] Keywords: domino ldd lotus xpages apple application blogger css database dojo java properties wiki

Google Maps API - MarkerClusterer
Tue, Jan 18th 2011 6:14a   Dmytro Pastovenskyi
If you ever did some job linked with google map (f.x. show markers with popup) you probably noticed problem with huge amount of markers (f.x.1000 markers). It does slow performance of webpage + it looks not very nice on UI (just mass of markers on same place). There is solution for such situation: MurkerClusterer, it allows to join markers into cluster with possibility to have different cluster on different zoom. Here is an article about it - markerClusterer solution to the Too Many Markers pro [read] Keywords: blogger google

short dojo + ajax example how to get data from db
Mon, Jan 17th 2011 5:17p   Dmytro Pastovenskyi
There are 3 most useful ahax-approaches I use when working with Lotus Domino: - getting view as JSON. database.nsf/viewname?readviewentries& OutputFormat=JSON (fast and modern) - agent approach (example here, most flexible and probably most slow approach)- page/form/view as elelemnts, f.x. database.nsf/myform?openform&unid=123123 (easy to use but not flexible, I use it very rarely) Very small and known example of dojo's ajax, I'm getting some information from agent and then will [read] Keywords: agent domino lotus ajax apple blogger database dojo javascript

nice command lotus otes sd.exe -kill
Sun, Jan 16th 2011 8:16a   Dmytro Pastovenskyi
Previously I've used kman.exe utilites to kill lotus notes processes, but now switch to this command. [read] Keywords: lotus notes nsd blogger

Merry Christmas, dear Orthodox !
Thu, Jan 6th 2011 2:17p   Dmytro Pastovenskyi
[read] Keywords: blogger

Improving SEO for blogspot bloggers. Lesson #1.
Thu, Jan 6th 2011 5:18a   Dmytro Pastovenskyi
Everybody wants to have at least not worst SEO on own blogs. In case if you have you own blog on Domino or another platform, use your hands and do updates but if you are one who use blogspot, here it couple tips I would like to suggest to do. It is quite simple and fast. 1. Check title on main page, does it says what you wanted? check how title looks on different pages as well. If you want to update it go to Design of your blog and open it as HTML, find area with title and replace it on suc [read] Keywords: domino lotus apple blogger google xml

Native JSON
Mon, Jan 3rd 2011 5:17a   Dmytro Pastovenskyi
var jsonObjStr = '{"name":"Erast Fandorin", "speciality":"detective"}'; var object_person = JSON.parse(jsonString); // object_person is object now with 2 properties var personString = JSON.stringify(person); // personString now keeps the string '{"name":"Erast Fandorin", "speciality":"detective"}' this native JSON is now supported mostof browsers, so just use it :) [read] Keywords: blogger javascript properties

Useful option when you are doing Java in LDD
Wed, Dec 29th 2010 9:18a   Dmytro Pastovenskyi
divIf you are doing java in LDD you always need to save design elements after you update your source code. It is so painful (at least for me) because each time I need to check result I have to switch from source window to design window and do save there.br /br /To avoid that - set this option you see on screen below (I believe at some point IBM will set as default)/divdivbr //divdiv style="text-align: center;"a href="http://4.bp.blogspot.com/_MZPSfV8BGS8/TRs3ihEYvfI/AAAAAAAAKKc/ZSc22eC8-OE/s1 [read] Keywords: ibm ldd lotus blogger java

CSS staff you have to know
Thu, Dec 23rd 2010 9:17a   Dmytro Pastovenskyi
I'm sure most of you have worked with CSS.br /br /I'm sure many of you know that, but some do not, so here are some nice practices that can help you.br /br /1. divh1 { color: red;}br /- means all h1 that are child to div will get that CSS, but not sub child.br /br /examples:br /span style="font-style: italic;font-size:85%;" span style="color: rgb(51, 51, 255);"[div]/spanbr /span style="color: rgb(51, 51, 255);"[h1]this is red[/h1]/spanbr /span style="color: rgb(51, 51, 255);"[/div]/spa [read] Keywords: blogger css

I've installed FP1 (for 8.5.2) without any problems.
Sat, Dec 18th 2010 6:14p   Dmytro Pastovenskyi
Here is full list of updates/fixes: a href="http://www-10.lotus.com/ldd/r5fixlist.nsf/8d1c0550e6242b69852570c900549a74/c9009c721faf4d17852577d8006ab4f7?OpenDocument"link/adivbe cool, be with FP1 :)/divdiv class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-5021610992266547085?l=dpastov.blogspot.com' alt='' //div [read] Keywords: ldd lotus blogger

I've just passed exam #190-951. IBM Lotus Notes Domino 8.5 Application Development Update
Mon, Dec 13th 2010 6:14a   Dmytro Pastovenskyi
divwith 85% that is not bad but from another side it means I still need to learn a lot./divdiv class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-958881442275116456?l=dpastov.blogspot.com' alt='' //div [read] Keywords: domino ibm lotus notes application blogger development

expand collapse views in xPage
Mon, Dec 6th 2010 6:13a   Dmytro Pastovenskyi
span style="font-weight: bold;"Collapse all/spanbr /span style="font-size:85%;"span style="font-style: italic; color: rgb(51, 51, 255);"var viewPanel = getComponent(compositeData.viewPanelName);/spanbr /span style="font-style: italic; color: rgb(51, 51, 255);"var model:com.ibm.xsp.model.domino.DominoViewDataModel = viewPanel.getDataModel();/spanbr /span style="font-style: italic; color: rgb(51, 51, 255);"var container:com.ibm.xsp.model.domino.DominoViewDataContainer = model.getDominoVi [read] Keywords: domino ibm ldd lotus blogger

JS staff: Use Object instead of Switch.
Tue, Nov 16th 2010 8:15a   Dmytro Pastovenskyi
We all (not all but many actually) use span style="color: rgb(51, 51, 255);"switch/span to solve our goal, but there is another way I would like to show. We can simple use span style="color: rgb(0, 0, 153);"Object/span approach to solve our problem and it looks more intelligent from my point of view.br /br /1. example with switchbr /span style="font-size:85%;"span style="color: rgb(51, 51, 255); font-style: italic;"function FoodType(food) {/spanbr /span style="color: rgb(51, 51, 255); f [read] Keywords: apple blogger javascript xml

Dynamical counter in Lotus Notes client
Fri, Nov 12th 2010 3:15p   Dmytro Pastovenskyi
Have you ever tried to show length of field (f.x. just below the field) ?br /br /Let me show my example, I've a form, there I have couple fields I need to show length of it (because there is some validation of length for this field).br /br /a href="http://1.bp.blogspot.com/_MZPSfV8BGS8/TN2INr_TEUI/AAAAAAAAKJY/O_2gOcXop-4/s1600/dynamical-counter.JPG"img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 32px;" src="http://1.bp.blogspot.c [read] Keywords: lotus notes notes client blogger javascript

Computewithform does not work properly at 8.5.2
Fri, Nov 12th 2010 10:15a   Dmytro Pastovenskyi
Many people + me as well faced up with strange issue after migrated to 8.5.2.br /Computewithform just stopped to work (but when u use debugger and look into document before comptewithform it works fine).br /divHere is a href="http://www.runningnotes.net/kbrown/runningnotes.nsf/d6plinks/KBRN-89AK83-Need-Some-Hack-tastic-Help"link/a to post I've found more information for me./divdivdivAnywhere here is workaround that fix problem.br /br /span style="font-size:85%;"span style="font-style: ital [read] Keywords: lotus blogger bug

Very nice SOAP client (java)
Tue, Nov 9th 2010 7:14a   Dmytro Pastovenskyi
Here is link to a href="http://www.ibm.com/developerworks/xml/library/x-soapcl/listing1.html"nice java soap client/abr /I've implement also LS2J approachdiv class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-5204111782993478243?l=dpastov.blogspot.com' alt='' //div [read] Keywords: ibm lotus blogger java xml

Lotus Notes got SVN: Can't believe we get that :)
Thu, Nov 4th 2010 8:27a   Dmytro Pastovenskyi
a href="http://www.openntf.org/blogs/openntf.nsf/d6plinks/NHEF-8AVEUU"http://www.openntf.org/blogs/openntf.nsf/d6plinks/NHEF-8AVEUU/adivbr //divdivI still cant believe :)/divdivbr //divdivneed to work a bit with/divdiv class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-5567182051500673494?l=dpastov.blogspot.com' alt='' //div [read] Keywords: lotus notes blogger openntf

xPage: Could not load 'imb.xsp.widget.layout.TypeAhead'
Wed, Oct 27th 2010 8:26p   Dmytro Pastovenskyi
Does somenody saw such issue? Got it when added typeAhead to customer control. It works fine when I open new document, but when I go to edit mode always get such message, any ideas?br /br /a href="http://4.bp.blogspot.com/_MZPSfV8BGS8/TMizgndXFjI/AAAAAAAAKHo/H1e_4rTouK4/s1600/typeahead.JPG"img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 400px; height: 97px;" src="http://4.bp.blogspot.com/_MZPSfV8BGS8/TMizgndXFjI/AAAAAAAAKHo/H1e_4rTouK4/s400/type [read] Keywords: blogger widget

xPage: date picker does not work in IE8
Mon, Oct 11th 2010 8:26a   Dmytro Pastovenskyi
Just found that standard date picker does not work properly in IE8 (it always refresh page when we click on date/time picker, here is a href="http://hermes.intec.co.uk/XPagesSamples/Charts.nsf/DatePicker.xsp"link to live example/a) that's not funny :/ question why all another browsers work fine :)divbr //divdivAnywhere here is nice workaround:/divdiva href="http://www-10.lotus.com/ldd/nd85forum.nsf/0/579744cf7198e21785257731006c9cea?OpenDocument"http://www-10.lotus.com/ldd/nd85forum.nsf/0/5 [read] Keywords: ldd lotus blogger

Change encoding attribute after XLST
Thu, Sep 16th 2010 10:28a   Dmytro Pastovenskyi
span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;font-family:Arial,serif;font-size:medium;" span class="Apple-style-span" style="line-height: 18px;font-size:12px;" p style="margin: 0px; padding: 0px;font-family:Arial,serif;"I've done some tran [read] Keywords: dxl apple blogger javascript microsoft xml xslt

Wed, Sep 15th 2010 5:29a   Dmytro Pastovenskyi
divI did not find that method how can I add days to my date, so here is solution:br /br /span style="font-size:85%;"span style="font-style: italic; color: rgb(51, 51, 255); font-family: verdana;"// add days/spanbr /span style="font-style: italic; color: rgb(51, 51, 255); font-family: verdana;"Date.prototype.addDays = function(days) {/spanbr /span style="font-style: italic; color: rgb(51, 51, 255); font-family: verdana;" var secsDay = 86400000; // there are 86400000 secs in 1 day/spanbr / [read] Keywords: blogger javascript

'wget' as way to download files
Tue, Sep 14th 2010 5:31p   Dmytro Pastovenskyi
Need to download files from our Domino server by this path http://host/myfile.log, using MS DOS command?divdivYou can try to use bwget/b as one of possible way to do that./div/divdivhere is an exmplae of DOS command:/divdivspan class="Apple-style-span"span class="Apple-style-span" style="font-size: small;"wget.exe http://host/myfile.log/span/span/divdivI've run this DOS command in my JS file (yes ActiveX is required for that), but anywhere it is quite interesting approach./divdiv class=" [read] Keywords: domino apple blogger javascript server

Need to zip file with password in Lotus Notes?
Fri, Sep 10th 2010 6:27a   Dmytro Pastovenskyi
I've task where we need to compress and protect attachments and some log files.divI did not look in Lotus Script area at all (as I'm sure it would be not possible or to difficult to do such thing). So I started to look for free RAR/ZIP Java libraries that will have what I need (compress and password)./divdivI was surprised a bit, RAR does not have such API at all, but ZIP has already built in Domino library that allow us to zip files but... not to set password (at least I did not find)./divdiv [read] Keywords: domino lotus notes blogger google java password

Don't forget that if you have URL http://host/db/yourform?OpenForm
Thu, Aug 26th 2010 6:31p   Dmytro Pastovenskyi
div style="text-align: left;"Then you need to have at least Author access with ability to create documents in database or... just check option Available to Public Access users in form settings./divdivbr //divdiva href="http://2.bp.blogspot.com/_MZPSfV8BGS8/THbcP-i6_MI/AAAAAAAAKFY/68Lgyg98RD4/s1600/allowaccesstoform.JPG"img src="http://2.bp.blogspot.com/_MZPSfV8BGS8/THbcP-i6_MI/AAAAAAAAKFY/68Lgyg98RD4/s400/allowaccesstoform.JPG" border="0" alt="" id="BLOGGER_PHOTO_ID_550983336117999942 [read] Keywords: lotus apple blogger database

I've just installed 8.5.2, so have to read what's new in Designer
Tue, Aug 24th 2010 5:27p   Dmytro Pastovenskyi
Here is a href="http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/index.jsp?topic=/com.ibm.designer.domino.ui.doc/wpd_whatsnew.html"link/a all developers have to read :)div class="blogger-post-footer"img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/34728599-7697215619803898671?l=dpastov.blogspot.com' alt='' //div [read] Keywords: domino ibm lotus blogger

Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition