Example of template and taglib with grails. In this example I will show how templates and taglibs can be used to create components.Imagine that you are creating application for managing projects.
When working with an application you are always working within a scope of project. So all the time you need to be able to change project you are working with. Enabling the AJAX Spinner in Grails. For standard page requests, browsers use an animated icon as an indicator to the user that the browser is waiting for the request to complete.
We spent about 2 months on this site, figuring out how to get Flex, Flash and Grails to work together nicely, and I thought I would share some of the lessons learned in this post. The application is a brochure-ware product that features rotating grills, and is back-ended by a Grails CMS. Grails was chosen over other toolkits like the Microsoft Community Server and Expression Engine because it provided the flexibility we needed to tackle a highly customized Flex RIA. Flex File Upload using Grails Backend. This file upload application is based off the one by Nocturnal at Coding Cowboys, a Flex client with a PHP backend.
The client has been stripped down to it's core functions and PHP replaced with a Grails backend. The Grails backend is a file controller with an action defined: Querying associations in Grails with HQL, Criteria and HibernateCriteriaBuilder. A thing I was playing with today was many-to-many relationships in Grails to create a Tag Cloud.
To create a Tag Cloud, I must have a set of key/value pairs, each with a label and a value of the label, which could look like this: ['Java': 5, 'Grails': 16, 'Groovy': 12] But to query this, I need to query a many to many relationship and produce the above result. Executing External Processes From Groovy. Goal: execute a program via a command line from groovy code Option 1: executing a string Gotchas: Take care if you wish to pass a quoted argument that contains white space – it will be split into multiple arguments, e.g.
Directories. The Holy Grail 3 column Liquid Layout. Pixel widths. Cross-Browser. Equal Height Columns. Pixel dimensions of the holy grail layout In this layout the side column widths are in pixels and the centre page adjusts in size to fill the rest of the screen.
Vertical dimensions are left unset so they automatically stretch to the height of the content. Framework Reference Documentation. Sandbox. Last updated by pledbrook 1 year ago Ideas Another test - please ignore.
汉语/漢語. Grails - jira.codehaus.org. Reference. Last updated by sergey.alekseev 2 months ago Reference Guide You can find the official Grails reference documentation at the following links: Integrated Frameworks One of the great things about Grails is that it does not suffer from "Not Invented Here" syndrome.
Cookbook Examples. Recent Entries (Last 7 Days)