Using pagination with Controller action other than the default list

By default ‘list’ pages are generated to use the <paginate> tag, and this invokes the list action to retrieve the next set of results.

If you are using an action other than the default list action, include the action="" attribute on the tag to use an alternative action method:

<code>&lt;g:paginate action="${listType}" total="${Purchase.count()}" /&gt;</code>

In the above example the action method is the result of a value set from the previous action method to indicate which action method is to be used.

Linking to other actions from a view page

Use the <g:link> tag to link to another action. For example:

To link to ‘someAction’ in the same controller being used to handle this current view page, passing an id:

<code>&lt;g:link action="someAction" id="${exampleDomainObject.id}"&gt;</code>

If the action is in a different controller, then specify the controller as well:

<code>&lt;g:link action="someAction" controller="OtherControlller" id="${exampleDomainObject.id}"&gt;</code>

Top 50 most influential people on the Web today

This is an interesting list on PCWorld.com – ‘The 50 Most Important People on the Web’.

The list is particularly interesting because the big commercial names are there like you’d expect, Brin and Page of Google, and Steve Jobs, but also there are a number of people behind the ‘social networking’ type websites that are leading the way in the ‘Web 2.0’ trend – for example, Jimmy Wales, founder of Wikipedia, Craig Newmark, founder of Craig’s List, even Kevin Rose, founder of digg.com gets a mention (not far behind big names like Bezos and Ray Ozzie.