Search

Top Ten List

Of all my ramblings, people seem to find the following the most interesting:
  1. Pimp My Fields
  2. Using the WebBrowser control to view attachments inline
  3. Purty charts in Domino
  4. My approach to DbLookup and DbColumn in Javascript
  5. Mind Map of Database Design
  6. Design Catalog - version control for Domino
  7. Workaround for LotusScript event binding
  8. Clickable URL's in Notes view columns
  9. Every time you use window.open, God kills a kitten
  10. Create, edit, and delete without agents via AJAX

« Running multiple versions of IE | Main| Consuming web services in Notes and Domino 8 »

Tee hee

Category domino java dxl

import lotus.domino.*;
public class JavaAgent extends AgentBase {
public void NotesMain() {
try {
Session session = getSession();
AgentContext agentContext = session.getAgentContext();
DxlFactory.createAgent("James Bond", DxlAgent.LOTUSSCRIPT).addCodeEvent("Initialize", "Sub Initialize\n'Shaken, not stirred.\nEnd Sub").toDesignElement(agentContext.getCurrentDatabase());
} catch(Exception e) {
e.printStackTrace();
}
}
}



(cross-posted at BleedYellow)

Comments

Gravatar Image1 - Ooh! DXLFactory looks nifty. Emoticon

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Contact Me

Hire Me

Elsewhere

What the Quote?

"I like the sound of that, you unsecure bastard."

Steven Rodgers

"They're all flying to Hawaii to reenact Pearl Habor Day tomorrow."

Steven Rodgers

"Screw Belgium, I don't wanna pay more than 15 bucks for a poop mug."

Steven Rodgers

"I'm gonna go play some more. Don't delete my mom."

Kofi Whitney

"Spain used to be all powerful. Now they just nap all the time."

Laura Tripcony

Apparel

Lotus Rocks

I write the code that makes the young girls cry

Current Terror Alert Level

Assorted Linkage

ClustrMap