Ajax implementation of a domino view.

I have a dream… No…

In a time long long…. No…

Memories… Hmmm

Imagine all… Yes

I don’t remember how many times I have populated view based data to a web page by using “document.writeln(”)”. I can’t recall how my times I have written a script src tag. This was ofcourse many many years ago (in internet time) and today we just clicks on a button and all the content are washed, colorized and beutified before it ends up exactly where the user needs it on her screen.Well, atleast is loading the view content from back end using XHR more or less standard in web apps today, and many times have I been thinking, gosh we should do this in a more standard way… But, as always, short term money counts so it never happened.

However, Vince has done this. I haven’t checked the code at all, but the API’s looks nice:

window.embeddedViews["people"] = new EmbeddedView( $(”people”), thisDb + “/(PeopleByCompanyName)”, “&Count=-1&RestrictToCategory=” + companyName, ["First","Last","Title"], ["33","33","33"], ["a"], “width=350,height=320″, “Person”, “People Not Selected”, true );

Check out the live demo at: http://www.vincedimascio.com/vince/demo/ev.nsf/ChoosePeople

2 Comments

Curtis AveryApril 24th, 2007 at 22:53

I posted something similar along with a downloadable demo db on OpenNTF.org in July of 2005… http://www.openntf.org/Projects/codebin/codebin.nsf/CodeBySubContributor/D7C0F2B78C0F0C9E8625704500693CF8

The code that I posted only working in MS IE, but several others have posted enhancements to make it work with Firefox.

JocheApril 24th, 2007 at 22:58

I must admit that I don’t follow the openNTF as much as I want. It’s excellent to see more implementation of the same strategies. Thanks for sharing this!

Leave a comment

Your comment