<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>CodeKeep SalesforceVisualforce Feed</title>
    <description>The latest and greatest SalesforceVisualforce code snippets publicly available</description>
    <link>http://www.codekeep.net/feeds.aspx</link>
    <lastBuildDate>Sun, 06 Sep 2009 21:55:58 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>RSS.NET: http://www.rssdotnet.com/</generator>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CodeKeepSalesforceVisualforce" /><feedburner:info uri="codekeepsalesforcevisualforce" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
      <title>Outputing Record Type "name" value in VF Page with proper label</title>
      <description>Description: If you use the &lt;apex.outputField value="Object__c.RecordType.Name"/&gt;  to display the Record Type Name value in a Visualforce Page, the default label is "Name" and NOT "Record Type".  Use this code snippet to get the correct label and value to display.&lt;br /&gt;&lt;br /&gt;Link: &lt;a href='http://www.codekeep.net/snippets/43e9a252-4778-4ed3-a76a-7f497b012620.aspx'&gt;http://www.codekeep.net/snippets/43e9a252-4778-4ed3-a76a-7f497b012620.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style='font-size: 9pt;'&gt;&amp;lt;apex:pageBlockSectionItem &amp;gt;
	&amp;lt;apex:outputLabel value=&amp;quot;Record Type&amp;quot;/&amp;gt;
	&amp;lt;apex:outputPanel &amp;gt;
		&amp;lt;apex:outputText value=&amp;quot;{!Quote__c.RecordType.Name}&amp;quot;/&amp;gt;
	&amp;lt;/apex:outputPanel&amp;gt;
