<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=VbzCart%2Fv1%2Fclass%2FvcPageContent_ckout%2FDoPage%2F2019-04-27</id>
	<title>VbzCart/v1/class/vcPageContent ckout/DoPage/2019-04-27 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://htyp.org/mw/index.php?action=history&amp;feed=atom&amp;title=VbzCart%2Fv1%2Fclass%2FvcPageContent_ckout%2FDoPage%2F2019-04-27"/>
	<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/DoPage/2019-04-27&amp;action=history"/>
	<updated>2026-06-27T05:01:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/DoPage/2019-04-27&amp;diff=24952&amp;oldid=prev</id>
		<title>Woozle: Woozle moved page VbzCart/v1/class/vcPageContent ckout/ProcessPage/2019-04-27 to VbzCart/v1/class/vcPageContent ckout/DoPage/2019-04-27: renamed method</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/DoPage/2019-04-27&amp;diff=24952&amp;oldid=prev"/>
		<updated>2019-06-08T13:10:42Z</updated>

		<summary type="html">&lt;p&gt;Woozle moved page &lt;a href=&quot;/VbzCart/v1/class/vcPageContent_ckout/ProcessPage/2019-04-27&quot; class=&quot;mw-redirect&quot; title=&quot;VbzCart/v1/class/vcPageContent ckout/ProcessPage/2019-04-27&quot;&gt;VbzCart/v1/class/vcPageContent ckout/ProcessPage/2019-04-27&lt;/a&gt; to &lt;a href=&quot;/VbzCart/v1/class/vcPageContent_ckout/DoPage/2019-04-27&quot; title=&quot;VbzCart/v1/class/vcPageContent ckout/DoPage/2019-04-27&quot;&gt;VbzCart/v1/class/vcPageContent ckout/DoPage/2019-04-27&lt;/a&gt;: renamed method&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:10, 8 June 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
	<entry>
		<id>https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/DoPage/2019-04-27&amp;diff=24912&amp;oldid=prev</id>
		<title>Woozle: Created page with &quot;=2019-04-27 notes= I &#039;&#039;think&#039;&#039; what needs to happen is that things need to happen in the following order: * &#039;&#039;&#039;detect submitted page&#039;&#039;&#039; - $this-&gt;GetPageKey_forData(); * &#039;&#039;&#039;det...&quot;</title>
		<link rel="alternate" type="text/html" href="https://htyp.org/mw/index.php?title=VbzCart/v1/class/vcPageContent_ckout/DoPage/2019-04-27&amp;diff=24912&amp;oldid=prev"/>
		<updated>2019-05-05T11:48:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=2019-04-27 notes= I &amp;#039;&amp;#039;think&amp;#039;&amp;#039; what needs to happen is that things need to happen in the following order: * &amp;#039;&amp;#039;&amp;#039;detect submitted page&amp;#039;&amp;#039;&amp;#039; - $this-&amp;gt;GetPageKey_forData(); * &amp;#039;&amp;#039;&amp;#039;det...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=2019-04-27 notes=&lt;br /&gt;
I &amp;#039;&amp;#039;think&amp;#039;&amp;#039; what needs to happen is that things need to happen in the following order:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;detect submitted page&amp;#039;&amp;#039;&amp;#039; - $this-&amp;gt;GetPageKey_forData();&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;detect requested page&amp;#039;&amp;#039;&amp;#039; - $this-&amp;gt;DetectPageRequest();&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;determine page to show&amp;#039;&amp;#039;&amp;#039; - $this-&amp;gt;HandlePageRequest();&lt;br /&gt;
** calculate if requested page should be displayed&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;load all form controls needed&amp;#039;&amp;#039;&amp;#039; to receive submitted &amp;amp; show display page&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;2019-04-28&amp;#039;&amp;#039;&amp;#039; probably what needs to happen here is that we need to duplicate the logic of whatever calls {{l/version/method|vcCartDataManager|GetBuyerObject}}() et al. (currently includes capturing, rendering, and other stuff) and &amp;#039;&amp;#039;just&amp;#039;&amp;#039; create the requisite objects, don&amp;#039;t try to use them yet.&lt;br /&gt;
** &amp;#039;&amp;#039;&amp;#039;2019-05-04&amp;#039;&amp;#039;&amp;#039; The first problem is to figure out how to make sure that this logic gets invoked during the setup events (KI_NODE_EVENT_DO_BUILDING or KI_NODE_EVENT_DO_FIGURING, not sure which is preferable)&lt;br /&gt;
*** Seems like it &amp;#039;&amp;#039;should&amp;#039;&amp;#039; be happening in {{l/version/method|vcPageContent_ckout|OnRunCalculations}}, which &amp;#039;&amp;#039;does&amp;#039;&amp;#039; get called.&lt;br /&gt;
*** ...but we&amp;#039;re trying to receive the form &amp;#039;&amp;#039;first&amp;#039;&amp;#039;, here in {{l/version/method|vcPageContent_ckout|ProcessPage}}(), &amp;#039;&amp;#039;before&amp;#039;&amp;#039; the controls have been created...&lt;br /&gt;
*** ...which happens in {{l/version/method|vcPageContent_ckout|CapturePage}}, which is called before the input is processed in {{l/version/method|vcPageContent_ckout|DetectPageRequest}}() so we know which controls to create.&lt;br /&gt;
*** So CapturePage() needs to be split into two parts:&lt;br /&gt;
***# receive raw form data (do not load into controls; just detect request)&lt;br /&gt;
***# load form data into control objects (which must be created first)&lt;br /&gt;
*** ...except no, it doesn&amp;#039;t; I moved the CapturePage() call so it comes &amp;#039;&amp;#039;last&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;still&amp;#039;&amp;#039; get the error -- so apparently the controls are &amp;#039;&amp;#039;not&amp;#039;&amp;#039; being created wherever I thought they were (where was that again?)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;receive submitted page&amp;#039;&amp;#039;&amp;#039; - $this-&amp;gt;CapturePage($oRes);&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;process submitted page&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
To examine -- how do the following functions intersect with the above steps?:&lt;br /&gt;
* $this-&amp;gt;CapturePage($oRes);&lt;br /&gt;
* $this-&amp;gt;HandlePageRequest();&lt;/div&gt;</summary>
		<author><name>Woozle</name></author>
	</entry>
</feed>