IE6: Invalid Argument Error

If you are using ExtJS and getting an “Invalid Argument” Javascript error in IE6, make sure to check your CSS for example, i get them when dynamically setting “Width” on an element. If the value is not conventionally expressed in pixels. IE will choke on it while Firefox will still accept it. Make sure thenContinue reading “IE6: Invalid Argument Error”

Maven WAR plugin: Copying resources to another folder

For the purpose of building an exploded war for my application I am using the maven-war-plugin. There is a common set of UI files that are used by the applications i am working so they’ve been exported to their own SVN folder and the build process copies this folder to the final WAR or explodedContinue reading “Maven WAR plugin: Copying resources to another folder”

Disappearing Ext JS RadioGroup and CheckboxGroup inputs in IE6

I ran into an issue in IE6 with a bunch of my controls not showing up when the page loaded. It was specially with the RadioGroup control in ExtJS. The radio buttons would display fine in Firefox but not appear at all in IE6 even though the HTML was present. I thought it was aContinue reading “Disappearing Ext JS RadioGroup and CheckboxGroup inputs in IE6”

Disappearing ExtJS buttons in IE 6

I officially hate IE6 and know the reason why now, ExtJS. Working with this library has opened my eyes to the deficiencies in the browser. Enough has been said on the topic so let me get to the meat of the matter.I spent a crazy amount of time figuring out why one button i wasContinue reading “Disappearing ExtJS buttons in IE 6”

Using the CakePHP 1.2 Email component

I was following the documentation at http://book.cakephp.org/view/269/Sending-a-basic-message about sending an email with CakePHP using the Email component, used the sample code they provided but could not get my application to send email. A little bit of googling helped me figure out what was going on. I have CakePHP setup within my XAMPP htdocs directory andContinue reading “Using the CakePHP 1.2 Email component”

Validating a checkbox in CakePHP 1.2

I was looking for a good way to validate a checkbox for a site i was working on, and came upon this link that pointed me in the right direction: http://teknoid.wordpress.com/2008/06/10/validating-a-checkbox-in-cakephp-12/ I followed the instruction, mainly: But for some reason, it would not work for me no matter what i tried, my checkbox still failedContinue reading “Validating a checkbox in CakePHP 1.2”