&amp;lt;/apex:pageBlockSectionItem&amp;gt;&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeKeepSalesforceVisualforce/~4/LnGiJksGcPM" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/CodeKeepSalesforceVisualforce/~3/LnGiJksGcPM/43e9a252-4778-4ed3-a76a-7f497b012620.aspx</link>
      <pubDate>Sun, 06 Sep 2009 21:55:58 GMT</pubDate>
    <feedburner:origLink>http://www.codekeep.net/snippets/43e9a252-4778-4ed3-a76a-7f497b012620.aspx</feedburner:origLink></item>
    <item>
      <title>Flash Slider Visualforce Component</title>
      <description>Description: The Flash Slider control in a Visualforce component taken from the DEV 501 class labs.&lt;br /&gt;&lt;br /&gt;Link: &lt;a href='http://www.codekeep.net/snippets/9f9664cb-0814-46c5-8162-0175d140c0eb.aspx'&gt;http://www.codekeep.net/snippets/9f9664cb-0814-46c5-8162-0175d140c0eb.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style='font-size: 9pt;'&gt;&amp;lt;apex:component&amp;gt;
    &amp;lt;!-- A re-usable flash slider component that does not use a controller.--&amp;gt;
    &amp;lt;!-- JavaScript function to update the hidden values that takes the value and the id --&amp;gt;
	&amp;lt;script language=&amp;quot;JavaScript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;
	   function updateHiddenValue(value, eId){          
	       var e = document.getElementById(eId);
	       e.value = value;
	   }
	&amp;lt;/script&amp;gt;    
    &amp;lt;!-- Add attributes for startValue, min, max, snapInterval (how many units 
         the slider can move by), callbackFunction, passthroughId, 
    	 bgColor (default #F3F3EC), height (default 40), and width (default 175)--&amp;gt;
    &amp;lt;apex:attribute name=&amp;quot;startValue&amp;quot; type=&amp;quot;String&amp;quot; required=&amp;quot;true&amp;quot; description=&amp;quot;This is the value for the component.&amp;quot; /&amp;gt;
    &amp;lt;apex:attribute name=&amp;quot;min&amp;quot; type=&amp;quot;Integer&amp;quot; required=&amp;quot;true&amp;quot; description=&amp;quot;Minimum slider value.&amp;quot; /&amp;gt;
    &amp;lt;apex:attribute name=&amp;quot;max&amp;quot; type=&amp;quot;Integer&amp;quot; required=&amp;quot;true&amp;quot; description=&amp;quot;Maximum slider value.&amp;quot; /&amp;gt;
    &amp;lt;apex:attribute name=&amp;quot;snapInterval&amp;quot; type=&amp;quot;Integer&amp;quot; required=&amp;quot;true&amp;quot; description=&amp;quot;Increment to change value.&amp;quot; /&amp;gt;    
    &amp;lt;apex:attribute name=&amp;quot;callbackFunction&amp;quot; type=&amp;quot;String&amp;quot; default=&amp;quot;updateHiddenValue&amp;quot; description=&amp;quot;.&amp;quot; /&amp;gt;    
    &amp;lt;apex:attribute name=&amp;quot;passthroughID&amp;quot; type=&amp;quot;String&amp;quot; required=&amp;quot;true&amp;quot; description=&amp;quot;.&amp;quot; /&amp;gt;  
    &amp;lt;apex:attribute name=&amp;quot;bgColor&amp;quot; type=&amp;quot;String&amp;quot; default=&amp;quot;#F3F3EC&amp;quot; description=&amp;quot;.&amp;quot; /&amp;gt;  
    &amp;lt;apex:attribute name=&amp;quot;height&amp;quot; type=&amp;quot;Integer&amp;quot; default=&amp;quot;40&amp;quot; description=&amp;quot;.&amp;quot; /&amp;gt;              
    &amp;lt;apex:attribute name=&amp;quot;width&amp;quot; type=&amp;quot;Integer&amp;quot; default=&amp;quot;175&amp;quot; description=&amp;quot;.&amp;quot; /&amp;gt;      
    &amp;lt;!-- Flash tag to call the slider, using the attributes identified above (via the expression syntax) --&amp;gt;
	&amp;lt;apex:flash flashVars=&amp;quot;startValue={!startValue}&amp;amp;min={!min}&amp;amp;max={!max}&amp;amp;snapInterval={!snapInterval}&amp;amp;callbackFunction=updateHiddenValue&amp;amp;passthroughId={!passthroughID}&amp;amp;bgColor={!bgColor}&amp;quot;
		src=&amp;quot;{!$Resource.flashSlider}&amp;quot; height=&amp;quot;{!height}&amp;quot; width=&amp;quot;{!width}&amp;quot; /&amp;gt;                         
&amp;lt;/apex:component&amp;gt;&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeKeepSalesforceVisualforce/~4/qLpVEWJq3x0" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/CodeKeepSalesforceVisualforce/~3/qLpVEWJq3x0/9f9664cb-0814-46c5-8162-0175d140c0eb.aspx</link>
      <pubDate>Tue, 24 Feb 2009 13:08:34 GMT</pubDate>
    <feedburner:origLink>http://www.codekeep.net/snippets/9f9664cb-0814-46c5-8162-0175d140c0eb.aspx</feedburner:origLink></item>
    <item>
      <title>Visualforce - Conditional Render Expression</title>
      <description>Description: Salesforce.com - An example of conditionally setting a control attribute that is bound to a page controller. (Salesforce, Visualforce, Apex)&lt;br /&gt;&lt;br /&gt;Link: &lt;a href='http://www.codekeep.net/snippets/15ddec2b-3607-46fd-8cfe-b1a0dd1dfb86.aspx'&gt;http://www.codekeep.net/snippets/15ddec2b-3607-46fd-8cfe-b1a0dd1dfb86.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style='font-size: 9pt;'&gt;VisualForce:

&amp;lt;apex:outputPanel id=&amp;quot;msgsRuntime&amp;quot; rendered=&amp;quot;{!IF(messageTitle == null, false, true)}&amp;quot; /&amp;gt;&lt;/pre&gt;&lt;img src="http://feeds.feedburner.com/~r/CodeKeepSalesforceVisualforce/~4/wrq-5n47NGU" height="1" width="1"/&gt;</description>
      <link>http://feedproxy.google.com/~r/CodeKeepSalesforceVisualforce/~3/wrq-5n47NGU/15ddec2b-3607-46fd-8cfe-b1a0dd1dfb86.aspx</link>
      <pubDate>Wed, 30 Jul 2008 22:46:37 GMT</pubDate>
    <feedburner:origLink>http://www.codekeep.net/snippets/15ddec2b-3607-46fd-8cfe-b1a0dd1dfb86.aspx</feedburner:origLink></item>
  </channel>
</rss>
