Created
June 8, 2010 22:38
-
-
Save al3x/430748 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* NOTE this file is autogenerated by Scalate : see http://scalate.fusesource.org/ */ | |
package Application | |
import _root_.scala.collection.JavaConversions._ | |
import controllers._;import models._;import play.utils._ | |
object $_scalate_$index_ssp{ | |
def $_scalate_$render($_scalate_$_context:_root_.org.fusesource.scalate.RenderContext): Unit = { | |
val context:org.fusesource.scalate.DefaultRenderContext = ($_scalate_$_context.attributes.get("context") match { | |
case Some(value) => value.asInstanceOf[org.fusesource.scalate.DefaultRenderContext] | |
case None => throw new _root_.org.fusesource.scalate.NoValueSetException("context") | |
}); | |
import context._; | |
{ | |
val playcontext:play.mvc.PlayContext$ = ($_scalate_$_context.attributes.get("playcontext") match { | |
case Some(value) => value.asInstanceOf[play.mvc.PlayContext$] | |
case None => throw new _root_.org.fusesource.scalate.NoValueSetException("playcontext") | |
}); | |
import playcontext._; | |
{ | |
val name:String = ($_scalate_$_context.attributes.get("name") match { | |
case Some(value) => value.asInstanceOf[String] | |
case None => throw new _root_.org.fusesource.scalate.NoValueSetException("name") | |
}); | |
{ | |
$_scalate_$_context << ( "\nwhat up " ); | |
$_scalate_$_context <<< ( name ) | |
$_scalate_$_context << ( "\n" ); | |
} | |
} | |
} | |
} | |
} | |
class $_scalate_$index_ssp extends _root_.org.fusesource.scalate.Template { | |
def render(context:_root_.org.fusesource.scalate.RenderContext): Unit = $_scalate_$index_ssp.$_scalate_$render(context); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment