You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

groovy: Security restricted macro is not allowed on this page. A page edit restriction is required that matches the macro authorization list.

def index = request.getSession(true).getServletContext().getAttribute("climb.index")

if (index == null )
{
index = new Index()
request.getSession(true).getServletContext().setAttribute("climb.index", index)

}

class Index
{
Index()

Unknown macro: { out.println "Creating index..." }

}

class Climb
{
String name
String grade
String stars
String length
String extra

}

  • No labels