The Definitive Guide to Grails 2 by Jeff Scott Brown & Graeme Rocher

The Definitive Guide to Grails 2 by Jeff Scott Brown & Graeme Rocher

Author:Jeff Scott Brown & Graeme Rocher
Language: eng
Format: epub, pdf
Publisher: Apress®
Published: 2011-12-20T16:00:00+00:00


You have purchased

(${session.user.purchasedSongs?.size() ?: 0}) songs.

<br>

</div>

</div>

The last bit of work is modify the main Sitemesh layout to take advantage of the newly created welcomeMessage template, as shown in Listing 8-12.

Listing 8-12. Updated Main Sitemesh Layout

<body class="application">

<div id="container">

<div id="spinner" class="spinner" style="display:none;">

<img src="${createLinkTo(dir:'images',file:'spinner.gif')}" alt="Spinner" />

</div>

<div id="main">

<g:if test="${session?.user}">

<g:render template="/user/welcomeMessage"/>

</g:if>

<g:layoutBody />

<g:javascript library="application"/>

</div>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.