Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (38 sloc) 1.31 KB
<!DOCTYPE html> <html> <head>
<meta name="layout" content="main"> <g:set var="entityName"
value="${message(code: 'gtest.label', default: 'gtest')}" />
<title><g:message code="default.create.label" args="[entityName]" /></title> </head>
<body>
<!-- method 2 - do not need to call any of above to use select method -->
<extlink:selectPref id='autolinkUpdater' noSelection="['null': 'Choose Link Method']" />
<!-- end method 2 -->
<br/><br/>
<!-- final bit required by both - the bit that displays the links depending on user choice -->
<!-- if required you can remove all of above and hard code the choice by setting the choice=value below -->
<!-- take a look at the source controller of plugin project or observe html produced by method 1 -->
<extlink:returnLink
link="http://www.grails.org"
description="Main Grails Site"
choice="${session.linkchoice}"
title="Grails.ORG"
id="MyModal1"
modalLabel="MyModalLabel1"
/>
<extlink:returnLink
link="http://www.grails.info"
description="Grails information Site"
choice="${session.linkchoice }"
title="Grails.INFO"
id="MyModal2"
modalLabel="MyModalLabel2"
/>
<extlink:returnLink
link="http://www.happy.com"
description="Happy.com"
choice="${session.linkchoice }"
title="Walmart happy.com"
id="MyModal3"
modalLabel="MyModalLabel3"
/>
</body>
</html>
Something went wrong with that request. Please try again.