logo

Updating codestore to Domino 6

As I use and learn more about Domino 6 I am slowly bringing this site's design to the cutting edge of Domino technology. As I do this I am making notes of what I do, with the view of writing an article all about it. Look at me, second day on the trot that I've promised an article! Better get my finger pulled out.

As I said the other day, learning about something is one thing, using it's another. Until I use a new feature of Domino's I tend not to trust it to work. However, as I use more of the new features, I'm starting to like them more and more. Yesterday I used one of the new looping @Functions for the first time. It worked.

Remember Chris Thorpe's amazing hackery that let us List Search Results in Groups? At the time it was a revolution. Now, it's just not necessary. Using an @While I've simplified the method and improved on it a little in the process.

You can see it in action if you search this site for "CSS". One improvement is that you can not manually edit the count parameter in the URL and the code reflects this. If you can't wait for the article, here's the new code.

It's great news that new functions work. The uses are almost endless. Creating HTML on-the-fly with @Functions was already quite powerful, now they're unstoppable, once you put your mind to it.

Comments

  1. Jake,

    I spotted your formula code in a comment for "List Search Results in Groups" a couple of days ago. It gave me an idea for an example page to demonstrate my ddcTagTemplate.

    Heres a link to the example page if anyones interested.

    Navigating multiple views without losing position.

    {Link}

    You can see the formula I used by clicking on the "view-content" link at the bottom of the page.

    I know the formula I used will only work with my template by it was your snippet that gave me the idea.

    Thanks Jake.

    • avatar
    • Paul
    • Wed 12 Mar 2003 08:01

    Seen this computer consultant? He's never written to this forum has he????

    {Link}

    • avatar
    • Jake
    • Wed 12 Mar 2003 09:55

    John. I get an XML error when I click on "view content". Is that because I'm using Mozilla? Looks promising though. When are you going to hit us with your creation...?

    • avatar
    • harkpabst_meliantrop
    • Wed 12 Mar 2003 09:57

    Is it common practice in GB to publish the full name of someone who is accused of a crime but not found guilty yet?

    • avatar
    • Paul
    • Wed 12 Mar 2003 10:00

    Yes. Where are you from, Harkpabst?

  2. Jake,

    The problem is my usual oversight of not amping my ampersands again. I need revise the regular expression group which is applied to the vew-content page. It works ok with IE as the content is sent as text/html. Mozilla barfs because it expects valid XHTML. I'll fix this evening.

    My creation was due birth this week. But due to a number of false starts and my usual indecision it may be another week yet. Plus I dont have a logo yet so if anyone fancies a bit of a graphic design challenge I would be happy to recieve any contributions. A special preview copy of the database will be sent to any contributors.

    Jake,

    Expect an e-mail soon about revised code for the XML-RPC Blogger interface.

  3. Loops is loverly, all right. I'm also rather fond of @Sort, and @SetHTTPHeader and @URLQueryString have come in handy from time to time. ND6+ Formulae rule! Well, except for the parentheses -- anyone who's gotten used to mismatched parens errors in R5 will go absolutely mad in ND6 and above.

  4. Try a computed for display field with the following formula in an R6 form.

    @SetHTTPHeader("Content-Length";"1");

    My friend went nuts trying to figure out why his page was not displaying. Very useful for april fools day.

  5. Can we expect to see the Blog template re-written using more R6 features?

    • avatar
    • harkpabst_meliantrop
    • Sat 12 Apr 2003 02:36

    Paul, I'm the one he slaughtered. ;)

    Well, not quiet, but we're country fellowmen. This is the first time I noticed this surprising difference. Maybe this looks just like a minor difference from your side, but it appears as a fundamentally different social concept to me.

    And before I lose track of the topic completely: @Formula looping in a form's PostSave event rules! Incredible what you can do with it!

    • avatar
    • laurens
    • Sat 12 Apr 2003 03:34

    Very, very beautiful code:

    - simple, so fast calculations

    - simple, so easy to copy paste

    - simple, so stable

    - simple, so easy to understand, adapt and maintain

  6. Paul - Yes I saw that story. Apparently he was trying to do an Anthony Hopkins number. But of course this guy is a techie, so it probably came out as...

    "A guy from marketing once tried to test me... I ate his liver with

    some Java beans and a nice chianti"

    • avatar
    • Jake
    • Sat 12 Apr 2003 06:08

    Erskine. I hadn't thought about that. Wasn't planning on making any changes at all to the template but I will consider it.

    Laurens. Glad you like it ;o)

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Wed 3 Dec 2003

Share This Page

# ( ) '

Comments

The most recent comments added:

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

More Content