Force Refresh of Flex DataGrid when dataProvider changes

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:

Grails, GDS and Gravity Step by Step Guide

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

Turning Scripture References into Bible Text Pop-ups with Drupal

Recently a chap named certain Walton contacted me to ask how how we got the bible text to pop up when you hover your mouse over scripture references on the Christian Assemblies International website:

Griffon GUI Builder Options

Recently I experimented with Griffon with a view to replacing a Swing application created in Eclipse Visual Builder. Having got my head around Groovy and Grails already, I can say that it was fun. However not being much of a Swing programmer, the main problem I had was building a layout. I mean when you come from a non-Swing background, how are you supposed to build a layout for anything more complicated that the 3-widget panels that are in all the examples on the internet?

How to build a Java client to consume a RESTful Grails web service

Question posted on the Grails mailing list:

I'm trying to build a REST client for my REST server (which I build
with the help of the Definitive Guide To Grails) using RESTclient.
I'm using the following code at the server side:

def save = {
   def u = new Signup() = params
   if ( {
     render u as XML
   } else {
     render u.errors as XML

Drupal Themes Recommended by Consultants

Recently the following question was posed on the Drupal consultants mailing list by Sam Cohen:

"I was hoping some of you... can share any theme suggestions, both contributed and commercial, that you think look the most professional."

In the interests of helping others and of promoting the best Drupal themes, here are the themes that got a mention, along with the highlights of the various comments about them:

Easy Way to Identify a Bad Web Host

Let's face it - web hosting is profitable and the market is crowded with people vying for your dollar. You want to spend as little as possible but you want high quality hosting. The problem is that you only really find out who is good after you've signed up and invested the labour in getting things running on their servers. Sometimes it can be a couple of months in when some issues crop up. Here's a non-technical way to differentiate good and bad hosts:

Draft Magento Installation Video

Tonight I created a really basic Magento installation video tutorial. I mainly did it to sort of test and hone my video creation skills, but I hope it helps a few people along the way. Sorry for the poor sound quality at times, and the umms, ahhs, and parts where I glance over things which may not be obvious. In the future I'd like to make more polished Drupal and Magento tutorial videos about more advanced topics.

So, without further ado:

Translation Anchor Text for Drupal: Optimise Your Language Links

I’ve created a Drupal module which replaces the anchor text of links to node translations with the page title of that translation.

The Problem with Default Drupal Translation Links

One thing which milled around my mind a bit recently is the apparent SEO un-friendliness of the default way Drupal implements translation links. By “translation links” I’m referring to the links that appear at the bottom of any node that has translations. By default, with the translation icons module enabled, they look something like this:

Canonical URL Tag: No Mad Rush to Implement

Recently the big three search engines teamed up and agreed on a format to help webmasters reduce duplicate content and its related disadvantages for their websites, being referred to in SEO circles as a “canonicalization tag”. Technically it’s not a tag but a value being applied to the rel attribute of the link element; if you want the gory details check the above link.


Subscribe to Salt Websites RSS