264 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
From URL Parameter to SessionScope for navigation
Wed, May 20th 2015 200
QuickTip: Login Control - Set initial page after Login
Mon, Apr 27th 2015 19
XPage Object types - extending a simple search
Wed, Jan 28th 2015 17
Data View with a NotesViewEntryCollection
Tue, Jan 20th 2015 17
Fall of Another Domino.....
Mon, Jan 19th 2015 15
Simple Example: XPage Search
Sat, Jan 10th 2015 18
DataTable filter
Sun, Dec 21st 2014 19
Top 10
From URL Parameter to SessionScope for navigation
Wed, May 20th 2015 200
Set default font and size for CK Editor - a simple example
Mon, Aug 11th 2014 23
DataTable filter
Sun, Dec 21st 2014 19
QuickTip: Login Control - Set initial page after Login
Mon, Apr 27th 2015 19
NotesRichText fields attachments to Java InputStreams and Byte Arrays
Mon, Aug 11th 2014 18
Save value from computed field in XPages
Fri, Nov 14th 2014 18
Simple Example: XPage Search
Sat, Jan 10th 2015 18
Data View with a NotesViewEntryCollection
Tue, Jan 20th 2015 17
XPage Object types - extending a simple search
Wed, Jan 28th 2015 17
Using the NotesSAXParser- a simple example
Sat, Aug 16th 2014 16


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 May 20, 2015 11:15:47 AM EST. Realtime Update:
Location Knoxville, TN, USA


Recent Blog Posts
200
From URL Parameter to SessionScope for navigation
Wed, May 20th 2015 11:11a   Brian Moore
This is a very minor post, and something I expect most people can do on their own, but I thought I'd share what I've done. For a project, I have a single application, but I'll have multiple departments access it. It's easier to have a single database then multiples in this case, not the least because of the amount of data. But each department needs to see only their own data, even if it's not a problem to see the others data. I could have forced a URL Parameter in, and read
19
QuickTip: Login Control - Set initial page after Login
Mon, Apr 27th 2015 12:34p   Brian Moore
First: Thanks to whoever fixed the BleedYellow Login process. I've been trying for a week, and the screens don't give you a hit of where to send an email if there is a problem (hint, hint). This is a quick tip I'm pretty sure most people have already figured out, but I thought I'd post it anyway. I have an app where I wanted to use the embedded Login Control in a Navigator. However, when I tested it, after a successful login I was sent to an old-style web view (what you get
17
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
17
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
15
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
18
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
19
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
18
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
12
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
10
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
10
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) {
6
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
6
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
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
8
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
8
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
16
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
8
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
18
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
23
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




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