<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
	<title>Qcodo Forums</title>
	<link>http://www.qcodo.com/forums/</link>
	<description>The Qcodo forums attempts to provide a community to post, discuss, ask, and converse about the current state of the framework, as well as provide an opportunity for members to discuss the future direction of Qcodo.</description>
	<pubDate>Thu, 21 Aug 2008 02:05:18 CDT</pubDate>
	<generator>Qcodo Development Framework 0.2.14 (Qcodo Beta 2)</generator>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<image>
		<url>http://www.qcodo.com/images/qcodo_smaller.png</url>
		<title>Qcodo Forums</title>
		<link>http://www.qcodo.com/forums/</link>
		<width>200</width>
		<height>84</height>
	</image>
	<item>
		<title>Re: QImageButton ClickX ClickY coordinates example?</title>
		<link>http://www.qcodo.com/forums/topic.php/3322#15465</link>
		<description><![CDATA[Hello Billy<br/><br/>Sorry by my delay, could you download from here http://alapar.net/QCustomControls/ImageGetPoint/ImageGetPoint.zip<br/><br/>Let me know if you have any doubt or concern<br/><br/>Best regards<br/><br/>enzo]]></description>
		<author>enzo - Eduardo Garcia</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3322#15465</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3322#15465</guid>
		<pubDate>Wed, 20 Aug 2008 14:54:35 CDT</pubDate>
	</item>
	<item>
		<title>Re: Qcodo Screencasts</title>
		<link>http://www.qcodo.com/forums/topic.php/3260#15464</link>
		<description>I've posted this in the wiki!</description>
		<author>Mike Hostetler</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3260#15464</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3260#15464</guid>
		<pubDate>Wed, 20 Aug 2008 11:00:55 CDT</pubDate>
	</item>
	<item>
		<title>Re: QSoapService Verification using Constructor</title>
		<link>http://www.qcodo.com/forums/topic.php/3325#15463</link>
		<description><![CDATA[Unfortunately I'm still working on this. &nbsp;If I haven't been clear as of yet, here's simply my question:<br/><br/>How can I pass in an argument to the SoapClient constructor so I can process that variable in QSoapService?<br/><br/><div class="code"><code><span style="color: #000000">
$strApiKey&nbsp;=&nbsp;'123456789';<br />$objClient&nbsp;=&nbsp;new&nbsp;SoapClient($strWsdlUrl,&nbsp;$options,&nbsp;$strApiKey);</span>
</code></div><br/>The above doesn't work. &nbsp;I have also tried:<br/><br/><div class="code"><code><span style="color: #000000">
$options['api_key']&nbsp;=&nbsp;'123456789';<br />$objClient&nbsp;=&nbsp;new&nbsp;SoapClient($strWsdlUrl,&nbsp;$options);</span>
</code></div><br/>But I am unable to access $options['api_key'] on the QSoapService side. &nbsp;For some reason it doesn't pass in the full $options array.<br/><br/>And here is my QSoapService:<br/><br/><div class="code"><code><span style="color: #000000">
class&nbsp;ProductService&nbsp;extends&nbsp;QSoapService&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;This&nbsp;is&nbsp;used&nbsp;for&nbsp;validation<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;$objSite;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;__construct($wsdl,&nbsp;$options)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parent::__construct($wsdl,&nbsp;$options);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;objSite&nbsp;=&nbsp;Site::LoadByApiKey($options['api_key']);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span>
</code></div><br/>As you can see, I need to load my Site object based on the ApiKey variable. &nbsp;However, I can't figure out how to pass that variable in...I have also created a separate function where I can pass the api key like so:<br/><br/><div class="code"><code><span style="color: #000000">
/**<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Authorizes&nbsp;via&nbsp;API&nbsp;KEY<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$strApiKey<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;Authorize($strApiKey)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;objSite&nbsp;=&nbsp;Site::LoadByApiKey($strApiKey);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span>
</code></div><br/>This works, and I am able to pass in the $strApiKey, however, I am unable to use my $this->objSite object in any other functions within the class.<br/><br/>I am definitely missing something here. &nbsp;Can anyone help please?<br/><br/>Thanks much,<br/>Chris]]></description>
		<author>stromee</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3325#15463</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3325#15463</guid>
		<pubDate>Wed, 20 Aug 2008 10:08:49 CDT</pubDate>
	</item>
	<item>
		<title>Re: Weird action problems</title>
		<link>http://www.qcodo.com/forums/topic.php/3329#15462</link>
		<description><![CDATA[<div class="code"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">ActionHandler&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">QBaseClass&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;</span><span style="color: #0000BB">$objCallbackArray</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">__construct</span><span style="color: #007700">()&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">objCallbackArray&nbsp;</span><span style="color: #007700">=&nbsp;array();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">AddHandler</span><span style="color: #007700">(</span><span style="color: #0000BB">$strActionName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">ActionCallback&nbsp;$objCallback</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">key_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$strActionName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">objCallbackArray</span><span style="color: #007700">))&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">objCallbackArray</span><span style="color: #007700">[</span><span style="color: #0000BB">$strActionName</span><span style="color: #007700">]&nbsp;=&nbsp;array();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">array_push</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">objCallbackArray</span><span style="color: #007700">[</span><span style="color: #0000BB">$strActionName</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">$objCallback</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">Despatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$strActionName</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">func_num_args</span><span style="color: #007700">()&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$arguments&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">func_get_args</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">array_shift</span><span style="color: #007700">(</span><span style="color: #0000BB">$arguments</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$arguments&nbsp;</span><span style="color: #007700">=&nbsp;array();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #0000BB">func_num_args</span><span style="color: #007700">()&nbsp;.&nbsp;</span><span style="color: #DD0000">'&nbsp;-&nbsp;'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">$arguments</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">key_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$strActionName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">objCallbackArray</span><span style="color: #007700">))&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">objCallbackArray</span><span style="color: #007700">[</span><span style="color: #0000BB">$strActionName</span><span style="color: #007700">]&nbsp;as&nbsp;</span><span style="color: #0000BB">$objActionCallback</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$objActionCallback</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">CallbackTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$objActionCallback</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">CallbackTargetMethod</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">$arguments</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div><br/><div class="code"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">class&nbsp;</span><span style="color: #0000BB">ActionCallback&nbsp;</span><span style="color: #007700">extends&nbsp;</span><span style="color: #0000BB">QBaseClass&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;</span><span style="color: #0000BB">$objCallbackTarget</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protected&nbsp;</span><span style="color: #0000BB">$strCallbackTargetMethod</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">__construct</span><span style="color: #007700">(</span><span style="color: #0000BB">$objCallbackTarget</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$strCallbackTargetMethod</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">objCallbackTarget&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$objCallbackTarget</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">strCallbackTargetMethod&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$strCallbackTargetMethod</span><span style="color: #007700">;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;</span><span style="color: #0000BB">__get</span><span style="color: #007700">(</span><span style="color: #0000BB">$strName</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;switch&nbsp;(</span><span style="color: #0000BB">$strName</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #DD0000">'CallbackTarget'</span><span style="color: #007700">:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">objCallbackTarget</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #DD0000">'CallbackTargetMethod'</span><span style="color: #007700">:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">$this</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">strCallbackTargetMethod</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$objReflection&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">ReflectionClass</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;new&nbsp;</span><span style="color: #0000BB">QUndefinedPropertyException</span><span style="color: #007700">(</span><span style="color: #DD0000">"GET"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$objReflection</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">getName</span><span style="color: #007700">(),&nbsp;</span><span style="color: #0000BB">$strName</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div><br/>This is my solution, to try to modularise it to some extent. It is hardly robust yet but it works well thus far and no more of the errors I was recently receiving.<br/><br/>To use, in your panel which is to despatch events, simply <br/><br/>protected $objActionHandler; in your class members definition<br/>$this->objActionHandler = new ActionHandler(); in your constructor<br/>then create methods such as<br/><br/>public function SetExitAction($objCallbackTarget, $strCallbackTargetMethod) {<br/> &nbsp;$this->objActionHandler->AddHandler('Exit', new ActionCallback($objCallbackTarget, $strCallbackTargetMethod));<br/>}<br/><br/>then in your actul event trigger such as<br/><br/>public function btnExit_Click() {<br/> &nbsp;$this->objActionHandler->Despatch('Exit', $arg1, $arg2 etc);<br/>}<br/><br/>the 'Exit' is simply the event name, thus the Actionhandler instance can handle multiple events. The Despatch method is multiple argument capable, so just put whatever you want in there and it will get called into the callbck methods.<br/><br/>Enjoy]]></description>
		<author>Michael Alleblas</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3329#15462</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3329#15462</guid>
		<pubDate>Wed, 20 Aug 2008 07:01:03 CDT</pubDate>
	</item>
	<item>
		<title>Re: Qcodo based CMS - Quasi 0.1 available</title>
		<link>http://www.qcodo.com/forums/topic.php/3275#15461</link>
		<description><![CDATA[Please read the wise words of Mr Richard Stallman with regard to the MIT vs GPL debate:<br/><br/>http://www.gnu.org/philosophy/x.html<br/><br/>I respect the choices of others not to use the GPL. &nbsp;If Eric chooses GPL, then that choice should be respected. &nbsp;I believe that it is with some consideration that he has chosen this license over XFree86 license. &nbsp;If that means that you cannot use the software, then consider that there could be something wrong with your own licensing choice rather than his.<br/><br/>I have very limited spare time, but this looks a very worthwhile project. &nbsp;Well done Erik.]]></description>
		<author>noelsharpe</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3275#15461</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3275#15461</guid>
		<pubDate>Wed, 20 Aug 2008 05:49:07 CDT</pubDate>
	</item>
	<item>
		<title>Re: Humanized dates</title>
		<link>http://www.qcodo.com/forums/topic.php/3300#15460</link>
		<description><![CDATA[Hey Geert,<br/><br/><br/>hadn't looked at the code yet, but your reference looks simple enough to add additional languages indeed. The cool thing about the library is that it refreshes the timestamps continuously once the page has loaded, but the recalculation is done completely on the client-side, avoiding load on the server-side.<br/><br/>How does the rest feel about this?]]></description>
		<author>Shahways Romani</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3300#15460</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3300#15460</guid>
		<pubDate>Wed, 20 Aug 2008 04:42:29 CDT</pubDate>
	</item>
	<item>
		<title>Re: File Upload Bug - QFileAsset</title>
		<link>http://www.qcodo.com/forums/topic.php/2756#15459</link>
		<description><![CDATA[It's not gonna help a lot, but I have the same issue. <br/><br/>The exact same file sometimes works, sometimes doesn't, so I guess it's not linked to the file.]]></description>
		<author>qpouplard</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/topic.php/2756#15459</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/2756#15459</guid>
		<pubDate>Wed, 20 Aug 2008 03:59:39 CDT</pubDate>
	</item>
	<item>
		<title>Re: Weird action problems</title>
		<link>http://www.qcodo.com/forums/topic.php/3329#15458</link>
		<description><![CDATA[<div class="code"><code><span style="color: #000000">
class&nbsp;BusinessPanel&nbsp;extends&nbsp;QPanel&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;$pnlBusinessList;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;$pnlBusinessEdit;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;__construct($objParent,&nbsp;$strControlId&nbsp;=&nbsp;null)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parent::__construct($objParent,&nbsp;$strControlId);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;catch&nbsp;(QCallerException&nbsp;$objException)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$objException-&gt;IncrementOffset();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;throw&nbsp;$objException;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;AutoRenderChildren&nbsp;=&nbsp;true;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;BusinessList();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;BusinessList()&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;RemoveChildControls(true);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessList&nbsp;=&nbsp;new&nbsp;BusinessListPanel($this);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessList-&gt;SetViewEditAction(new&nbsp;QAjaxControlAction($this,&nbsp;'BusinessViewEdit'));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessList-&gt;SetCreateNewAction(new&nbsp;QAjaxControlAction($this,&nbsp;'BusinessCreateNew'));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;BusinessCreateNew($strFormId,&nbsp;$strControlId,&nbsp;$strBusinessId)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;RemoveChildControls(true);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessCreateNew&nbsp;=&nbsp;new&nbsp;BusinessDetailsEditPanel($this,&nbsp;null);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessCreateNew-&gt;SetCreatedAction(new&nbsp;QAjaxControlAction($this,&nbsp;'BusinessViewEdit'));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessCreateNew-&gt;SetCreatedAction(new&nbsp;QTerminateAction());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessCreateNew-&gt;SetCancelNewAction(new&nbsp;QAjaxControlAction($this,&nbsp;'BusinessList'));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessCreateNew-&gt;SetCancelNewAction(new&nbsp;QTerminateAction());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;function&nbsp;BusinessViewEdit($strFormId,&nbsp;$strControlId,&nbsp;$strBusinessId)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;RemoveChildControls(false);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!$strBusinessId)&nbsp;$strBusinessId&nbsp;=&nbsp;QApplication::$Database[1]-&gt;InsertId();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$objBusiness&nbsp;=&nbsp;Business::Load($strBusinessId);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessViewEdit&nbsp;=&nbsp;new&nbsp;BusinessViewEditPanel($this,&nbsp;$objBusiness);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$pnlBusinessViewEdit-&gt;SetExitAction(new&nbsp;QAjaxControlAction($this,&nbsp;'BusinessList'));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;QApplication::ExecuteJavaScript('$("#businessTabPanel&nbsp;ul").idTabs()');<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}</span>
</code></div><br/>The two functions which allow setting of action handlers inside the BusinessViewEditPanel are<br/><div class="code"><code><span style="color: #000000">
public&nbsp;function&nbsp;SetCreatedAction(QAction&nbsp;$objAction)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;btnSave-&gt;AddAction(new&nbsp;QClickEvent(),&nbsp;$objAction);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span>
</code></div> and <div class="code"><code><span style="color: #000000">
public&nbsp;function&nbsp;SetCancelNewAction(QAction&nbsp;$objAction)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;btnCancel-&gt;AddAction(new&nbsp;QClickEvent(),&nbsp;$objAction);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</span>
</code></div><br/>Now what happens is, when I click the save button, the BusinessViewEditPanel method gets executed and the panels come up fine, then it seems to get run a second time and obviously it all goes pear shaped from there since the second running of the same action has no parameters or anything of the sort. I am 100% sure I am double clicking the button and besides, I have a QToggleEnableAction to prevent this.<br/><br/>I am not an advocate for the whole callback method since it requires a lot of coding to do something the whole action system should already provide not to mention I have great flexibility with this system.<br/><br/>Help would be greatly appreciated]]></description>
		<author>Michael Alleblas</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3329#15458</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3329#15458</guid>
		<pubDate>Wed, 20 Aug 2008 03:36:27 CDT</pubDate>
	</item>
	<item>
		<title>Re: Humanized dates</title>
		<link>http://www.qcodo.com/forums/topic.php/3300#15457</link>
		<description><![CDATA[Looks great,<br/><br/>However how can we get this in dutch ;-)<br/><br/>Ill try to mod it and if I succeed I'll let you know.<br/><br/>MVG<br/>Geert<br/><br/>EDIT<br/><br/>This should be easy a Quick look at the code:<br/><div class="code"><code><span style="color: #000000">
$.extend($.timeago,&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;settings:&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;refreshMillis:&nbsp;60000,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;allowFuture:&nbsp;false,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strings:&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ago:&nbsp;"ago",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fromNow:&nbsp;"from&nbsp;now",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;seconds:&nbsp;"less&nbsp;than&nbsp;a&nbsp;minute",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;minute:&nbsp;"about&nbsp;a&nbsp;minute",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;minutes:&nbsp;"%d&nbsp;minutes",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hour:&nbsp;"about&nbsp;an&nbsp;hour",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hours:&nbsp;"about&nbsp;%d&nbsp;hours",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;day:&nbsp;"a&nbsp;day",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;days:&nbsp;"%d&nbsp;days",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;month:&nbsp;"about&nbsp;a&nbsp;month",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;months:&nbsp;"%d&nbsp;months",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;year:&nbsp;"about&nbsp;a&nbsp;year",<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;years:&nbsp;"%d&nbsp;years"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;},</span>
</code></div>]]></description>
		<author>Geert Heremans</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3300#15457</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3300#15457</guid>
		<pubDate>Wed, 20 Aug 2008 02:08:06 CDT</pubDate>
	</item>
	<item>
		<title>Re: Humanized dates</title>
		<link>http://www.qcodo.com/forums/topic.php/3300#15456</link>
		<description><![CDATA[Hey, just found a jQuery plugin that renders out humanized dates, and the features look quite good. The only thing I still have to take a look at, is the possibility for internationalization.<br/><br/>Check it at &lt;<a href="http://timeago.yarp.com/">http://timeago.yarp.com/</a>&gt;<br/><br/><br/>Shahways]]></description>
		<author>Shahways Romani</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3300#15456</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3300#15456</guid>
		<pubDate>Wed, 20 Aug 2008 01:40:56 CDT</pubDate>
	</item>
	<item>
		<title>Re: QEmailServer with cURL?</title>
		<link>http://www.qcodo.com/forums/topic.php/3328#15455</link>
		<description><![CDATA[No, might be something else.<br/><br/>But something has changed and after banging your head for a while you start seeing stars.<br/><br/>I will try some other things to solve it.<br/><br/>Thanks anyway.<br/>=-)]]></description>
		<author>Jandal</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3328#15455</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3328#15455</guid>
		<pubDate>Tue, 19 Aug 2008 23:36:20 CDT</pubDate>
	</item>
	<item>
		<title>Re: Qcodo Screencasts</title>
		<link>http://www.qcodo.com/forums/topic.php/3260#15454</link>
		<description><![CDATA[I've posted my third episode. This one will be especially dull for people who aren't brand new to the framework, because it is just showing off the form drafts. The next episode will start getting more interesting again because the actual programming will begin. I plan to flaunt the meta-controls extensively, because I think it is one of the things Qcodo does better than all of the rest.<br/><br/><div class="code"><code><span style="color: #000000">
&lt;object&nbsp;classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"&nbsp;width="803"&nbsp;height="617"&gt;<br />&lt;param&nbsp;name="movie"&nbsp;value="http://content.screencast.com/users/bhazzard/folders/Jing/media/cb914b46-18f8-4cbe-b02a-e0feb409b2cd/bootstrap.swf"&gt;&lt;/param&gt;&nbsp;<br />&lt;param&nbsp;name="quality"&nbsp;value="high"&gt;&lt;/param&gt;<br />&lt;param&nbsp;name="bgcolor"&nbsp;value="#FFFFFF"&gt;&lt;/param&gt;<br />&lt;param&nbsp;name="flashVars"&nbsp;value="thumb=http://content.screencast.com/users/bhazzard/folders/Jing/media/cb914b46-18f8-4cbe-b02a-e0feb409b2cd/FirstFrame.jpg&amp;content=http://content.screencast.com/users/bhazzard/folders/Jing/media/cb914b46-18f8-4cbe-b02a-e0feb409b2cd/2008-08-19_2206.swf&amp;width=803&amp;height=617"&gt;&lt;/param&gt;&nbsp;<br />&lt;param&nbsp;name="allowFullScreen"&nbsp;value="true"&gt;&lt;/param&gt;<br />&lt;param&nbsp;name="scale"&nbsp;value="showall"&gt;&lt;/param&gt;<br />&lt;param&nbsp;name="allowScriptAccess"&nbsp;value="always"&gt;&lt;/param&gt;&nbsp;<br />&lt;embed&nbsp;src="http://content.screencast.com/users/bhazzard/folders/Jing/media/cb914b46-18f8-4cbe-b02a-e0feb409b2cd/bootstrap.swf"&nbsp;quality="high"&nbsp;bgcolor="#FFFFFF"&nbsp;width="803"&nbsp;height="617"&nbsp;type="application/x-shockwave-flash"&nbsp;allowScriptAccess="always"&nbsp;flashVars="thumb=http://content.screencast.com/users/bhazzard/folders/Jing/media/cb914b46-18f8-4cbe-b02a-e0feb409b2cd/FirstFrame.jpg&amp;content=http://content.screencast.com/users/bhazzard/folders/Jing/media/cb914b46-18f8-4cbe-b02a-e0feb409b2cd/2008-08-19_2206.swf&amp;width=803&amp;height=617"&nbsp;allowFullScreen="true"&nbsp;scale="showall"&gt;&lt;/embed&gt;<br />&lt;/object&gt;</span>
</code></div>]]></description>
		<author>bhazzard</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3260#15454</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3260#15454</guid>
		<pubDate>Tue, 19 Aug 2008 23:30:47 CDT</pubDate>
	</item>
	<item>
		<title>Re: QEmailServer with cURL?</title>
		<link>http://www.qcodo.com/forums/topic.php/3328#15453</link>
		<description><![CDATA[Hey Guys,<br/><br/>I'm in need of some help in regard to the Qcodo QEmailServer class. &nbsp;<br/><br/>My host has disabled anything to do with "allow_url_fopen" and "fsockopen" has apparently become part of that.<br/><br/>They recommend we now use cURL. &nbsp;This has come as a bit of a surprise and I'm left in the lurch a bit.<br/><br/>I will start having ago at rewriting this class but I don't think my skills will produce the best of results. &nbsp;<br/><br/>Just wondering if anyone else has come across this issue and perhaps already written something that works well and fits in line with Qcodo?<br/><br/>Thank you,<br/>=-)]]></description>
		<author>Jandal</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3328#15453</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3328#15453</guid>
		<pubDate>Tue, 19 Aug 2008 22:32:11 CDT</pubDate>
	</item>
	<item>
		<title>Re: Missing \form_drafts\generated\*.inc</title>
		<link>http://www.qcodo.com/forums/topic.php/363#15452</link>
		<description>Ah, I see thanks Arpi!</description>
		<author>David B</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/topic.php/363#15452</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/363#15452</guid>
		<pubDate>Tue, 19 Aug 2008 17:44:39 CDT</pubDate>
	</item>
	<item>
		<title>Re: Tutorial on front controller, MVC and SEO for Qcodo</title>
		<link>http://www.qcodo.com/forums/topic.php/3236#15451</link>
		<description><![CDATA[New chapter added on SEO ... viewable at &lt;<a href="http://www.buzzouka.com/blog/qcodo/front-controller-mvc-and-seo-for-qcodo-adding-seo/">http://www.buzzouka.com/blog/qcodo/front-controller-mvc-and-seo-for-qcodo-adding-seo/</a>&gt;. <br/><br/>@Jason ... true, the code isn't being displayed optimally. I'll be looking for a code plugin that allows me to post code with indents etc., which will make thing easier. If you know a good one for WordPress, let me know!<br/><br/>@Basilieus ... just had a very quick glance, and must say that your approach seems to have advantages in some fields. I'll be taking a better look tomorrow morning, and will get back to you by mail about my findings later in the day.<br/><br/>Cheers, Shahways]]></description>
		<author>Shahways Romani</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3236#15451</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3236#15451</guid>
		<pubDate>Tue, 19 Aug 2008 14:59:53 CDT</pubDate>
	</item>
	<item>
		<title>new control QImageBrowser</title>
		<link>http://www.qcodo.com/forums/topic.php/3327#15450</link>
		<description><![CDATA[Just uploaded a new control which implements a simple image browser. This is the discussion thread for it. Download and details at &lt;<a href="http://www.qcodo.com/downloads/item.php/215">http://www.qcodo.com/downloads/item.php/215</a>&gt;<br/>Comments and suggestions are welcome.<br/><br/>-Vartan]]></description>
		<author>vakopian</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3327#15450</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3327#15450</guid>
		<pubDate>Tue, 19 Aug 2008 12:34:29 CDT</pubDate>
	</item>
	<item>
		<title>Re: Version differences with same version number</title>
		<link>http://www.qcodo.com/forums/topic.php/3323#15449</link>
		<description><![CDATA[Thanks Vass, I shall check out the settings for php.ini.<br/><br/>I thought my databases were identical, since one is the backup of the other, but I'll check it out. &nbsp;I have noticed that the OSX version of PHP and MYSQL are not as case-sensitive as the Linux versions, which is leading to some annoying errors....]]></description>
		<author>NiceguyUK</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/topic.php/3323#15449</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3323#15449</guid>
		<pubDate>Tue, 19 Aug 2008 08:15:24 CDT</pubDate>
	</item>
	<item>
		<title>Re: Missing \form_drafts\generated\*.inc</title>
		<link>http://www.qcodo.com/forums/topic.php/363#15448</link>
		<description><![CDATA[Hi David,<br/>the file structure was changed starting with 0.3.33+ if I am correct, please check this link from download section:<br/>&lt;<a href="http://www.qcodo.com/downloads/item.php/147">http://www.qcodo.com/downloads/item.php/147</a>&gt;<br/><br/>regards,Arpi.]]></description>
		<author>Vass Arpad</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/topic.php/363#15448</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/363#15448</guid>
		<pubDate>Tue, 19 Aug 2008 08:13:04 CDT</pubDate>
	</item>
	<item>
		<title>Re: Version differences with same version number</title>
		<link>http://www.qcodo.com/forums/topic.php/3323#15447</link>
		<description><![CDATA[Hi,<br/><br/>I think the version number difference is because of your php.ini settings regarding to the short_open_tag = On/Off,<br/>Because in the index.php the version is printed this way:<br/><div class="code"><code><span style="color: #000000">
&lt;div&nbsp;class="title_action"&gt;Qcodo&nbsp;Development&nbsp;Framework&nbsp;<span style="color: #0000BB">&lt;?=&nbsp;QCODO_VERSION</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">?&gt;</span>&lt;/div&gt;</span>
</code></div><br/>for hte function generation, i guess , you did not set an index for the Advertised column.<br/><br/>the functions LoadArrayBy...As... LoadBy...As... are mostly generated for the indexes.<br/><br/>hope this helps you,<br/><br/>kind regards.]]></description>
		<author>Vass Arpad</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/topic.php/3323#15447</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3323#15447</guid>
		<pubDate>Tue, 19 Aug 2008 08:07:01 CDT</pubDate>
	</item>
	<item>
		<title>Re: Version differences with same version number</title>
		<link>http://www.qcodo.com/forums/topic.php/3323#15446</link>
		<description><![CDATA[I know its bad forum etiquette to bump your own messages, but I've to determine the magic factor that gets my posts answered<br/><br/>Anyone any insights on this version issue?]]></description>
		<author>NiceguyUK</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/topic.php/3323#15446</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3323#15446</guid>
		<pubDate>Tue, 19 Aug 2008 06:26:38 CDT</pubDate>
	</item>
	<item>
		<title>Re: Missing \form_drafts\generated\*.inc</title>
		<link>http://www.qcodo.com/forums/topic.php/363#15445</link>
		<description><![CDATA[Hi all,<br/><br/>After upgrading to 0.3.43, the files in <div class="code"><code><span style="color: #000000">
/core/includes/formbase_classes_generated/</span>
</code></div> and <div class="code"><code><span style="color: #000000">
/core/includes/panelbase_classes_generated/</span>
</code></div> have disappeared! They no longer appear in the configuration file and nothing is being generated in them. I have currently emptied those two folders by simply deleting the files in them, and nothing is being written there when I run a codegen.<br/><br/>Am using php 5.2.0/Apache 1.3.37 on Win2003 server. Any help as to how to get my formbase classes back would be greatly appreciated!]]></description>
		<author>David B</author>
		<category>Bugs and Issues</category>
		<comments>http://www.qcodo.com/forums/topic.php/363#15445</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/363#15445</guid>
		<pubDate>Tue, 19 Aug 2008 00:29:24 CDT</pubDate>
	</item>
	<item>
		<title>Re: ExpandAsArray and limit</title>
		<link>http://www.qcodo.com/forums/topic.php/3326#15444</link>
		<description><![CDATA[Well, to think about it, then yes, it's not an easy task to come up with such a query.<br/><br/>Although I did one quick try. It's basically something like that:<br/><br/><div class="code"><code><span style="color: #000000">
select&nbsp;*&nbsp;<br />from&nbsp;a<br />left&nbsp;join&nbsp;b&nbsp;on&nbsp;a.a1&nbsp;=&nbsp;b.b1<br />--&nbsp;one&nbsp;where&nbsp;filter&nbsp;to&nbsp;demonstrate<br />where&nbsp;a.a2&nbsp;=&nbsp;200&nbsp;<br /><br />and&nbsp;a.a1&nbsp;in<br />&nbsp;&nbsp;(select&nbsp;a1&nbsp;from<br />&nbsp;&nbsp;&nbsp;&nbsp;(select&nbsp;distinct&nbsp;a.a1<br />&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;a<br />&nbsp;&nbsp;&nbsp;&nbsp;left&nbsp;join&nbsp;b&nbsp;on&nbsp;a.a1&nbsp;=&nbsp;b.b1<br />&nbsp;&nbsp;&nbsp;&nbsp;--&nbsp;the&nbsp;same&nbsp;filters&nbsp;here<br />&nbsp;&nbsp;&nbsp;&nbsp;where&nbsp;a.a2&nbsp;=&nbsp;200)<br />&nbsp;&nbsp;where&nbsp;rownum&nbsp;&lt;&nbsp;10);</span>
</code></div><br/>As you may figure out, I used oracle to do this. And this one here is not tested query. My original query (which I tried it on) was somewhat more complex and may-be wouldn't give clean example. Anyway, as you can see, the main query part is duplicated here with filters. I'm not sure how it works on different filters/clauses (group by, count, virtual nodes).<br/><br/>And well, in my case I was able to remove most of the filters from the second "in" query, cause those were not necessary. But anyway, in SQL is is possible. I'm not sure how easy it would be to implement in QQuery.<br/><br/>When executing this on oracle, time difference wasn't significant. The given query was about 20% slower than usual query (without this "in" part). Although, query plan showed that "distinct" makes it "slower". At least in my case. May-be if there are indexes and stuff, it would be so hard?<br/><br/>Anyway, I'm not sure, whether I'd use 2 queries (one with limit,offset and other with expand as array joins) or 1 query to get this done as a manual query. I think the time difference isn't huge, so 2 queries might be easier. But it might be worth discuss it further.<br/><br/>And I'm not sure my suggestion about the query was the best way to do it. It just was the first one I got. May-be some clever counting would help. Count distinct object id-s and limit,offset by those.]]></description>
		<author>Ago Luberg</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3326#15444</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3326#15444</guid>
		<pubDate>Mon, 18 Aug 2008 15:09:08 CDT</pubDate>
	</item>
	<item>
		<title>Re: ExpandAsArray and limit</title>
		<link>http://www.qcodo.com/forums/topic.php/3326#15443</link>
		<description><![CDATA[Basically, I think the limitation is SQL itself. How would your manual query accomplish this? Until you query the DB, how do you know how many elements the expanded array will contain?<br/><br/>If you're doing multiple DB hits to discover this information, why not make things easier, and just use the multiple hits to load the relevant arrays later instead?]]></description>
		<author>VexedPanda</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3326#15443</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3326#15443</guid>
		<pubDate>Mon, 18 Aug 2008 13:41:31 CDT</pubDate>
	</item>
	<item>
		<title>Re: ExpandAsArray and limit</title>
		<link>http://www.qcodo.com/forums/topic.php/3326#15442</link>
		<description><![CDATA[Has anyone tried to do something with ExpandAsArray and tried to limit the results to say 10 items per page?<br/><br/>The problem is, that generated SQL has probably more rows than objects it generates. For example, I have 10 objects, each of them has 3 associations which I expand as array. When querying all, the results are fine. But when I want to have 5 first objects (meaning 5 * 3 rows from database), I don't get the desired result.<br/><br/>I know, what are the limitations of qquery and sql in this case. Just wanted to know, whether someone has a clever solution for this?<br/><br/>I probably can have manual query, which is fine. Though I'd like to populate ORM objects. I know it's doable, though it needs a lot of work (I assume I can't call InstantiateDbRow just like that).<br/><br/>Other possibility would be using virtual node to gather my information into comma separated list or something. Again, ORM object will not be filled (though it's better than the first solution which has no ORM objects at all).<br/><br/>Or some elegant solution to add into datagrid or something. Basically what's needed, is to count distinct objects (id's of them for example) you are querying by. For example if you use MyObject::QueryArray, then count(my_object.id) could by used to know, what to query. Though it's more tricky to have "limit,offset" version of this. Some subqueries are needed etc.<br/><br/>Does anyone have a better solution or tried something like this? May-be it's easier to have manual query working with datagrid?<br/><br/>Though this solution (if working with qquery) could be useful for many others.. If there is not one yet :P]]></description>
		<author>Ago Luberg</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3326#15442</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3326#15442</guid>
		<pubDate>Mon, 18 Aug 2008 12:53:06 CDT</pubDate>
	</item>
	<item>
		<title>Re: QSoapService Verification using Constructor</title>
		<link>http://www.qcodo.com/forums/topic.php/3325#15441</link>
		<description><![CDATA[Still haven't figured this out. &nbsp;Basically, what I need to do is store the objSite object when creating a SoapClient based on an api_key to use that throughout for verification.<br/><br/>What's the best way to pass in another parameter into the __construct of QSoapService? &nbsp;Or is this not possible?<br/><br/>Thanks much,<br/>Chris]]></description>
		<author>stromee</author>
		<category>General Discussion</category>
		<comments>http://www.qcodo.com/forums/topic.php/3325#15441</comments>
		<guid isPermaLink="true">http://www.qcodo.com/forums/topic.php/3325#15441</guid>
		<pubDate>Mon, 18 Aug 2008 10:44:01 CDT</pubDate>
	</item>
</channel>
</rss>
