263 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
XPage Object types - extending a simple search
Wed, Jan 28th 2015 184
Data View with a NotesViewEntryCollection
Tue, Jan 20th 2015 45
Fall of Another Domino.....
Mon, Jan 19th 2015 34
Simple Example: XPage Search
Sat, Jan 10th 2015 10
DataTable filter
Sun, Dec 21st 2014 8
Save value from computed field in XPages
Fri, Nov 14th 2014 10
Refresh Repeat after additon from Dialog
Fri, Nov 14th 2014 5
Top 10
XPage Object types - extending a simple search
Wed, Jan 28th 2015 184
Data View with a NotesViewEntryCollection
Tue, Jan 20th 2015 45
Fall of Another Domino.....
Mon, Jan 19th 2015 34
Set default font and size for CK Editor - a simple example
Mon, Aug 11th 2014 31
NotesRichText fields attachments to Java InputStreams and Byte Arrays
Mon, Aug 11th 2014 14
Simple Example of the OpenNTF Domino API
Thu, Apr 3rd 2014 13
Developer needed in Alburquerque, NM
Mon, Nov 10th 2014 12
A simple use of the Custom Converter
Tue, Feb 11th 2014 10
Save value from computed field in XPages
Fri, Nov 14th 2014 10
Simple Example: XPage Search
Sat, Jan 10th 2015 10


Brian Moore
Blog Title Domino Herald
Blog Description Hark! Lotus Knows development!
Blog URL http://www.bleedyellow.com/blogs/DominoHerald/
RSS Feed http://www.bleedyellow.com/blogs/roller-ui/rendering/feed/DominoHerald/entries/rss
Validate Feed feedvalidator.org or validator.w3.org
Feed Last Checked Jan 28, 2015 3:15:19 AM EST. Realtime Update:
Location Knoxville, TN, USA


