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

Compare with Current View Page History

« Previous Version 3 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
{
List climbs = new ArrayList()
}

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

}

  • No labels