<?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>garywaddell.com</title>
	<atom:link href="http://garywaddell.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://garywaddell.com</link>
	<description>Gary Waddell</description>
	<lastBuildDate>Tue, 17 Aug 2010 12:00:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Using Dynamic Stylesheets for IE</title>
		<link>http://garywaddell.com/?p=266</link>
		<comments>http://garywaddell.com/?p=266#comments</comments>
		<pubDate>Mon, 16 Aug 2010 14:39:26 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=266</guid>
		<description><![CDATA[We all know Internet Explorer is a pita when it comes to standardizing CSS.  You find you are spending a number of hours testing your website between different IE versions only to find some very cool CSS techniques you used end up looking miserable in IE.  I guess it&#8217;s what we have to expect from [...]]]></description>
			<content:encoded><![CDATA[<p>We all know Internet Explorer is a pita when it comes to standardizing CSS.  You find you are spending a number of hours testing your website between different IE versions only to find some very cool CSS techniques you used end up looking miserable in IE.  I guess it&#8217;s what we have to expect from Microsoft at this time, but this trick will help you to still do the very cool layouts you wish but still cater to issues found in Internet Explorer versions.  I found myself using this technique:</p>
<pre>&lt;!--[if lte IE 7]&gt;
&lt;style type="text/css" media="all"&gt;
 @import "iestyles.css";
&lt;/style&gt;
&lt;![endif]--&gt;
</pre>
<p>This technique uses client side conditions whereby the if condition here is checking for Internet Explorer less than or equal to version 7, and when true, including the styles required by IE.  You can put this after your main style sheet definition (example: &lt; link &gt; ) where the IE styles will override your other styles that are working in other browsers.</p>
<p>Note however, if you do use the CSS keyword !important, your styles in your IE sheet will end up being ignored as !important forces styles defined in stylesheets later on from being overwridden.</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=266</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ant Missing in PDT Eclipse for Mac</title>
		<link>http://garywaddell.com/?p=221</link>
		<comments>http://garywaddell.com/?p=221#comments</comments>
		<pubDate>Mon, 19 Jul 2010 00:30:23 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=221</guid>
		<description><![CDATA[So you want to run some build Ant scripts using your PDT Eclipse installation on your new Mac computer, but where is the view?  In fact, where is Ant?  It appears PDT is not part of the Eclipse PDT bundle, so you need to activate it in the Help &#124;  Software Updates section.  You&#8217;ll find [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to run some build Ant scripts using your PDT Eclipse installation on your new Mac computer, but where is the view?  In fact, where is Ant?  It appears PDT is not part of the Eclipse PDT bundle, so you need to activate it in the Help |  Software Updates section.  You&#8217;ll find this in the Java Development Tools option.  I was (am) using Eclipse Galileo, and I found the option in the Work With drop down, Galileo list item.  When I selected this, I was able to expand the nodes in the treeview and locate the Java Development tools.  Tada, good luck!!</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=221</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing the CKEditor Toolbar</title>
		<link>http://garywaddell.com/?p=216</link>
		<comments>http://garywaddell.com/?p=216#comments</comments>
		<pubDate>Thu, 08 Jul 2010 18:37:19 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=216</guid>
		<description><![CDATA[If you want to create your own custom CKEditor toolbar, here are the options you can reference when you update the config.js file.  Use the &#8216;-&#8217; to group the icons and the &#8216;/&#8217; to put icons into a new line.  So far, my experience with CKEditor is a good one. config.toolbar = 'Full'; config.toolbar_Full = [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to create your own custom CKEditor toolbar, here are the options you can reference when you update the config.js file.  Use the &#8216;-&#8217; to group the icons and the &#8216;/&#8217; to put icons into a new line.  So far, my experience with CKEditor is a good one.</p>
<pre>config.toolbar = 'Full';

config.toolbar_Full =
[
    ['Source','-','Save','NewPage','Preview','-','Templates'],
    ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
    ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
    ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
    '/',
    ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
    ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
    ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
    ['Link','Unlink','Anchor'],
    ['Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
    '/',
    ['Styles','Format','Font','FontSize'],
    ['TextColor','BGColor'],
    ['Maximize', 'ShowBlocks','-','About']
];
</pre>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=216</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EApps Bug &#8211; www alias</title>
		<link>http://garywaddell.com/?p=211</link>
		<comments>http://garywaddell.com/?p=211#comments</comments>
		<pubDate>Thu, 01 Jul 2010 01:32:19 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=211</guid>
		<description><![CDATA[I use EApps for all of my clients.  They are one of the best hosting services as they offer true VPS hosting services at a very affordable rate.  The support is very thorough as well, knowledgeable, quick to respond etc.  I have been a customer for years now, and continue to be very happy with [...]]]></description>
			<content:encoded><![CDATA[<p>I use EApps for all of my clients.  They are one of the best hosting services as they offer true VPS hosting services at a very affordable rate.  The support is very thorough as well, knowledgeable, quick to respond etc.  I have been a customer for years now, and continue to be very happy with their incredibly stable service.  However, one thing I have noticed that happens when you have multiple domains in a subscription is the www alias can be get messed up when you make changes to some of the settings in your EApps Control Panel.  I&#8217;ve informed EApps, hopefully they can fix this bug some time&#8230;For now, do this if you run into this problem:</p>
<pre>The problem is caused by the missing www alias for the .com domain site:

control panel &gt; site tab &gt; select the site &gt; website  settings &gt; configure &gt; check the box for www

If the site is not  setup for www apache will show the site from the first virtual host it finds in  his configuration file.
</pre>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=211</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Button Generator</title>
		<link>http://garywaddell.com/?p=208</link>
		<comments>http://garywaddell.com/?p=208#comments</comments>
		<pubDate>Thu, 01 Jul 2010 01:27:42 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=208</guid>
		<description><![CDATA[A great site for creating Web 2.0 Buttons http://jirox.net/AsButtonGen/]]></description>
			<content:encoded><![CDATA[<p>A great site for creating Web 2.0 Buttons</p>
<p><a href="http://jirox.net/AsButtonGen/" target="_blank">http://jirox.net/AsButtonGen/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=208</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSWS3227E &#8211; java.lang.IllegalArgumentException</title>
		<link>http://garywaddell.com/?p=203</link>
		<comments>http://garywaddell.com/?p=203#comments</comments>
		<pubDate>Fri, 04 Jun 2010 20:09:08 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[WebServices]]></category>
		<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=203</guid>
		<description><![CDATA[So you get your web service client working nicely and deploy your code to Websphere only to find this ugly Websphere Exception: [6/3/10 21:28:28:081 EDT] 00000035 Connection    E com.ibm.ws.webservices.engine.client.Connection invoke WSWS3227E:  Error: Exception: java.lang.IllegalArgumentException: argument type mismatch From what I have read online, this can happen based on the webservices.jar file not being the most [...]]]></description>
			<content:encoded><![CDATA[<p>So you get your web service client working nicely and deploy your code to Websphere only to find this ugly Websphere Exception:</p>
<pre>[6/3/10 21:28:28:081 EDT] 00000035 Connection    E com.ibm.ws.webservices.engine.client.Connection invoke WSWS3227E:  Error: Exception:
java.lang.IllegalArgumentException: argument type mismatch</pre>
<p>From what I have read online, this can happen based on the webservices.jar file not being the most current one.  I didn&#8217;t have that issue though, but what I did find was how Websphere&#8217;s classloader can cause this exception.  I had setup a SharedLib for my new webservice JAR files but what I should have done was to include the JAR with my WAR file&#8217;s WEB-INF/lib and remove the entry from the Shared Lib.  This seemed to fix this.</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=203</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Calendar &#8211; Calculate Number of Days between two dates</title>
		<link>http://garywaddell.com/?p=167</link>
		<comments>http://garywaddell.com/?p=167#comments</comments>
		<pubDate>Wed, 31 Mar 2010 17:30:12 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=167</guid>
		<description><![CDATA[Calendar date1 = Calendar.getInstance(); // You can set date1 to any date date1.set(Calendar.MONTH,1); date1.set(Calendar.YEAR,1980); Calendar now = Calendar.getInstance(); int numberOfDays = (date1.getTime().getTime() - now.getTime().getTime()) / (1000 * 60 * 60 * 24);]]></description>
			<content:encoded><![CDATA[<pre>Calendar date1 = Calendar.getInstance();

// You can set date1 to any date
date1.set(Calendar.MONTH,1);
date1.set(Calendar.YEAR,1980);

Calendar now = Calendar.getInstance();
int numberOfDays = (date1.getTime().getTime() - now.getTime().getTime()) / (1000 * 60 * 60 * 24);</pre>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=167</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Our Education System</title>
		<link>http://garywaddell.com/?p=157</link>
		<comments>http://garywaddell.com/?p=157#comments</comments>
		<pubDate>Tue, 09 Mar 2010 15:49:58 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=157</guid>
		<description><![CDATA[Although this is not a technical article, it certainly opens your mind to our education system today, I certainly hope we can change the way it works because I believe Sir Ken Robinson completely. http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity.html http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity.htmlI]]></description>
			<content:encoded><![CDATA[<p>Although this is not a technical article, it certainly opens your mind to our education system today, I certainly hope we can change the way it works because I believe Sir Ken Robinson completely.</p>
<p><a href="http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity.html" target="_blank">http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity.html</a></p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity.htmlI</div>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=157</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Logging Soap Messages &#8211; Trace.log</title>
		<link>http://garywaddell.com/?p=152</link>
		<comments>http://garywaddell.com/?p=152#comments</comments>
		<pubDate>Fri, 19 Feb 2010 17:35:04 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=152</guid>
		<description><![CDATA[If you need to log SOAP information in Websphere, you can turn on trace logging and set the following value in the Change Log Details Level (Logging and Tracing &#62; ServerName &#62; Diagnostic Trace Service &#62; Change Log Detail Levels) : com.ibm.ws.webservices.engine.*=all This will log only the SOAP web service messages without seeing all of [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to log SOAP information in Websphere, you can turn on trace logging and set the following value in the Change Log Details Level (Logging and Tracing &gt; ServerName &gt; Diagnostic Trace Service &gt; Change Log Detail Levels) :</p>
<pre>com.ibm.ws.webservices.engine.*=all</pre>
<p>This will log only the SOAP web service messages without seeing all of the other goop that can make the trace log hard to read through.</p>
<p>Make sure you have a valid trace log file defined first (${LOG_ROOT}/trace.log)</p>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=152</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Websphere SSL &#8211; Keystores and Trust Files</title>
		<link>http://garywaddell.com/?p=149</link>
		<comments>http://garywaddell.com/?p=149#comments</comments>
		<pubDate>Wed, 27 Jan 2010 22:06:27 +0000</pubDate>
		<dc:creator>garywaddell</dc:creator>
				<category><![CDATA[WebSphere]]></category>

		<guid isPermaLink="false">http://garywaddell.com/?p=149</guid>
		<description><![CDATA[There may be occasions where you need to perform SSL web services through your application into another web service.  You need to become a bit familiar with key stores and trust files.  I ended up using the default dummy files shipped with WebSphere, you will see this in the IBM article I will refer you [...]]]></description>
			<content:encoded><![CDATA[<p>There may be occasions where you need to perform SSL web services through your application into another web service.  You need to become a bit familiar with key stores and trust files.  I ended up using the default dummy files shipped with WebSphere, you will see this in the IBM article I will refer you to.</p>
<p>First, I assume you have received some kind of cert(s) (*.cer) from the app you will be calling into.  You need to add these to your default trust file, which is stored in WebSphere as a repertoire (Security | SSL).  Remember the default password for the trust file is WebAS&#8230;go figure, that is easy to know and find =)</p>
<p>As long as you can remember the password WebAS (did I say that already), <a href="http://publib.boulder.ibm.com/infocenter/iwphelp/v2r5m1/index.jsp?topic=/com.ibm.wcs.ic.doc_2.5.1/infocenter/i_sec_t_impcertwasstores.html" target="_blank">then follow these instructions first</a>.  I only followed the instructions for the ikeyman utility, you can disregard the other command line tools (ie keytool) if you do end up using ikeyman.</p>
<p>Now once your app has been installed into WAS, you will need to SSL enable the web services through the Web Services: Client security bindings (Enterprise Applications &gt; YourApp &gt; Web module &gt; YourWARFile &gt; Web services: Client security bindings)  Click on the Edit Button beside the web service using SSL and make sure the HTTP SSL Enabled is checked.</p>
<p>Now you can try out your SSL web service from your app.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 56px; width: 1px; height: 1px;">
<h1 id="title-bread-crumb"><a href="http://localhost:9060/ibm/console/navigatorCmd.do?forwardName=ApplicationDeployment.content.main">Enterprise  Applications</a> &gt; <a href="http://localhost:9060/ibm/console/applicationDeploymentCollection.do?EditAction=true&amp;refId=ApplicationDeployment_1256577606250&amp;contextId=cells:GWADDELL-D620Node01Cell:applications:CEBS70.ear:deployments:CEBS70&amp;resourceUri=deployment.xml&amp;perspective=tab.configuration">CEBS70</a> &gt; <a href="http://localhost:9060/ibm/console/com.ibm.ws.console.appdeployment.forwardCmd.do?forwardName=WebModuleDeployment.content.main&amp;sfname=modules&amp;lastPage=ApplicationDeployment.config.view&amp;resourceUri=deployment.xml&amp;parentRefId=ApplicationDeployment_1256577606250&amp;contextId=cells:GWADDELL-D620Node01Cell:applications:CEBS70.ear:deployments:CEBS70&amp;perspective=tab.configuration">Web  module</a> &gt; efs70.war</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://garywaddell.com/?feed=rss2&amp;p=149</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
