logo

Tips Week 2.3 - Using Pages for Special Forms

Note to self: If you're going to start a week of tips, make sure you have at least five decent tips.

I know they're not exactly ground-breaking, but you never know who will find what useful. These tips are just things I've had in my Action Outline file for ages. It's like a massive notepad come clipboard and it's got all sorts of stuff in there. I've been having a clear out of late. Hence "tips week".

Anyway, on to today's tip, which is ridiculously simple - did you know the $$ReturnGeneralError "form" can in fact be a Page? Same goes (I think) for other things like document deleted forms and view templates. Obviously, you can't have fields on them, so this tip is in fact fairly useless. Oh well.

Comments

  1. Hardly useless.

    You can include computed text on pages, which means they can be used for all kinds of goodness. You can even have them display the doctype you like. :-)

    Any time I have a need for an html form that won't work (play nice) with a Domino form, I use a page and hand code the markup. You loose some RAD speed, but gain a degree of control.

  2. Funny. The only pages I ever use in my applications tend to be named pgBlank or pgEmpty. Who's able to guess what they are used for?

    In fact, almost always when I started to use a page in some projekt, sooner or later came the point where I finally did need a real field. For me, forms treated as HTML (possibly available to public access users) are the better choice, even if I don't want Domino's code generated.

    Preferences do differ, obviously.

Your Comments

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


About This Page

Written by Jake Howlett on Wed 15 Mar 2006

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