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. Example of template and taglib with grails
Nine Lessons from building a Grails / Flex / Flash website | Tomás Lin’s Programming Brain Dump I just finished putting the finishing touches on phase one of our video and animation heavy Flash / Grails / Flex site. 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.
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 Executing External Processes From Groovy
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. The Holy Grail 3 column Liquid Layout. Pixel widths. Cross-Browser. Equal Height Columns.
Sandbox Last updated by pledbrook 1 year ago Ideas Another test - please ignore. 汉语/漢語
Grails - jira.codehaus.org
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. Reference
Recent Entries (Last 7 Days)