Call doc.closeMIMEEntities after touching doc.getMIMEEntity

Another stupid mistake has taken a lot of my time last week. I developed a small library to provide function(s) to move attachments from rich text fields to separate db (nsf or some other). This function was supposed to be part of bigger process, so saving of document being processed was meant to happen in other code. That is why I had not tested what doc.save() would do. My tests were just checking destination db for created records containing moved files.

Tags: 

Dynamic binding of fields bug?

I was developing very simple XPages component recently and because it was basically loop through a list of field names (and the task was to show something for each of them) I have used repeat control and inside of it there was custom control with properties such as fieldName (String), label (String), isRequired (boolean) and so on. In the custom control I was binding fileDownload and fileUpload controls (based on read/edit mode) to document field via EL as "document1[compositeData.fieldName]" where document1 is data source defined in XPage that "calls" this custom control.

Tags: 

Wanna use Git (with DDE) and you're afraid of command line? Try GitHub for Windows

Last two blog posts were about using Git and git-flow with DDE. I use command line as main working interface when interacting with Git repositories. I am used to it, I am more productive this way.
But If you're not used to use CLI, there is GitHub for Windows available for you. Go try it!

And if Git doesn't sound familiar to you, try it in your browser, without the need to install anything.

Tags: 

Using Git with Domino Designer - the hardcore way, part II.

Today's talk about setting up a development workflow for a new project reminded me of my promise to write the second part of this blog post. So here we go:

Installing Gitflow

Just read and follow the instructions in gitflow wiki. You may also want to setup very handy command completion, instructions are here.

Tags: 

BLUG 2012: part 2

Day 2: Friday

Waking up in the morning is not my hobby ("good morning" is an oxymoron for me). And after all those beers (Belgian beers are usually stronger than Czech ones, but we are used to drink 0,5l as "one beer") this morning was especially hard. But we made it to the Crown Plaza Hotel just in time to attend "How XPages became mobile" with Earmon Muldoon and Paul Withers. Combination of coffee and interesting information was a nice start of a day. Speaking about the coffee: it was great all the time!

Tags: 

BLUG 2012: part 1

BLUG has been really good event this year. Again!
Theo is a great host, doesn't matter if you're speaker or attendee, he treats you well. Extremely well. All that chocolate in a speakers room! I was full of energy and good mood until late night hours even after the whole busy day at a conference. Splendid!

Tags: 

New version of EGit for Domino Designer available!

Until we are stuck with Eclipse 3.4 under Domino Designer, using some Eclipse plugins is limited to older versions of them. But we have Nathan T. Freeman on our side (of the Force), so at least for Git plugin (EGit/JGit project) this is not true. Go grab new release of updated Git support to OpenNTF.org. Now!

Tags: 

Pages

Subscribe to martin jinoch RSS