<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
<channel>
<title>CodeStore.net comments on "One Form To Rule Them All"</title>
<description>Replies to blog "One Form To Rule Them All" on codestore.net.</description>
<link>http://www.codestore.net/</link>
<lastBuildDate>Tue, 19 Aug 2008 08:45:41 -0500</lastBuildDate>
<atom:link href="http://www.codestore.net/store.nsf/blog.xml?Open=20050805" rel="self" type="application/rss+xml" />

<item>
	<title>Reply from Zoltán Szalay</title>
	<pubDate>Tue, 19 Aug 2008 08:45:41 -0500</pubDate>
	<author>Zoltán Szalay</author>
	<description><![CDATA[ 
		<p>Dear Jake,</p>
		<p>I was very happy and surprised, when I found your blog site (www.codestore.net).</p>
		<p>It is a very interesting and helpfull site for webdomino designers.</p>
		<p>I have some problems with the domino views and I found solutions for those on your blog site.</p>
		<p>May I have a question to you: Where could I download the (viewform.nsf) example file?</p>
		<p>..and please, updating the link of your donate.</p>
		<p>Many thanks,</p>
		<p>Zoltan</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=4D24BF20B8B65BFA862574AA004B97F4"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_4D24BF20</link>
</item><item>
	<title>Reply from Carlos</title>
	<pubDate></pubDate>
	<author>Carlos</author>
	<description><![CDATA[ 
		<p>Hi Jake:</p>
		<p>Please, I would like to know if you can help me How Can I do your cathegorized view by LastName(alphabetic list) ?...because I'm building something similar but with countries............</p>
		<p>1000 thanks,</p>
		<p>Carlos.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=C850072AAC438BBB852573DF001E4FF7"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_C850072A</link>
</item><item>
	<title>Reply from Jake Howlett</title>
	<pubDate>Fri, 16 Jun 2006 05:36:00 +0100</pubDate>
	<author>Jake Howlett</author>
	<description><![CDATA[ 
		<p>Hi Mo. No, I don't know of any way round this. My approach is to pretend these options don't exist and not use them.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=13FD1E230BDD75CC8625718F003A477A"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_13FD1E23</link>
</item><item>
	<title>Reply from Mo kane</title>
	<pubDate>Fri, 16 Jun 2006 05:31:00 +0100</pubDate>
	<author>Mo kane</author>
	<description><![CDATA[ 
		<p>Hi Jake, I was developing such a view, but then I discovered tha when you have a standard categorized view, when you expand or collapse the view, the querystring which I passed (like: viewname=ByCompany), Lotus overwrites the URL with the expand, start etc. variables.</p>
		<p>Do you know how to catch this?</p>
		<p>Thanks in advance</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=8543693474853AB28625718F0039C6AD"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_85436934</link>
</item><item>
	<title>Reply from Jim</title>
	<pubDate>Thu, 8 Sep 2005 10:21:00 +0100</pubDate>
	<author>Jim</author>
	<description><![CDATA[ 
		<p>My 2p</p>
		<p>A one form design is easily acheivable although it has the downside of old "max lines" problem to contend with.</p>
		<p>$$ViewTemplateDefault allows you to get around the max lines problem with some sensible computed navigation links and generally works fine except for one of Domino's idiosycracies (is that spelt correctly?)</p>
		<p>This being the inclusion of &lt;meta name="robots" content="noindex"&gt; which is automatically inserted by the server when it displays a "view". Whereas a form (or page)with an embedded view has no such annoying html inserted into it. </p>
		<p>Why annoying ? Because use of $$ViewTemplateDefault seems to stop Google indexing a site and that is the only significant difference I can see</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=F35A50946285BB168625705800545F13"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_F35A5094</link>
</item><item>
	<title>Reply from Mark Barton</title>
	<pubDate>Mon, 8 Aug 2005 02:24:00 +0100</pubDate>
	<author>Mark Barton</author>
	<description><![CDATA[ 
		<p>Ahh,</p>
		<p>I understand.  No views at all.</p>
		<p>Why not app.nsf/0/unid?opendocument then ?</p>
		<p>Mark</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=2400824B6A2DD916862570570028ADA8"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_2400824B</link>
</item><item>
	<title>Reply from Niel</title>
	<pubDate>Fri, 8 Jul 2005 20:51:00 +0100</pubDate>
	<author>Niel</author>
	<description><![CDATA[ 
		<p>...but there are still views used in the app that need to be exposed that you wouldn't want people to access directly.</p>
		<p>example app.nsf/myview/dockey?OpenDocument</p>
		<p>I don't want someone to be able to access app.nsf/myview?OpenView</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=13374125AA96224586257057000A2FE7"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_13374125</link>
</item><item>
	<title>Reply from Niel</title>
	<pubDate>Fri, 8 Jul 2005 20:44:00 +0100</pubDate>
	<author>Niel</author>
	<description><![CDATA[ 
		<p>Mark-</p>
		<p>I didn't realize you could disable the view for web access and still use it for lookups on web based forms. Thanks!</p>
		<p>Yes, two $$VT will work.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=1172223C1C3D0E65862570570009877A"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_1172223C</link>
</item><item>
	<title>Reply from Ethann Castell</title>
	<pubDate>Fri, 8 Jul 2005 18:39:00 +0100</pubDate>
	<author>Ethann Castell</author>
	<description><![CDATA[ 
		<p>I think this is a pretty good idea.  However I'm sure that it won't satfisfy every requirement.  I did something similar to this (although not quite as advanced) back in the late 90's and it worked well for that particular company.</p>
		<p>I like the idea of having one form for each type or category of information.  I can see that this would be very useful in many apps.</p>
		<p>I look forward to seeing the article.</p>
		<p>Ethan</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=89F21D157FA01739862570560081FEDA"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_89F21D15</link>
</item><item>
	<title>Reply from Mark Barton</title>
	<pubDate>Fri, 8 Jul 2005 11:49:00 +0100</pubDate>
	<author>Mark Barton</author>
	<description><![CDATA[ 
		<p>Niel,</p>
		<p>After considering your common scenario ;-)  I still don’t see why you don’t use $$ViewTemplateDefault for your customer views, 1 $$ViewTemplate for admin and hide the lookup views from the web if you have a concern for people trying to open them.</p>
		<p>Making sure only the views you actually want visible on the web is good practice.  Trawl through all of those crazy lookup views and use the design properties box – your lookups will still work.</p>
		<p>Jake I am not sure how having a separate form is any different to the $$ViewTemplateDefault after all it is a form isn’t it ?  I can understand if you want to use editable fields but you could do this anyway couldn’t you as in your Simple Search box.</p>
		<p>One other thing, I understand some search engines are not overly happy following parameterised URLs which could lead to problems (if this is important to you).</p>
		<p>Mark</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=9C5BA9EC8CA0A9C486257056005C721C"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_9C5BA9EC</link>
</item><item>
	<title>Reply from Niel</title>
	<pubDate>Fri, 8 Jul 2005 10:15:00 +0100</pubDate>
	<author>Niel</author>
	<description><![CDATA[ 
		<p>Greg-</p>
		<p>Great idea, I had tried this once before but couldn't get it to work, seeing your comment lead me to do try it again.  It appears (6.5 client/server) that it only works if you use the generic name as the first alias.  This makes it hard to see your real alias name in designer because it only shows the first alias name in the view listing.</p>
		<p>For those questiong why not just use $$ViewTemplateDefault consider this common scenario:</p>
		<p>I have a 100% web based applications with ~10 views for the customer side of the app, these are (now) displayed using $$ViewTemplate for cust, There is also an admin side that is (now) displayed with $$ViewTemplate for admin, $$ViewTemplateDefault is the same form as $$ReturnGeneralError to help secure lookup views from being exposed.</p>
		<p>All of my views have three names 1)User Friendly 2)View type (cust,admin,sys) 3)Alias for script access.</p>
		<p>The only minor drawback is that if you want to NOT use the $$ViewTemplate for cust you have to remove the cust alias.  I tried using $$ViewTemplate for User Friendly and $$ViewTemplate for ScriptName to override the $$ViewTemplate for cust, neither worked.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=63D21D45F626223C862570560053DC34"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_63D21D45</link>
</item><item>
	<title>Reply from Doug Cohen</title>
	<pubDate>Sun, 8 May 2005 13:19:00 +0100</pubDate>
	<author>Doug Cohen</author>
	<description><![CDATA[ 
		<p>There is one huge flaw to having a commons alias amongst all of your views so they can share one view template.</p>
		<p>If you have one of these views set to prohibit refresh design, all of the views will not update if you needed to push a change.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=3B15207A436E10AA8625705400649F11"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_3B15207A</link>
</item><item>
	<title>Reply from Jerry Carter</title>
	<pubDate>Sun, 8 May 2005 12:11:00 +0100</pubDate>
	<author>Jerry Carter</author>
	<description><![CDATA[ 
		<p>I chose the $$ViewTemplatedefault approach for my rewrite of DomBlog.  It makes for much more consistent presentation (though sometimes inadequate) and you can completely leave the ?open parm out if you choose, though I didn't carry it to that end.</p>
		<p>I think the opportunities here are in </p>
		<p>* cleaning up your URLs, </p>
		<p>* consolidating your design, and </p>
		<p>* avoidance of being overly reliant on server side processing of query args which add a smidge to performance drag.</p>
		<p>Keeping those goals in mind, as Jake says, there are more than one way to skin a cat - use what suits your situation best.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=14BD3C7B03314F3686257054005E7A3B"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_14BD3C7B</link>
</item><item>
	<title>Reply from Jeff Crossett</title>
	<pubDate>Sun, 8 May 2005 12:05:00 +0100</pubDate>
	<author>Jeff Crossett</author>
	<description><![CDATA[ 
		<p>Great find Curtis!!</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D0C65002DDA54AC186257054005DECB4"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_D0C65002</link>
</item><item>
	<title>Reply from Curtis Avery</title>
	<pubDate>Sun, 8 May 2005 11:56:00 +0100</pubDate>
	<author>Curtis Avery</author>
	<description><![CDATA[ 
		<p>All of our production Domino web applications use this technique.  It's also included in a sample database posted in the Code Bin on OpenNTF.org --&gt; {<a href="http://www.openntf.org/projects/codebin/codebin.nsf/CodeByDate/D7C0F2B78C0F0C9E8625704500693CF8">Link</a>}</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=8E01F1530E03B87B86257054005D0F50"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_8E01F153</link>
</item><item>
	<title>Reply from Jake</title>
	<pubDate>Sun, 8 May 2005 11:38:00 +0100</pubDate>
	<author>Jake</author>
	<description><![CDATA[ 
		<p>Rob. The ViewTemplateDefault is probably just as good at the job. Personally I'd rather have a form to show the views for each kind of document in a database. Makes it more flexible. </p>
		<p>Christopher. AJAX is very cool. Although I don't think rendering a view is putting it to its best use though. Use AJAX where nothing else will do. Don't use it for the sake of it.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=0831ED27760E698486257054005B6507"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_0831ED27</link>
</item><item>
	<title>Reply from Christopher Byrne</title>
	<pubDate>Sun, 8 May 2005 09:13:00 +0100</pubDate>
	<author>Christopher Byrne</author>
	<description><![CDATA[ 
		<p>Jake,</p>
		<p>Why not AJAX? I am doing a similar functionality using AJAX and it just plain rocks!</p>
		<p>@Yogi, you are going to have the same issue no matter what approach you take. Your application is either secure or it is not. I never have an "ALL" or "(ALL)" view.</p>
		<p>Cheers!</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=41FDBB2CFA7AD03286257054004E1897"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_41FDBB2C</link>
</item><item>
	<title>Reply from Rob</title>
	<pubDate>Sun, 8 May 2005 08:59:00 +0100</pubDate>
	<author>Rob</author>
	<description><![CDATA[ 
		<p>Agree with Chris B.  How does $$ViewTemplateDefault not meet the criteria?</p>
		<p>@Chris H. - $$ViewTemplateDefault should never be used to control access to documents.  There are just too many ways to easily bypass.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=CD70DF41A5F3D8B686257054004CDB7C"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_CD70DF41</link>
</item><item>
	<title>Reply from Ian B</title>
	<pubDate>Sun, 8 May 2005 08:31:00 +0100</pubDate>
	<author>Ian B</author>
	<description><![CDATA[ 
		<p>I used to use a common alias for our views, which works really well, but found it caused an unforseen problem which took ages to pin down to the view. Can't for the life of me think *exactly* what it was though! IIRC, whenever you picked the view from a notes dialogue box it would actually refer to the alias without you knowing. All my links ended up showing the same view! This may have been fixed in newer versions.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=065D990D716F256086257054004A53D9"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_065D990D</link>
</item><item>
	<title>Reply from Stephan H. Wissel</title>
	<pubDate>Sun, 8 May 2005 06:24:00 +0100</pubDate>
	<author>Stephan H. Wissel</author>
	<description><![CDATA[ 
		<p>Just an idea:</p>
		<p>instead of using ?ReadForm, why not open a document. You could create 2 forms (one for the client, one for the web) and then configure all aspects of the view to show</p>
		<p>- coloring</p>
		<p>- menu at left/right</p>
		<p>- text around etc</p>
		<p>From the values entered in the form you compute the html that gets displayed around the view..</p>
		<p>PM me for the sample DB...</p>
		<p>;-) stw</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=EC8BBF1DAF88156A86257054003EAA07"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_EC8BBF1D</link>
</item><item>
	<title>Reply from Jake</title>
	<pubDate>Sun, 8 May 2005 04:01:00 +0100</pubDate>
	<author>Jake</author>
	<description><![CDATA[ 
		<p>Hmm, obviously I didn't think this one through 100%.</p>
		<p>Greg's method of one common alias sounds a lot tidier and is the kind of approach I'd prefer to use. However, there are other aspects to my method that I want to talk about, which are useful. As always there's more than one way to skin a cat.</p>
		<p>YoGi. If a view needs to be secure it should be secured.</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=AAB5CD3A3DF3C1998625705400318961"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_AAB5CD3A</link>
</item><item>
	<title>Reply from YoGi</title>
	<pubDate>Sun, 8 May 2005 03:27:00 +0100</pubDate>
	<author>YoGi</author>
	<description><![CDATA[ 
		<p>I don't like the idea to pass a ressource name to include thru the URL. It makes me think of.. well, the common flaw in some scripting languages where beginners set a filename as parameter (foo.php?inc=contact.php, which can easily be replaced with foo.php?inc=/etc/passwd). </p>
		<p>What if you got - like most of notes databases - an "All" view, through which people might discover sensitive data ? I guess it can lead to security issues. </p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=D25A3C3C864E79CE86257054002E6BE9"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_D25A3C3C</link>
</item><item>
	<title>Reply from Chris Harris</title>
	<pubDate>Sun, 8 May 2005 03:07:00 +0100</pubDate>
	<author>Chris Harris</author>
	<description><![CDATA[ 
		<p>I tend to only us $$viewtemplatedefault as a "catch all" to stop people opening views that may have been "accidently" left open to web!</p>
		<p>Just put a nice message there instead of a view, like "Oi bog off and stop trying to open something your not supposed to!!"</p>
		<p>Ok, maybe not quite that phrase...</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=DC12E663478384F486257054002C9842"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_DC12E663</link>
</item><item>
	<title>Reply from Mark Barton</title>
	<pubDate>Sun, 8 May 2005 02:50:00 +0100</pubDate>
	<author>Mark Barton</author>
	<description><![CDATA[ 
		<p>Gotta agree with Chris.</p>
		<p>Surely the best solution is the $$ViewTemplateDefault for all of the default views then just add additional $$ViewTemplates for special cases.</p>
		<p>Mark</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=25CF81ACF9BC71D386257054002B1D23"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_25CF81AC</link>
</item><item>
	<title>Reply from Chris Bellamy</title>
	<pubDate>Fri, 8 Apr 2005 23:44:00 +0100</pubDate>
	<author>Chris Bellamy</author>
	<description><![CDATA[ 
		<p>Maybe I'm missing something, but why not just create a single $$ViewTemplateDefault form?</p>

		<p><a href="http://www.codestore.net/store.nsf/reply?OpenForm&ParentUNID=80FDB6F21BA9776E86257054001A10DE"><img border="0" src="http://www.codestore.net/store.nsf/images/rss_reply.gif" alt="Click here to post a response" /></a></p>
	]]></description>
	<link>http://www.codestore.net/store.nsf/unid/BLOG-20050805?OpenDocument#DOC_80FDB6F2</link>
</item>

</channel>
</rss> 
