Archive for August, 2007

Using Ext as a Layout Manager for Grails

Thursday, August 16th, 2007

Ext is a client-side JavaScript library for building web applications. While it has a number of features, including support for menus, toolbars, forms, dialog boxes and Ajax, this article will focus on its support as a layout manager. This was inspired by a tutorial, Using ExtJS Layouts with Grails Layouts, on the Grails site. While the tutorial’s sample JavaScript and GSP code worked and looked great in Firefox, it did not render correctly in Internet Explorer. Realizing that the Ext examples did work in Internet Explorer, I decided to start there and came up with this approach.

This article focuses on Ext as a layout manager in a Grails application. For tutorials on both, see their respective web sites. Also, I am not a CSS or JavaScript guru, which is why I was attracted to Ext in the first place, so don’t expect much discussion of such in this article.
(more…)