Recent Blog Posts
184
XPage Object types - extending a simple search
Wed, Jan 28th 2015 3:15a   Brian Moore
This is an update to my post here. There, I either have an empty view (dataTable) or the results of a quick search. I've been working on using this concept for a dataView, to extend my populating that with a NotesViewEntryCollection. I'd like to have something there if there is nothing searched for, and the results if there is. The problem is that even if I declare both NotesViewEntryCollections, the object type is different, so it errored out in once case or the other. Thanks to thi
45
Data View with a NotesViewEntryCollection
Tue, Jan 20th 2015 7:10p   Brian Moore
So I've been wanting to use a Date View for a while, but I've not had the time I need to sit down and puzzle it out. And (soap box here) the examples given are pretty complex. I do have a sample based on Brad's work that I will be posting. But as I get that together, here is a tidbit. When you use a Data View, you are only given the option of selecting a Domino View. I wanted to see if you could do it with a collection. It turns out you can. What I did was this (in my odd discovery
34
Fall of Another Domino.....
Mon, Jan 19th 2015 8:10a   Brian Moore
I've had to cancel my trip to LotusSphere. My company has decided to migrate off Domino. A lot of the problem stems from IBM's not fixing the SSL problem quickly. That was the straw that really seems to have pushed things over the edge. I have to agree with management that IBM hasn't given the platform the attention it needs. And this is a shop where the entire IT management team (both of them) are Notes guys. The move isn't going to be easy on anyone. There is an ambitious sched
10
Simple Example: XPage Search
Sat, Jan 10th 2015 8:11p   Brian Moore
Here is one of my entries on doing just one thing - in this case searching. I'm not a big fan of search functionality - I prefer categorization, but search does have it's uses. In classic Notes you could create a button to show the search bar and bang, done. Not so in XPages. What I want is a very simple example of doing a search, and for a project I finally had a need to do it so here it is. What I do is have a simple input box for the search term, I look to see if there is an aster
8
DataTable filter
Sun, Dec 21st 2014 8:10p   Brian Moore
Were I love ViewControls, since it handles a lot of the work and I can just use it. But recently I needed to use a DataTable so I could include a button for a dialog box. Where DataTables are more flexible then ViewControls, there are some things ViewControls have that other controls don't - such as startKeys. startKeys operate like the QuickSearch in classic Notes. I want to use this in a DataTable. What I ended up doing is creating an editBox which populates a viewScope, if that viewScop
10
Save value from computed field in XPages
Fri, Nov 14th 2014 1:18p   Brian Moore
I may be tackling this the wrong way, but here is what I'm doing. I have an XPage where I have a user entering data. It's the initial set up, where later users will just read/approve. I'm using the OpenNTF View Picklist to let the user select items, and from that I want to populate a number of fields. So say the user selects a name, I want to take that document and copy the name and number over. The picklist returns the UNID, so I can get the document. I have ComputerField cont
5
Refresh Repeat after additon from Dialog
Fri, Nov 14th 2014 1:18p   Brian Moore
So I'm working on an app where I have the Extension Library dialog popping up so I can create a new document. These documents are displayed on a main XPage in a repeat control. This works, but I need to do a full page reload to get the new document to appear in the repeat. My dialog has "Save" and "Cancel" buttons, but making them do a full refresh doesn't work. The repeat is in a panel, and the dialog is in another panel. It might have worked to put them both in a single panel
12
Developer needed in Alburquerque, NM
Mon, Nov 10th 2014 10:17a   Brian Moore
There is an opening for a Notes Developer in Albuquerque: Our client who develops, designs and manufactures solar panels for satellites is currently looking for a Lotus Notes Developer to sit on site here in Albuquerque, NM. The developer will be customizing Lotus Notes to meet the company needs as well as resolve ticket issues. The ticket issues can be as easy as fixing typos to as difficult as script approval within a work flow. This is a 3 month contract and the person must have 5 years
7
Get all NotesItem values or null from a bean
Mon, Oct 27th 2014 8:14a   Brian Moore
As I move more to using Java beans, I wanted a way to see if a NotesItem in a document existed, and if so, get the value(s) from it. So like Mark Leusink's XSnippet, but in a Java Bean. The below does this, and if the item is not there, it returns null. So I can see if there is an item, and if so, what the values are. Not the fanciest bit in the world, but it's been working for me. public static Vector getItemValueSet(Document iDoc, String iItemName, java.util.Vector iVector) {
7
October 27, 2014 9:41 AM
Mon, Oct 27th 2014 8:14a   Brian Moore
I'm working on a new app, and in the workflow I write to a number of status fields. The below method checks to see if the NotesItem is already there, and if so, appends a value to it. If it is not, it creates the new NotesItem and puts the first value in. It does not really seem to work if I pass a vector in as the inputValue. I may work on that in a bit where this method checks to see if the inputValue is a vector, and if so adds each element of that vector in. But that's not been an is
5
Show faces-config in Application Configuration
Fri, Oct 10th 2014 8:11a   Brian Moore
Around version 9, Domino Designer had an option to let you get to faces-config from the database list under "Application Configuration". I loved it when I saw it, but when I upgraded, it wasn't there. Sad me . I've been doing more and more Java beans, so I wanted to get to faces-config easily (not that hitting the outline was actually hard). I did finally find it. It's a preference. There are so many preferences, it rather hard to find the one that does what you want. I don't
8
Show faces-config in Application Configuration
Fri, Oct 10th 2014 8:11a   Brian Moore
Around version 9, Domino Designer had an option to let you get to faces-config from the database list under "Application Configuration". I loved it when I saw it, but when I upgraded, it wasn't there. Sad me . I've been doing more and more Java beans, so I wanted to get to faces-config easily (not that hitting the outline was actually hard). I did finally find it. It's a preference. There are so many preferences, it rather hard to find the one that does what you want. I don't
7
Show faces-config in Application Configuration
Fri, Oct 10th 2014 8:11a   Brian Moore
Around version 9, Domino Designer had an option to let you get to faces-config from the database list under "Application Configuration". I loved it when I saw it, but when I upgraded, it wasn't there. Sad me . I've been doing more and more Java beans, so I wanted to get to faces-config easily (not that hitting the outline was actually hard). I did finally find it. It's a preference. There are so many preferences, it rather hard to find the one that does what you want. I don't
7
Show faces-config in Application Configuration
Fri, Oct 10th 2014 8:11a   Brian Moore
Around version 9, Domino Designer had an option to let you get to faces-config from the database list under "Application Configuration". I loved it when I saw it, but when I upgraded, it wasn't there. Sad me . I've been doing more and more Java beans, so I wanted to get to faces-config easily (not that hitting the outline was actually hard). I did finally find it. It's a preference. There are so many preferences, it rather hard to find the one that does what you want. I don't
7
Show faces-config in Application Configuration
Fri, Oct 10th 2014 8:11a   Brian Moore
Around version 9, Domino Designer had an option to let you get to faces-config from the database list under "Application Configuration". I loved it when I saw it, but when I upgraded, it wasn't there. Sad me . I've been doing more and more Java beans, so I wanted to get to faces-config easily (not that hitting the outline was actually hard). I did finally find it. It's a preference. There are so many preferences, it rather hard to find the one that does what you want. I don't
5
Position open in Knoxville, TN
Tue, Sep 23rd 2014 2:11p   Brian Moore
A utility in Knoxville has an opening. If you or anyone you know is interested, please contact Mike below. Tell him I sent you over :) KUB is a pretty good company. I know of it from my time there, even if I never worked there. Cheers, Brian Title: Lotus Notes/Domino Consultant End Client: Knoxville Utility Board (KUB) Duration: unknown at this point, but most likely long-term Contract rate: open to reviewing all levels; must be W2, all-inclusive rate Preferred Quali
4
Take a REST - MWLUG 2014 Presentation
Fri, Aug 29th 2014 9:12a   Brian Moore
I am very proud to have been able to present at MWLUG this year. My presentation is on using REST (Representation State Transfer) via either the Domino Data Service or the Extension Library's REST custom controls. I am attaching my presentation and sample database to this post so you can see and use them. In addition to the Domino Data Service, I have examples of using SSJS to parse the JSON, as well as using a Java Bean. I include a way to take what you pass in and turn it into an attachmen
7
Using the NotesSAXParser- a simple example
Sat, Aug 16th 2014 12:12p   Brian Moore
I've been working on some web services of late. A bit frustrating since the providers use .Net to inconvenience those of us who believe in standards. Since I was having a difficult time in getting the XML to parse, I tried a few things. One (and the one that worked for a while) is the SAX Parser. I'd read some of Stephan Wissel's posts on it, and thought I would give it a shot. My problem was finding simple, easy examples of how to get it to work. So that is what this post is. It i
4
iText: make an attachment out of text
Mon, Aug 11th 2014 11:11a   Brian Moore
This is a simple post. Here we are just taking a string value (from a field, but it can be anything) and making an attachment on an iText document. The addFileAttachment method also works with an iText document. PdfWriter writer = PdfWriter.getInstance(document, out); document.open(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); BufferedWriter bufwriter = new BufferedWriter(new OutputStreamWriter(baos)); bufwriter.write(document1.getItemValueString("NameDocument
14
NotesRichText fields attachments to Java InputStreams and Byte Arrays
Mon, Aug 11th 2014 11:11a   Brian Moore
So I'm working on a project where I have the user got through a "wizard" and at the end s/he gets a completed PDF. The user may upload attachments (in Xpages via the file upload control) and I want to attach these to the PDF when I serve it up. The below does this for the RT field "nameFiles"), and converts it into a byte array, that array can be used some where - in this case by attaching to an iText document. This has been working for multiple attachments in a rich text field, and as y
31
Set default font and size for CK Editor - a simple example
Mon, Aug 11th 2014 11:11a   Brian Moore
So our intern Andy Goldstein has come up with a simple example of setting the default font and font size for a new CKEditor in Xpages. Here is the block and the references he used to get it. Hopefully someone will find it useful: body { margin: 0 0 0 0; padding:0 0 0 0 } td,div { font-family:Arial;font-size:10pt;vertical-align:top } /* Copyright IBM Corp. 2013 All Rights Reserved. */ body { margin: 0 0 0 0; padding:0 0 0 0; overflow:hidden; } .transcript { background-color:#d2d2d2; } .messag
7
XPages - User entering Telephone numbers/Translation and Validation
Wed, Jun 18th 2014 4:12p   Brian Moore
So I'm working on an XPiNC app and the user needs to enter a telephone number, which is pretty standard. The Input Text control has an option for masking the number to (xxx) xxx-xxxx, or whatever you want it to me. The problem I've found is that if you don't enter in the masked format, the field doesn't work right - the user can get a message that the field doesn't match the mask if they have entered using a different format, like xxx-xxx-xxxx. This isn't the desired effe
9
Panel inside a Repeat getting the wrong datasource
Wed, Apr 16th 2014 3:12p   Brian Moore
So I'm building an application where on of the functions is for it to keep attachments. I build new Notes forms and views for this. I want to access this from inside an XPiNC page via a repeat control. Pretty standard, put a panel in the repeat, bind it to the document you get from the NoteID from the repeat and bobs-your-uncle. It worked when I made a little test XPage. But then I put it in a control and that inside (another control) that is my XPage. It stopped working. Stripping it down
7
OpenNTF getSession
Wed, Apr 16th 2014 2:18p   Brian Moore
In my previous post, I gave a simple example of the OpenNTF Domino API. Nathan Freeman commented that I could have gotten the session better than I did, and provided an example that I couldn't make work. We got together at the ATLUG Day of Champions, and he brilliantly (of course) found the reason, I was doing this in an XPiNC session. Everything it different there. Or at least lots of stuff. So this should work most of the time: Session s = Factory.getSession(); But if you are running
13
Simple Example of the OpenNTF Domino API
Thu, Apr 3rd 2014 11:11a   Brian Moore
When I'm starting something new, I like a clean, simple example. Consider it a soap box, drum to beat, axe to grind, pick a metaphor. Having worked in Java in Domino for years, I was incredibly excited when the OpenNTF.Domino API was announced. My problem was locating a simple example so I could start using it. I gave it a few shots, and I trawled looking for a simple example that just got a handle on a document to change it. That requires getting a session and the database of course, but I
5
Clean out Extenstions - Component failure
Fri, Mar 7th 2014 3:11p   Brian Moore
So I'm creating an XPiNC app I start having some problems - and a weird one. A view control won't render in XPiNC - and a View Control all by itself on an XPage, no extension controls, nothing else, not even a panel. I created a new app and tried it again, same problem. The view control renders in a browser, but not in XPiNC. I was getting the same error Oiver Busse was here: https://github.com/OpenNTF/org.openntf.domino/issues/84 I ended up calling IBM support. Yes I call, I'm tha
7
Simple Example of the Application Layout Control
Thu, Feb 20th 2014 9:11a   Brian Moore
Sometimes it seems like an embarrassment of riches. The Extension Library gives us a lot of functions and options that it can be confusing to get a handle on them or to know how they all work. And there are a couple of very tempting controls. One of these very tempting controls is the Application Layout Control (ALC). The idea here is that you can put in your logo, some text, footers, etc. in one place and only change the main content. So rather than (as I did at the start) make an XPage, get it
4
Really missing Wildfire - is there a Twitter Widget somewhere?
Wed, Feb 12th 2014 10:19a   Brian Moore
I love Wildfire, but Twitter has changed it's API and ISW has been too busy (business is good) to update it. I understand that, but I really missing my Twitter feed in my Notes Sidebar. Is there one out there? I can't find one. TwitNotes doesn't seem to have been updated in a while, and I can't find a widget I can just pull over. Cheers, Brian
7
Really missing Wildfire - is there a Twitter Widget somewhere?
Wed, Feb 12th 2014 10:19a   Brian Moore
I love Wildfire, but Twitter has changed it's API and ISW has been too busy (business is good) to update it. I understand that, but I really missing my Twitter feed in my Notes Sidebar. Is there one out there? I can't find one. TwitNotes doesn't seem to have been updated in a while, and I can't find a widget I can just pull over. Cheers, Brian
10
A simple use of the Custom Converter
Tue, Feb 11th 2014 3:12p   Brian Moore
I love XPages work, but there are some bits that are fustrating to me. One is the lack of simple examples for things. For example, in the samples provided by IBM (like the Discussion library, or the OneUI samples) there are a lot of "moving parts" making it hard to see just the bit you are looking for. There are reasons for this, of course, but it makes it a bit harder when you want to understand one aspect, and there are a couple of callbacks, variables, locales, etc. in the mix. What I want
5
Custom Converter - Numbers or Text
Tue, Feb 11th 2014 3:11p   Brian Moore
What I need to do is let the user put in either strings or numbers. If a string, leave it alone. If it's a number, I want it to be formatted with thousands separators. Turns out to be pretty easy, now that I have a basis for it (my last post of a few minutes ago). I need this because the entry is for the number of miles of coverage, if "Unlimited", than it's that, otherwise it's whatever the miles entered are. I could have created an "unlimited" button, but in this case I thought
4
Recycle Anywhere (but watch out)
Mon, Feb 10th 2014 4:09p   Brian Moore
So we have a hybrid app that turns out to be a learning work-in-progress. It is decent in size and complexity, and my partner and I have learned new XPages stuff as we have gone alone. Since we were learning on this on, there are some parts that we might have done better if we had only know. But since they work, we are not going to rip out and redo. We take it as a lesson learned and move on. We had a modification request - there are a couple of pages and if a page different than the one showi




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