<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Super Cool Advanced Lookup Component</title>
	<atom:link href="http://www.tehnrd.com/super-cool-advanced-lookup-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/</link>
	<description>Force.com - jQuery - Technology - Life</description>
	<lastBuildDate>Sun, 05 Feb 2012 03:04:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Scott</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-29109</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Thu, 02 Feb 2012 20:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-29109</guid>
		<description>Had a hell of a time with some ajax components as of late.  Originally, I thought I was doing something wrong, however I think I&#039;ve figured it out, because of this code.  If you guys might notice, this component is now broken as of Spring &#039;12 release.  It looks like you are *required* to surround ajax components (including apex:actionSupport which is used here), inside a .  It&#039;s weird, cause without it, the &quot;rerendered&quot; components get refreshed, but the actual action you specify is never called.</description>
		<content:encoded><![CDATA[<p>Had a hell of a time with some ajax components as of late.  Originally, I thought I was doing something wrong, however I think I&#8217;ve figured it out, because of this code.  If you guys might notice, this component is now broken as of Spring &#8217;12 release.  It looks like you are *required* to surround ajax components (including apex:actionSupport which is used here), inside a .  It&#8217;s weird, cause without it, the &#8220;rerendered&#8221; components get refreshed, but the actual action you specify is never called.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Coleman</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-6787</link>
		<dc:creator>Tony Coleman</dc:creator>
		<pubDate>Tue, 26 Jul 2011 14:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-6787</guid>
		<description>I know this is old but here is a test class (with 100% coverage) in-case someone is still looking: 

static testMethod Void TestAdvancedLookup () {
		
		// Create a request to test with
		date myDate = date.today();
		Opportunity MyOppty = new opportunity(Name=&#039;Test&#039;,CloseDate=myDate,StageName=&#039;New&#039;);		
		insert MyOppty;    	
    	
    	// Now create the vars and objects need to test this class
    	Id MyID;
    	
    	advancedLookUp MyTestObj = new advancedLookUp();
    	MyTestObj.objectType = &#039;Opportunity&#039;;
    	MyTestObj.maxHeight = 1;
    	MyTestObj.selectValue = MyID;
    	
    	// Run search with zero length but not null
    	MyTestObj.searchValue = &#039;&#039;;
    	MyTestObj.search();
    	
    	// Run a search with no results
    	MyTestObj.searchValue = &#039;Bob&#039;;
    	MyTestObj.search();
    	
    	// Run search with 1 result
    	MyTestObj.searchValue = &#039;Test&#039;;
 		MyTestObj.search();
    	
    	// Create a 2nd request to increase results beyond the max default of 1
		MyOppty = new opportunity(Name=&#039;Test 2&#039;,CloseDate=myDate,StageName=&#039;New&#039;);		
		insert MyOppty;    	

    	// Run search with 2 results
    	MyTestObj.searchValue = &#039;Test&#039;;
 		MyTestObj.search();

    	// Run search with results = height
    	MyTestObj.maxHeight = 2;
    	MyTestObj.searchValue = &#039;Test&#039;;
 		MyTestObj.search();
    	
    	// Test the other methods ...
    	MyTestObj.hideResults();
    	MyTestObj.selectValue();
    	
} // end test method</description>
		<content:encoded><![CDATA[<p>I know this is old but here is a test class (with 100% coverage) in-case someone is still looking: </p>
<p>static testMethod Void TestAdvancedLookup () {</p>
<p>		// Create a request to test with<br />
		date myDate = date.today();<br />
		Opportunity MyOppty = new opportunity(Name=&#8217;Test&#8217;,CloseDate=myDate,StageName=&#8217;New&#8217;);<br />
		insert MyOppty;    	</p>
<p>    	// Now create the vars and objects need to test this class<br />
    	Id MyID;</p>
<p>    	advancedLookUp MyTestObj = new advancedLookUp();<br />
    	MyTestObj.objectType = &#8216;Opportunity&#8217;;<br />
    	MyTestObj.maxHeight = 1;<br />
    	MyTestObj.selectValue = MyID;</p>
<p>    	// Run search with zero length but not null<br />
    	MyTestObj.searchValue = &#8221;;<br />
    	MyTestObj.search();</p>
<p>    	// Run a search with no results<br />
    	MyTestObj.searchValue = &#8216;Bob&#8217;;<br />
    	MyTestObj.search();</p>
<p>    	// Run search with 1 result<br />
    	MyTestObj.searchValue = &#8216;Test&#8217;;<br />
 		MyTestObj.search();</p>
<p>    	// Create a 2nd request to increase results beyond the max default of 1<br />
		MyOppty = new opportunity(Name=&#8217;Test 2&#8242;,CloseDate=myDate,StageName=&#8217;New&#8217;);<br />
		insert MyOppty;    	</p>
<p>    	// Run search with 2 results<br />
    	MyTestObj.searchValue = &#8216;Test&#8217;;<br />
 		MyTestObj.search();</p>
<p>    	// Run search with results = height<br />
    	MyTestObj.maxHeight = 2;<br />
    	MyTestObj.searchValue = &#8216;Test&#8217;;<br />
 		MyTestObj.search();</p>
<p>    	// Test the other methods &#8230;<br />
    	MyTestObj.hideResults();<br />
    	MyTestObj.selectValue();</p>
<p>} // end test method</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naresh</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-1914</link>
		<dc:creator>naresh</dc:creator>
		<pubDate>Mon, 13 Sep 2010 09:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-1914</guid>
		<description>Please provide a test class too for this class.That will be greatly helpful.</description>
		<content:encoded><![CDATA[<p>Please provide a test class too for this class.That will be greatly helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naresh</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-1631</link>
		<dc:creator>naresh</dc:creator>
		<pubDate>Thu, 19 Aug 2010 12:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-1631</guid>
		<description>I used this code in my custom application.few days worked well. But suddenly stopped working. When I tested in a separate page its working. But as a field in a big form its not at all working</description>
		<content:encoded><![CDATA[<p>I used this code in my custom application.few days worked well. But suddenly stopped working. When I tested in a separate page its working. But as a field in a big form its not at all working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shan</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-554</link>
		<dc:creator>Shan</dc:creator>
		<pubDate>Mon, 08 Mar 2010 19:05:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-554</guid>
		<description>One more thing... When I select another Value... and hit Show, the value is not being picked up...
I am basically using your component in a dynamic SOQL reporting design...
Is there a way to refresh the value or something...</description>
		<content:encoded><![CDATA[<p>One more thing&#8230; When I select another Value&#8230; and hit Show, the value is not being picked up&#8230;<br />
I am basically using your component in a dynamic SOQL reporting design&#8230;<br />
Is there a way to refresh the value or something&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shan</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-552</link>
		<dc:creator>Shan</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-552</guid>
		<description>Hi:
  Love this compenent... How would this work if you have a child object. Basically I have an object Course which has a lookup to Contact. I want to put a field out there which goes off the contact field in Course object??
Otherwise awesome...</description>
		<content:encoded><![CDATA[<p>Hi:<br />
  Love this compenent&#8230; How would this work if you have a child object. Basically I have an object Course which has a lookup to Contact. I want to put a field out there which goes off the contact field in Course object??<br />
Otherwise awesome&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samd</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-284</link>
		<dc:creator>samd</dc:creator>
		<pubDate>Mon, 09 Nov 2009 17:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-284</guid>
		<description>Awesome component, thanks!  Have you done any further work on getting two components to work on the same page?  I&#039;m running into this issue and haven&#039;t managed to figure out what&#039;s causing it.

Cheers
Sam</description>
		<content:encoded><![CDATA[<p>Awesome component, thanks!  Have you done any further work on getting two components to work on the same page?  I&#8217;m running into this issue and haven&#8217;t managed to figure out what&#8217;s causing it.</p>
<p>Cheers<br />
Sam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shikibu</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-233</link>
		<dc:creator>Shikibu</dc:creator>
		<pubDate>Wed, 21 Oct 2009 23:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-233</guid>
		<description>This is really nice. I would like to rerender some other parts of the page when the bound value is changed, but not seeing how to do so.</description>
		<content:encoded><![CDATA[<p>This is really nice. I would like to rerender some other parts of the page when the bound value is changed, but not seeing how to do so.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thankful</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-43</link>
		<dc:creator>Thankful</dc:creator>
		<pubDate>Sun, 09 Aug 2009 09:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-43</guid>
		<description>Thanks for such a cool lookup. I have a quick question - You mentioned that &quot;You can have it lookup records on any object that has a Name field.&quot;

I am new to apex and visaulforce and I am wondering if this code can be customized  for other field? A custom objects tile field?</description>
		<content:encoded><![CDATA[<p>Thanks for such a cool lookup. I have a quick question &#8211; You mentioned that &#8220;You can have it lookup records on any object that has a Name field.&#8221;</p>
<p>I am new to apex and visaulforce and I am wondering if this code can be customized  for other field? A custom objects tile field?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joborg</title>
		<link>http://www.tehnrd.com/super-cool-advanced-lookup-component/comment-page-1/#comment-29</link>
		<dc:creator>joborg</dc:creator>
		<pubDate>Wed, 05 Aug 2009 14:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.tehnrd.com/?p=164#comment-29</guid>
		<description>This is a killer! Thanks for publishing this good piece of work!</description>
		<content:encoded><![CDATA[<p>This is a killer! Thanks for publishing this good piece of work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

