Show-n-Tell Thursday
PermaLink Preventing users from clicking on Submit (or any button) more than once03:38 PM
Category : Show-n-Tell Thursday
Location : Columbus, Ohio, USA
Problem:
       Users in their impatience click submit a second or third time resulting in multiple saves of the dcoument.

Solution:
       Hide the button after it has been clicked and then do validation and submission.



(2)

PermaLink Parts Database Update for LotusPhere Hands On demo and Advisor Ultimakeover Sessions04:28 PM
Category : Show-n-Tell Thursday
Location : Columbus, Ohio, USA
I have made an update to the Hands-On Parts database Scott Good and I used at Lotusphere '06 and again at Advisor's Summit conferences. The update is to the MenuHTML logic which converts the outline into a reasonably dynamic, document driven list based menu. Becuase I have continually spoke out against the advisability of using WebQueryOpen LotusScript agents, I replaced the logic from the agent with two versions of it done entirely in Formula language. There are two MenuHTML ("MenuHTML - one level" and "MenuHTML - two levels") forms each contain the logic which is surprisingly simple considering what they accomplish.

I also updated the DynamicMenu.css page with rules that allow multiple levels of menus to work in both IE and Firefox without the frustrating overthetop appearance they had...

So download the update from my old download site....

(1)

PermaLink Quick approach to creating Excel Output for browser users09:33 AM
Category : Show-n-Tell Thursday
Location : Columbus, Ohio, USA
Technorati tags: , ,

This tip falls into the category of "I knew that.". But like the other 10,000 pieces of data that I knew, it was gone, until a phone call with Rob recalled it.

Domino Designer help has a nice document titled: "Using an agent to generate XML" that describes how to create an agent that feeds XML back to the browser. I have used this approach in several places to get data. The key is to start the output with a specially formated line:

Print "Content-type: text/xml" 'Prevents Domino from sending default headers.

Then you simply use print statements to output the XML you want to send to the browser;

Print |<TopLevel>|
Print |<NextLevel>This is the text at next level node 1</NextLevel>|
Print |<NextLevel>This is the text at next level node 2</NextLevel>|
Print |</TopLevel>|

When modern browsers receive this line they go into XML mode which allows you to see and process the XML output dfrom the agent.

So, what about Excel?



(1)

PermaLink Simple Mouse Over Help for Domino Pages
Category : Show-n-Tell Thursday
Location : Columbus, Ohio, USA
Technorati tags: , ,

Ha, this week I made it on time, actually several hours early!!!

So have you ever wanted to have some useful help presented to the user when they mouse over a link??

Like this:

Yeah, well so did Paxton McVoy, one of our project leaders and developers on the Teamwork Solutions team. Since I was working on my and I needed I developed a neat little Javascript tool.

Sorry to those using RSS Readers., the Code Does not come through. You have to go to the original blog page to see it.




(4)

PermaLink OK, It is not Thursday, but Rocky pushed me into this...02:41 PM
Category : Show-n-Tell Thursday
Location : Cincinnati, Ohio, USA
Technorati tags: , ,

Rocky did a post about an agent to fix the issues from in Technote 1229918, that Katherine Emlong had asked him to do. Rocky, of course, used the very geeky and kewl NotesStream class to handle the file I/O. He asked me to look at it and I asked "Why use NotesStream?" He said "It ROCKS?" I said, "Yeah, but it is not backward compatible to the folks this agent is supposed to help?" He said "Right, so why don't you.... " It was right about then I knew I was being conned.....

So I rewrote the agent to use LotusScript files...


(3)

Useful Links
Contact Me
Calendar
September 2010
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Planet Lotus
The BlogRoll
By Category
Monthly Archive
Lotus Domino ND6 RSS News Feed RSS Comments Feed RSS Validator Blog Admin Lotus Geek Open Notes Picture Database OpenNTF CoComment Integrated BlogSphere
Powered by
Blogsphere