Submitted by John on Thu, 29/12/2011 - 10:17
Got this error in Flex?
1067: Implicit coercion of a value of type String to an unrelated type mx.core:IFactory.
You tried the following type of thing in your MXML and it worked:
itemRenderer="com.example.MyItemRenderer"
But now you set it in actionscript and you get this error.
Solution:
item.itemRenderer = "new ClassFactory(MyItemRenderer);"
Header Renderer Example
In my case I had the following in my Flex 4.6 project and it was working fine:
Submitted by John on Mon, 26/12/2011 - 14:06
In an interesting little mathematical exercise, Zach Pace from the team implementing the new picture sign-in for Windows 8 says that on a phone with a 4-digit pin, 4 unique digits is the most secure against a smudge attack. I contend that he is wrong, and that 3 unique digits would be more secure.
Submitted by John on Fri, 18/11/2011 - 11:22
Submitted by John on Fri, 04/11/2011 - 12:25
Update: Please checkout my new and improved (incidentally how can something be new and improved? Either it's new, or it's improved, in which case it's not new) article Install Redis as Service on Centos 6, which is a better guide.
Submitted by John on Wed, 12/10/2011 - 12:53
The documentation on printing in Flex is pretty sparse. There are some unrealistically simple examples and no treatment of real printing situations, apart from an interesting article (in the Flex 4.5 doco in this case) called using a print-specific output format. It would be great to see more comprehensive examples along this line involving other objects. For example, what about printing charts?
Submitted by John on Tue, 20/09/2011 - 11:58
Robin Bramley has kindly integrated the CodeNarc XML output with the Hudson Integrations plugin and explained to us how to get this working nicely with Grails.
I encountered a few obstacles getting it going on my new Jenkins installation.
Submitted by John on Thu, 18/08/2011 - 15:13
What is a Distributed Denial of Service Attack (DDoS)? Imagine you work in the shoe section of a department store called “Harold’s”. People come to you to ask advice about shoes and try them on, and if they like them they go off to the cash register and buy them. In an IT sense you’re a “server” that might normally “serve” web pages to people surfing the internet.
Submitted by John on Tue, 16/08/2011 - 14:31
I'm helping some people out with their horse floats business in Australia. The site is based on the webs.com platform which allows a novice user to create a relatively nice site, but presents its set of challenges.
Submitted by John on Thu, 07/04/2011 - 12:39
Given the following code:
[Bindable] private var dgLines:ArrayCollection;
If find that when making changes to objects inside dgLines the datagrid does not automatically reflect this. The problem is based around the fact that the bind watcher doesn't notice that dgLines has been updated. I figured out I could force update like this:
dg.dataProvider = dgLines;
But that is rather a hack don't you think?
FlexCoders mailing list to the rescue. The answer is:
ArrayCollection(dg.dataProvider).refresh();
Or the simplified version in our case:
Submitted by John on Tue, 22/06/2010 - 00:31
This guide shows you how to configure Groovy and Grails to run with basic Gravity messaging over Granite Data Services.
The Grails version used was Grails 1.2.1. The gdsflex plugin version used was a 0.8 working version.
Note capitals denote symbolic references, not literal characters e.g. GRAILS-PROJECT-LOCATION might be C:\wspace\messaging. So here goes:
Create Grails Application
grails create-app messaging
Pages