<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>entwicklungsgedanken</title>
	<atom:link href="http://www.entwicklungsgedanken.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.entwicklungsgedanken.de</link>
	<description>Verschiedene Gedanken rund um die Softwareentwicklung</description>
	<lastBuildDate>Mon, 09 Jan 2012 14:47:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bug with Internet Explorer and grid RowEditing-plugin when using scoped-theme</title>
		<link>http://www.entwicklungsgedanken.de/2012/01/09/bug-with-internet-explorer-and-grid-rowediting-plugin-when-using-scoped-theme/</link>
		<comments>http://www.entwicklungsgedanken.de/2012/01/09/bug-with-internet-explorer-and-grid-rowediting-plugin-when-using-scoped-theme/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 14:47:42 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[extjs]]></category>
		<category><![CDATA[extjs4]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[override]]></category>
		<category><![CDATA[RowEditing]]></category>
		<category><![CDATA[scoped-theme]]></category>
		<category><![CDATA[sencha]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=500</guid>
		<description><![CDATA[I came across this rare bug in the current development of a project. It makes heavy use of the RowEditing plugin of Extjs&#8216; grid. Because the Extjs environment is used within SharePoint 2010 I have to use the scoped theme to avoid &#8220;damage&#8221; to the SharePoint UI. After inserting a record into the grid via [...]]]></description>
			<content:encoded><![CDATA[<p>I came across this rare bug in the current development of a project. It makes heavy use of the <a title="RowEditing plugin" href="http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.plugin.RowEditing">RowEditing plugin</a> of <a title="Exjts" href="http://docs.sencha.com/ext-js/4-0/">Extjs</a>&#8216; grid. Because the Extjs environment is used within SharePoint 2010 I have to use the scoped theme to avoid &#8220;damage&#8221; to the SharePoint UI.</p>
<p>After inserting a record into the grid via RowEditing and pressing cancel the RowEditings&#8217; editor window is not shown. You guess it right: only when using Internet Explorer (7, 8, 9). After testing it showed that the css itself is not the reason. So debugging the Extjs-source where the setting <code>scopeResetCSS</code> is evaluated&#8230;</p>
<p>The final result is a workaround applied via <a title="Ext.override api" href="http://docs.sencha.com/ext-js/4-0/#!/api/Ext-method-override">Ext.override</a> to solve the &#8220;problem&#8221;.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>Ext.<span style="color: #660066;">isIE</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  Ext.<span style="color: #660066;">AbstractComponent</span>.<span style="color: #660066;">override</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onRender<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>container<span style="color: #339933;">,</span> position<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #003366; font-weight: bold;">var</span> me <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">,</span>
        el <span style="color: #339933;">=</span> me.<span style="color: #660066;">el</span><span style="color: #339933;">,</span>
        styles <span style="color: #339933;">=</span> me.<span style="color: #660066;">initStyles</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        renderTpl<span style="color: #339933;">,</span> renderData<span style="color: #339933;">,</span> i<span style="color: #339933;">;</span>
&nbsp;
      position <span style="color: #339933;">=</span> me.<span style="color: #660066;">getInsertPosition</span><span style="color: #009900;">&#40;</span>position<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>el<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>position<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          el <span style="color: #339933;">=</span> Ext.<span style="color: #660066;">DomHelper</span>.<span style="color: #660066;">insertBefore</span><span style="color: #009900;">&#40;</span>position<span style="color: #339933;">,</span> me.<span style="color: #660066;">getElConfig</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
          el <span style="color: #339933;">=</span> Ext.<span style="color: #660066;">DomHelper</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>container<span style="color: #339933;">,</span> me.<span style="color: #660066;">getElConfig</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>me.<span style="color: #660066;">allowDomMove</span> <span style="color: #339933;">!==</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>position<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          container.<span style="color: #660066;">dom</span>.<span style="color: #660066;">insertBefore</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">dom</span><span style="color: #339933;">,</span> position<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
          container.<span style="color: #660066;">dom</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">dom</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>Ext.<span style="color: #660066;">scopeResetCSS</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #339933;">!</span>me.<span style="color: #660066;">ownerCt</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">dom</span> <span style="color: #339933;">==</span> Ext.<span style="color: #660066;">getBody</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dom</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          el.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addCls</span><span style="color: #009900;">&#40;</span>Ext.<span style="color: #660066;">baseCSSPrefix</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'reset'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
          <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>me.$className <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'Ext.grid.RowEditor'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            me.<span style="color: #660066;">resetEl</span> <span style="color: #339933;">=</span> el.<span style="color: #660066;">wrap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
              cls<span style="color: #339933;">:</span> Ext.<span style="color: #660066;">baseCSSPrefix</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'reset'</span>
            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
          <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      me.<span style="color: #660066;">setUI</span><span style="color: #009900;">&#40;</span>me.<span style="color: #660066;">ui</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      el.<span style="color: #660066;">addCls</span><span style="color: #009900;">&#40;</span>me.<span style="color: #660066;">initCls</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      el.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span>styles<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      me.<span style="color: #660066;">el</span> <span style="color: #339933;">=</span> el<span style="color: #339933;">;</span>
&nbsp;
      me.<span style="color: #660066;">initFrame</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      renderTpl <span style="color: #339933;">=</span> me.<span style="color: #660066;">initRenderTpl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>renderTpl<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        renderData <span style="color: #339933;">=</span> me.<span style="color: #660066;">initRenderData</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        renderTpl.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>me.<span style="color: #660066;">getTargetEl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> renderData<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      me.<span style="color: #660066;">applyRenderSelectors</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      me.<span style="color: #660066;">rendered</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The woraround itself is only this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>me.$className <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'Ext.grid.RowEditor'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  me.<span style="color: #660066;">resetEl</span> <span style="color: #339933;">=</span> el.<span style="color: #660066;">wrap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    cls<span style="color: #339933;">:</span> Ext.<span style="color: #660066;">baseCSSPrefix</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'reset'</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>BTW: I &#8220;love&#8221; IE!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2012/01/09/bug-with-internet-explorer-and-grid-rowediting-plugin-when-using-scoped-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move the top.links block to another block using only local.xml in Magento</title>
		<link>http://www.entwicklungsgedanken.de/2011/09/08/move-the-top-links-block-to-another-block-using-only-local-xml-in-magento/</link>
		<comments>http://www.entwicklungsgedanken.de/2011/09/08/move-the-top-links-block-to-another-block-using-only-local-xml-in-magento/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 13:50:12 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[local.xml]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[topLinks]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=483</guid>
		<description><![CDATA[I was trying to move the top.links block (aliased with topLinks) from the header-block to the right-block only using local.xml. Should be easy right?! I did not found any solution using this way in the wiki or somewhere else. Simply using unsetChild and simply put the top.links block somewhere else is not working! All default [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to move the top.links block (aliased with topLinks) from the header-block to the right-block only using <strong>local.xml</strong>. Should be easy right?!<br />
I did not found any solution using this way in the wiki or somewhere else.</p>
<p>Simply using <code>unsetChild</code> and simply put the top.links block somewhere else is not working! All default links except the <code>Log in</code> / <code>Log out</code> disappear.</p>
<p>So here is my solution that works. The key is using <code>insert</code> as action&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;layout<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;default<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;reference</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;header&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;remove</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;top.search&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;action</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;unsetChild&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>topLinks<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/action<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/reference<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;reference</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;right&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;action</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;insert&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;blockName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>top.links<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/blockName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/action<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/reference<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/default<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/layout<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p><strong>Note</strong>: Its important to use the alias when defining <code>action="unsetChild"</code> or the block is not &#8220;moving&#8221;. Seems buggy to me &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2011/09/08/move-the-top-links-block-to-another-block-using-only-local-xml-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable-SPFeature does not trigger the feature receiver</title>
		<link>http://www.entwicklungsgedanken.de/2011/06/08/enable-spfeature-does-not-trigger-the-feature-receiver/</link>
		<comments>http://www.entwicklungsgedanken.de/2011/06/08/enable-spfeature-does-not-trigger-the-feature-receiver/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 10:19:01 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[Enable-SPFeature]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SPFeatureReceiver]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=473</guid>
		<description><![CDATA[Today I encountered the same problem as stated in a blog post by Christopher Maish. When activating the feature via powershell the associated feature receiver was not called. Trying the suggested solution in the blog post drove me to the cause of this problem. When using stsadm I got an &#8220;access denied&#8221; error. I did [...]]]></description>
			<content:encoded><![CDATA[<p>Today I encountered the same problem as stated in a <a href="http://www.christophermaish.com/blog/featureactivated-not-called">blog post by Christopher Maish</a>. When activating the feature via powershell the associated feature receiver was not called.</p>
<p>Trying the suggested solution in the blog post drove me to the cause of this problem. When using stsadm I got an &#8220;access denied&#8221; error.<br /> I did run my script via Powershell ISE within Windows Server 2008.</p>
<p>So the real problem is caused, again, by <strong>UAC (User Account Control)</strong>. When starting the Powershell ISE with <strong>&#8220;Run as administrator&#8221;</strong> and executing the script the feature receiver is now called as expected. Even when using Enable-SPFeature!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2011/06/08/enable-spfeature-does-not-trigger-the-feature-receiver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using powershell to quickly debug SPSiteDataQuery</title>
		<link>http://www.entwicklungsgedanken.de/2011/06/07/using-powershell-to-quickly-debug-spsitedataquery/</link>
		<comments>http://www.entwicklungsgedanken.de/2011/06/07/using-powershell-to-quickly-debug-spsitedataquery/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 08:43:11 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SPSiteDataQuery]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=459</guid>
		<description><![CDATA[Writing CAML-Queries is still no fun. Even with SharePoint 2010&#8230; So you often need to test your queries before they actually work. In case you quickly want to test if your SPSiteDataQuery is correct you can use powershell to &#8220;debug&#8221; it. Just create an instance of the site-collection and target the root-web with your query-instance. [...]]]></description>
			<content:encoded><![CDATA[<p>Writing CAML-Queries is still no fun. Even with SharePoint 2010&#8230; So you often need to test your queries before they actually work.</p>
<p>In case you quickly want to test if your SPSiteDataQuery is correct you can use powershell to &#8220;debug&#8221; it. Just create an instance of the site-collection and target the root-web with your query-instance.</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$site</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>SPSite <span style="color: pink;">-</span>Identity http:<span style="color: pink;">//</span>my<span style="color: pink;">-</span>site<span style="color: pink;">-</span>collection
&nbsp;
<span style="color: #800080;">$q</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">New-Object</span> <span style="color: #008080; font-style: italic;">-typeName</span> Microsoft.SharePoint.SPSiteDataQuery
<span style="color: #800080;">$q</span>.Query <span style="color: pink;">=</span> <span style="color: #800000;">&quot;&lt;Where&gt;&lt;And&gt;&lt;Eq&gt;&lt;FieldRef Name='ContentType'/&gt;&lt;Value Type='Text'&gt;MyCT&lt;/Value&gt;&lt;/Eq&gt;&lt;BeginsWith&gt;&lt;FieldRef Name='Url'/&gt;&lt;Value Type='URL'&gt;/path&lt;/Value&gt;&lt;/BeginsWith&gt;&lt;/And&gt;&lt;/Where&gt;&quot;</span>
<span style="color: #800080;">$q</span>.ViewFields <span style="color: pink;">=</span> <span style="color: #800000;">&quot;&lt;FieldRef Name='ID'/&gt;&lt;FieldRef Name='ContentType'/&gt;&quot;</span>
<span style="color: #800080;">$q</span>.Webs <span style="color: pink;">=</span> <span style="color: #800000;">&quot;&lt;Webs Scope='SiteCollection' /&gt;&quot;</span>
&nbsp;
<span style="color: #800080;">$site</span>.RootWeb.GetSiteData<span style="color: #000000;">&#40;</span><span style="color: #800080;">$q</span><span style="color: #000000;">&#41;</span></pre></div></div>

<p>This is way faster than doing it in VS&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2011/06/07/using-powershell-to-quickly-debug-spsitedataquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How-to replace textarea-tags with simple div-tags including its content for a printing view</title>
		<link>http://www.entwicklungsgedanken.de/2011/02/07/how-to-replace-textarea-tags-with-simple-div-tag-including-it-content-for-a-printing-view/</link>
		<comments>http://www.entwicklungsgedanken.de/2011/02/07/how-to-replace-textarea-tags-with-simple-div-tag-including-it-content-for-a-printing-view/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 12:01:16 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[printing]]></category>
		<category><![CDATA[replace]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=448</guid>
		<description><![CDATA[Today I was improving a printing-view of an application-page inside a project I&#8217;m working on. The &#8220;printing-mechanism&#8221; simply loads the page with a different symfony layout and includes custom css- and javascript-files which hide certain elements from the printing view. Unfortunately the page also contains textarea-elements which get scrollbars when the content is larger. This is [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was improving a printing-view of an application-page inside a project I&#8217;m working on.</p>
<p>The &#8220;printing-mechanism&#8221; simply loads the page with a different symfony layout and includes custom css- and javascript-files which hide certain elements from the printing view. Unfortunately the page also contains <code>textarea</code>-elements which get scrollbars when the content is larger. This is an issue when printing because text is beeing clipped &#8230;</p>
<p>So I&#8217;ve written some simple code which &#8220;transforms&#8221; the <code>textarea</code>-elements into <code>div</code>-elements and replaces the newline-characters into their &#8220;html-equivalent&#8221;.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">jQuery<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #006600; font-style: italic;">// Replace all textareas with a simple div</span>
  jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;textarea&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>index<span style="color: #339933;">,</span> value<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> obj <span style="color: #339933;">=</span> jQuery<span style="color: #009900;">&#40;</span>value<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">var</span> tmp <span style="color: #339933;">=</span> obj.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/[\r\n]/g</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;&amp;lt;br /&amp;gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #003366; font-weight: bold;">var</span> newTag <span style="color: #339933;">=</span> jQuery<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&amp;lt;div&amp;gt;&amp;lt;/div&amp;gt;&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span>tmp<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    newTag.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;plain-text&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    obj.<span style="color: #660066;">replaceWith</span><span style="color: #009900;">&#40;</span>newTag<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2011/02/07/how-to-replace-textarea-tags-with-simple-div-tag-including-it-content-for-a-printing-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forms 6i unter Windows 7 (32 oder 64 Bit)</title>
		<link>http://www.entwicklungsgedanken.de/2010/09/08/forms-6i-unter-windows-7-32-oder-64-bit/</link>
		<comments>http://www.entwicklungsgedanken.de/2010/09/08/forms-6i-unter-windows-7-32-oder-64-bit/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 10:00:00 +0000</pubDate>
		<dc:creator>Sven Thämar</dc:creator>
				<category><![CDATA[Forms 10g]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[64 Bit]]></category>
		<category><![CDATA[Forms6i]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/2010/09/08/forms-6i-unter-windows-7-32-oder-64-bit/</guid>
		<description><![CDATA[Forms 6i unter Windows 7 (64 Bit) zu installieren ist möglich. Mann muss nur beachten, dass bei der Installation kein Registry-Baum “Oracle” aufgebaut wird. Diesen kann man aber aus einer bestehenden Installation importieren. Am besten man installiert Forms6i &#38; Reports erst auf einem 32-Bit System (am besten auch Windows 7) und exportiert den Oracle-Baum aus [...]]]></description>
			<content:encoded><![CDATA[<p>Forms 6i unter Windows 7 (64 Bit) zu installieren ist möglich. Mann muss nur beachten, dass bei der Installation kein Registry-Baum “Oracle” aufgebaut wird. Diesen kann man aber aus einer bestehenden Installation importieren. Am besten man installiert Forms6i &amp; Reports erst auf einem 32-Bit System (am besten auch Windows 7) und exportiert den Oracle-Baum aus der Registry und sichert diesen als Default. Anschließend den Oracle-Baum auf dem 64-Bit System importieren.</p>
<p>Die eigentliche Installation läuft Problemlos durch.</p>
<p>Was ich noch nicht getestet habe ist das nachträgliche einspielen von Patches unter Windows 7 (64 Bit). Evtl. hat das jemand schon gemacht und kann berichten.</p>
<p>Viel Erfolg allen die eine Client-Server Umgebung schätzen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2010/09/08/forms-6i-unter-windows-7-32-oder-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving NULL values are recognized as text-values within dynamic queries in PostgresSQL</title>
		<link>http://www.entwicklungsgedanken.de/2010/07/29/solving-null-values-are-recognized-as-text-values-within-dynamic-queries-in-postgressql/</link>
		<comments>http://www.entwicklungsgedanken.de/2010/07/29/solving-null-values-are-recognized-as-text-values-within-dynamic-queries-in-postgressql/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 11:09:20 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[dynamic query]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[NULL]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[postgres]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=435</guid>
		<description><![CDATA[I&#8217;ve written a dynamic query which is finally executed via EXECUTE my_dynamic_query; The query contained a select list in which two columns should always be NULL. -- ... stuff before dynamic_select_cols := 'tbl1.foo, tbl1.bar, null AS theAlias1, null AS theAlias2, tbl2.foo2'; -- ... stuff after combining the dynamic queries EXECUTE my_dynamic_query; In my case the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve written a dynamic query which is finally executed via <code>EXECUTE my_dynamic_query;</code> The query contained a select list in which two columns should always be <code>NULL</code>.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">-- ... stuff before</span>
dynamic_select_cols :<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'tbl1.foo, tbl1.bar, null AS theAlias1, null AS theAlias2, tbl2.foo2'</span>;
<span style="color: #808080; font-style: italic;">-- ... stuff after combining the dynamic queries</span>
<span style="color: #993333; font-weight: bold;">EXECUTE</span> my_dynamic_query;</pre></div></div>

<p>In my case the result of the query will be inserted in a <a href="http://www.postgresql.org/docs/8.4/interactive/sql-createtable.html">temporary table</a> in memory. The destination column for <code>theAlias1</code> is of type <code>INTEGER</code>. When executing the query PostgreSQL gives me an error:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">column <span style="color: #ff0000;">&quot;theAlias1&quot;</span> is of <span style="color: #7a0874; font-weight: bold;">type</span> integer but expression is of <span style="color: #7a0874; font-weight: bold;">type</span> text</pre></div></div>

<p>So there is something wrong when the query is parsed, evaluated and executed.</p>
<p>Solving this was easy with the use of <a href="http://www.postgresql.org/docs/8.4/interactive/functions-conditional.html">NULLIF</a>. Zero equals zero so <code>NULL</code> is returned. Just as expected.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">-- ... stuff before</span>
dynamic_select_cols :<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'tbl1.foo, tbl1.bar, NULLIF(0, 0) AS theAlias1, NULLIF(0, 0) AS theAlias2, tbl2.foo2'</span>;
<span style="color: #808080; font-style: italic;">-- ... stuff after combining the dynamic queries</span>
<span style="color: #993333; font-weight: bold;">EXECUTE</span> my_dynamic_query;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2010/07/29/solving-null-values-are-recognized-as-text-values-within-dynamic-queries-in-postgressql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a C# preprocessor directive for testing custom timer-jobs</title>
		<link>http://www.entwicklungsgedanken.de/2010/07/22/using-a-c-preprocessor-directive-for-testing-custom-timer-jobs/</link>
		<comments>http://www.entwicklungsgedanken.de/2010/07/22/using-a-c-preprocessor-directive-for-testing-custom-timer-jobs/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 20:42:00 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[preprocessor]]></category>
		<category><![CDATA[SPJobDefinition]]></category>
		<category><![CDATA[Timer job]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=425</guid>
		<description><![CDATA[If your are writing custom timer-jobs for your SharePoint solution it will happen that you write jobs which are only executed once a day or even less often. As a developer you cannot wait that long&#8230; You could of course comment in and out (via ctrl + k, ctrl + c / ctrl + k, [...]]]></description>
			<content:encoded><![CDATA[<p>If your are writing custom timer-jobs for your SharePoint solution it will happen that you write jobs which are only executed once a day or even less often. As a developer you cannot wait that long&#8230;</p>
<p>You could of course comment in and out (via ctrl + k, ctrl + c / ctrl + k, ctrl + u) the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spschedule.aspx">SPSchedule</a> used by the timer-job during debug-mode. But this is error-prone.</p>
<p>When using a <a href="http://msdn.microsoft.com/en-us/library/ed8yd1ha(VS.71).aspx">C# preprocessor directive</a> you cannot forget to switch back to the &#8220;production schedule&#8221; as this is done automatically (and even with syntax-highlighting depending on the active configuration!) when selecting the &#8220;release build&#8221;.</p>
<p><code lang="csharp"><br />
#if (DEBUG)<br />
var schedule = new SPMinuteSchedule();<br />
schedule.BeginSecond = 1;<br />
schedule.EndSecond = 59;<br />
schedule.Interval = 5;<br />
#else<br />
var schedule = new SPDailySchedule();<br />
schedule.BeginHour = 7;<br />
schedule.EndHour = 7;<br />
schedule.BeginMinute = 1;<br />
schedule.EndMinute = 59;<br />
#endif<br />
</code><br />
This code tells the compiler to use the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spminuteschedule.aspx">SPMinuteSchedule</a> when compiling the &#8220;debug build&#8221; and to use the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spdailyschedule.aspx">SPDailySchedule</a> when compiling in &#8220;release build&#8221;. All automatically!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2010/07/22/using-a-c-preprocessor-directive-for-testing-custom-timer-jobs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure the symfony-mailer (swiftmailer) during runtime</title>
		<link>http://www.entwicklungsgedanken.de/2010/05/03/configure-the-symfony-mailer-swiftmailer-during-runtime/</link>
		<comments>http://www.entwicklungsgedanken.de/2010/05/03/configure-the-symfony-mailer-swiftmailer-during-runtime/#comments</comments>
		<pubDate>Mon, 03 May 2010 08:45:32 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[configure]]></category>
		<category><![CDATA[mailer]]></category>
		<category><![CDATA[multi-client]]></category>
		<category><![CDATA[runtime]]></category>
		<category><![CDATA[swiftmailer]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=413</guid>
		<description><![CDATA[One of my current projects is a multi-client environment. Each client has its own smtp-settings for the mailings that are done within that application. From static &#8230; Symfony allows the configuration of the mailer in its factories.yml. There smtp-settings can be definied. But in this case this is impossible as every client has different smtp-settings [...]]]></description>
			<content:encoded><![CDATA[<p>One of my current projects is a multi-client environment. Each client has its own smtp-settings for the mailings that are done within that application.</p>
<h3>From static &#8230;</h3>
<p>Symfony allows the configuration of the mailer in its <code>factories.yml</code>. There smtp-settings can be definied. But in this case this is impossible as every client has different smtp-settings (every client can use its own smtp-settings to handle mailings).</p>
<p>As I did not want to create an instance of the <a href="http://swiftmailer.org/">Swift_Mailer</a> (and<a href="http://swiftmailer.org/docs/smtp-transport"> Swift_SmtpTransport</a>) myself I decided to create my own mailer-class which is derived from the symfony one. So I get the full benefits of logging.</p>
<h3>&#8230; to dynamic</h3>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">class</span> myDynamicMailer <span style="color: #000000; font-weight: bold;">extends</span> sfMailer
<span style="color: #009900;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">function</span> __construct<span style="color: #009900;">&#40;</span>sfEventDispatcher <span style="color: #000088;">$dispatcher</span><span style="color: #339933;">,</span> <span style="color: #000088;">$options</span><span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// Load client based configuration</span>
    <span style="color: #000088;">$cfg</span> <span style="color: #339933;">=</span> EmailConfiguration<span style="color: #339933;">::</span><span style="color: #004000;">getCurrent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$cfg</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>isSmtpConfigured<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;class&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Swift_MailTransport&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">else</span>
    <span style="color: #009900;">&#123;</span>
      <span style="color: #666666; font-style: italic;">// Update settings for the current client</span>
      <span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;transport&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;param&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;host&quot;</span><span style="color: #009900;">&#93;</span>      <span style="color: #339933;">=</span> <span style="color: #000088;">$cfg</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getHostname<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;transport&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;param&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;port&quot;</span><span style="color: #009900;">&#93;</span>      <span style="color: #339933;">=</span> <span style="color: #000088;">$cfg</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getPort<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;transport&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;param&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;username&quot;</span><span style="color: #009900;">&#93;</span>  <span style="color: #339933;">=</span> <span style="color: #000088;">$cfg</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getUsername<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000088;">$options</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;transport&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;param&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;password&quot;</span><span style="color: #009900;">&#93;</span>  <span style="color: #339933;">=</span> <span style="color: #000088;">$cfg</span><span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>getDecryptedPassword<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    parent<span style="color: #339933;">::</span>__construct<span style="color: #009900;">&#40;</span><span style="color: #000088;">$dispatcher</span><span style="color: #339933;">,</span> <span style="color: #000088;">$options</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Simply update <code>factories.yml</code> with the new class and the dynamic configuration is applied.</p>

<div class="wp_syntax"><div class="code"><pre class="yaml" style="font-family:monospace;">all:
  mailer:
    class: myDynamicMailer
    # Rest follows here</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2010/05/03/configure-the-symfony-mailer-swiftmailer-during-runtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Meeting workspaces in SharePoint 2010 / Office 2010. A disappointment.</title>
		<link>http://www.entwicklungsgedanken.de/2010/04/29/meeting-workspaces-in-sharepoint-2010-office-2010-a-disappointment/</link>
		<comments>http://www.entwicklungsgedanken.de/2010/04/29/meeting-workspaces-in-sharepoint-2010-office-2010-a-disappointment/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 06:07:29 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Meeting]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/2010/04/29/meeting-workspaces-in-sharepoint-2010-office-2010-a-disappointment/</guid>
		<description><![CDATA[SharePoint 2010 RTM (and its Foundation) are available for awhile now. After installing SharePoint Foundation I immediately took a look into the meeting workspaces. No improvements since the Beta! Not all lists support the new AJAX-Dialogs. The page-management (for multi-paged workspaces) is still the same as in 2007. Even some old (SP 2007) graphics appear. [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint 2010 RTM (and its Foundation) are available for awhile now. After installing SharePoint Foundation I immediately took a look into the meeting workspaces.</p>
<p>No improvements since the Beta! Not all lists support the new AJAX-Dialogs. The page-management (for multi-paged workspaces) is still the same as in 2007. Even some old (SP 2007) graphics appear. The handling is that awful, too. So the whole “area” of meeting-workspaces leaves with an “nothing happened here”-impression.</p>
<p>Additionally the meeting-workspace ribbon in Outlook 2010 is gone! <a href="http://www.johnchapman.name/outlook-2010-meeting-workspace-options/">You can get it back</a>, but its not that preset as in 2007. This was a really nice feature in 2007. Outlook combined with meeting workspaces.</p>
<p>When taking all this together I’m really disappointed.   <br />It comes to my mind that this whole “meeting-workspace-flow” will soon be removed from SharePoint/Outlook – No real improvements in SharePoint 2010 (haven’t tested building site-definitions from meeting-workspaces but I guess its still as hard as in 2007), ribbon in Office 2010 is gone per default and somewhat hidden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2010/04/29/meeting-workspaces-in-sharepoint-2010-office-2010-a-disappointment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

