《Play for Java》学习笔记(三)template+Message
说明: 这是本书的第八章内容,由于项目需要,提到前面来看啦~~~O(∩_∩)O
一、模板template的定义
Play中的模板是html代码和Scala代码的混合而成的,其中Scala代码以@开头,一个简单的模板如下:
@(product: List[Product], count: Integer)
<dl>
@for(product <- products) { <!-- A Scala "for" loop -->
<dt>
<a href="@routes.Products.show(product.ean)"> <!-- A Scala function call -->
@product.ean - @product.name <!-- outputting Scala values -->
</a>
</dt>
<dd>@product.description</dd>
}
</dl>
注解: 如果想用HTML的方式输出变量或表达式的值,而表示为Scala代码,使用@Html(), 如:
// boldName = "<b>world</b>
Hello @Html(boldName)!
二、表达式的范围Scope--in-line expression
1. 这里的"-"是文本,有两个Scala表达式
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmEAAABkCAIAAABBxXCGAAAgAElEQVR4nO2deVxN+f/Hf3+c+pzbopApypa1FIaxTUNX2csyKNmNvhgzxmAsY5jJrezZp8Y2kX1kaaZhxjBIESMRStQkSZFsUypXOb8/3t2P42zdSkW9n4/PH/VZznmfz/28P69zP9v9Pw5BEARBECn+r6oNQBAEQZB3FNRIBEEQBJEGNRJBEARBpEGNRBAEQRBpyqiREREREadOvVVLEAR5y9xKSo6IiKhqKxDkPaZ0Gnk3/V7PnmpDlm3UqKFFPQuGEIaQ1Dt3Ksg4BEHKxupVqxhCwFVrmdViCMGXWgQpA6XQyDtpd21sbGybNr144QLEbAwMZFUqGxubirHt3SUzI8PM3AxeESBcunSpqo1CEI7juPz8fMe2jgwh7du1BVd9npvbrUsXhpD9oaFVbV1lM3XKFAPCUj+1s7eraouQ94xSaCQ0sqANP/IjJ06YwBByYP/+t23Yu052dva5yKiVy5ZBtYSHhVW1RdJMHD+OIeTu3fSqNgSpJD75uBtDiJWV1aPsbBp5PzPTyNiYIaQKDasq0u/e5btqVZsjzbnISIaQ0/hd/91DX43cuWMnQ0jjRo1evXrFj0+4fp0hpHWrVhVg23tA5OlT77hGtrG3Ywj5848/qtoQpDJ4l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0Clal8td1i7R1PdLtguV0rYsvrtevXTNkWbhOJT7Q+8qpE3/XtagLJ6tpfH3t7O2g2v8+dgwy3E5JKR6k4Z0amJ+XB8fowL9UI7s7OcE5beAaDCG2trYveXte5UZ3oW+BNTjgiQwhtk2bPsp+vcMk9XYqzD7CGpwlS5YyhBgQCaeGWyTevOni4sIQYsiytEcSqx04NdRAREQErYHLvEkZ1MgyU7M0kuO4v48fnzn962GfDhk80H3sqFHr16zhO8DB/fvXBKwSLwE4dvTomoBVe3bu4F6v2en45PGTlcuWjR01auiQwZO9vYM2/FhU9HqDVEJ8/JqAVbdvp3JSKJsB/Hb48LSpX3w6eFD/vn2GfTpk+rRpV0Q7RrZu2jxmpJf7gP5u/fuNGek1Z9Y3GTyhjbl4cU3AKsHKycSEhJnTvx480H2Qu9vokV5+ixalpb5hJJQSa2HUmcg1AauePX0m+UQ1jcSEBJ+FC2dO/zrmn9f7PZ4+ebImIGDc6NFwmNnc2bNvJr4+pBda11HelxIAWhf/wz0UGjp75sx5s2dX9FNUD67GxfG9ydfHh69MUO3bf/5ZXIpWO2iknb3dldhYvlPv3rFDsOtxe/DP/E+cj8CpfX184PRKPuejo/lOPcnbm2o55bfDh/83cSLfqbN5jwPuKSiSmJDw/fzvRngMH+hW7NSClX2SpTidU0s+DgLUOI0sP1Qjq9oQBEHeDnQ+EsY8EYSCGllqUCMRpJqhsK4VqeGgRpYa1EgEqWagRiJyoEaWGtRIBKlmoEYicqBGlprCwsLfDh+OFP1SLoIg7ylarfa3w4f/TU6uakOQdw7USARBEASRBjUSQRAEQaRBjUQQBEEQaf4f8pDpzBE33JoAAAAASUVORK5CYII=" alt="" width="318" height="52" />
2. a multi-token statement
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnIAAABVCAIAAABCep5lAAAgAElEQVR4nO2dd1wUx/vHf38sPHtYgIiCcoJGxUhiiUY9sMaaRA2KchBQQYjdEECMLRJRgiJNYy/xq8YkRkAUDGoiooISFGwgNlRQpImNJs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G3aJRhUuwAAAABJRU5ErkJggg==" alt="" width="392" height="53" />
3. a multi-statement expression
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAnEAAABYCAIAAAAV0za4AAAee0lEQVR4nO3daVwT194H8OfF4AnaCthFlKAgWkBZRSCAWBVBrftCEgEFweuKCxFwqwqCuLAEVHCpt9YWbylhcUGsC9WKgqgouC+IG8YFCyIgAZKc58XIdJgEhBDB0v/3c14kJyeTmSEzv5kzZ8L/YQAAAACow/919AwAAAAAnQRkKgAAAKAekKkAAACAekCmAgAAAOoBmQoAAACoB2QqAAAAoB6QqQAAAIB6QKYCAAAA6gGZCgAAAKgHZCoA7UQul6ekppKPb9++8/RpScfOz82bN580zENubm7HzgwAnUObMjUwMHBV8Ir9P+4zNTE5c+ZMMy1fvnyZLBIli0TNtJHU1vp4e/P5/Dl+fm2ZK9CMly9fkit5z+49HT0v/zoymQyxWD/+8APGeMK4cV1YrI6dnzFurmw2m3zctVu38+fOdez8dIjFixZ5enpGC2M6ekb+1W7duOk7e7anp2dOTk5HzUNx8cNkkSj3woU2Tkf1TA3bsGHef/5DPv7px/8a9O3bVMv8/HwCoYnjxxUWFHxwsp4z+H366Ks8V6AlPGd8rAOXqqqqAIHgY0y5c9DV1c3Pz8cYe3t5uo4a1bEzw+dy3blc8nGfPvpl5W86dn46SnpKCrUe1G7r5i0facqdT3pKSvPnXR+VTCY7mJraz9CQyjXVqJip9fX1BEIPHzwgn1ZUVBAIVVdXK228ZsUKAqGr+fktmXJcTAxk6sf28TL18ePHzXwT/un02HptnIKpicmNa9cxxsuWLFm0cIE6Zkp1C+fPp7LE0ty8jVNr+8rpKB81Uy0tLF7/9ddHmngn07GZSprl6amB2tSBpGKm3rt7r1evXtTTzMxMAqFXr0qVNra1GUwg1MIpN5OpN27efFryrLWzChR9vEw9lnGEQKglHRIt8bTk2ZOOvuhI1/bYCAwIKH1VijHOOHz4l3371DBPbZCekrIpPJx8vDIoqI1T++dmqijpt4+UqRfOn/9mwIC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SoThhpHZQq15c+vV6Vt0QsCvXZhwNmKzscql/yibRkBbnnnTyUTlq3agyhCHN94E4OKXrFs8s7/zt+uu5c4R5+i3Mx6YGvATPrpeC6Vd6bB9W2jTUVowPVyFW9i/Nug6QqLrqILR8Xy6Y6+bl/etdw5wAxDJXpBAEPaMRROx7Pegctcav7KHflbkbfYAjZT6kHyLh1V8SZOtgk6GwZbxS2WWvKutVFSKu9Mue3K2zYaHTtYdRvwWfJ2VLV9edci2SaL2Rw2M9ZYdIM25LRJg75Ee8FQLJW3LX8zeWeMahk0hZ0BG7KWcW6MWczm6e/cYTPOjTEyaOSObr/bYwpHVWFOp78bIq3LW1cDFrW+UbKNy3yfOgairQGRfr3ccB45Ft2N3RwMp0LjHPf/mCAwWcgIGQ2HaLQGDVjYEejrhxrnjqoWVsnGQ557600m2W7BNaAbwn6ot9Yk/3Q8wbonS2KvaCPBkd/2wwaqJJtJom3HHobsDA2iSC8gOl3vosl4zaSnamtNRjyQQ3APhobChpAUUWWZlcetPfUkWW/n5Ld25CpQnHtRsvWp3DoVWviFDSj3w3qvDqVDyfn0zNaarqqMELS59GndBizsCF20vkl2kGkQuQRbuqOqtioV8vdea+nmw5hapg7J0M0+JQLlTXk3p5t9SoS/JG/9NLI7r0NqC/w13667h272KdHwnXNCvIXyJsRbKG9CvIXyJsRbKG9CvIXyJsRb7nLnoN/d4YMlQrpGc3cO0DbeibtebqPh8AXdNhDSZZq7c8Cb+vjyXtw2PP16CCFCc3cO+C++tdBuGwghHaG5Owcs2qfjOeO2gRDSEZq7c5BPlyF7cdtACOkIzR+MiQfC6XiCL3Wr+HIhhPw17nruLZ/Xa7cNhJCOwNdaCPEWypsQb6G8CfEWypsQb6G8CfEWypsQb6G8CfEWypsQb6G8CfGW/wHu2JYEmkIDkgAAAABJRU5ErkJggg==" alt="" width="237" height="68" />
- 应该尽量避免如1,2所示的复杂的表达式
- Scala代码格式参见: http://docs.scala-lang.org/style/scaladoc.html
三、模板的基本功能说明
1、模板参数
@* general template parameters*@
@(customer: models.Customer, orders: List[models.Order])
@* default values for parameters*@
@(title: String = "Home")
@* several parameter groups *@
@(title:String)(body: Html)
模板参数应写在template的最开头
2. Iterating
- 一般List的循环结构见上(略)
- Map的循环
@(eanMap: Map[Long, Product])
......
<dl>
@for((ean, product) <- eanMap) {
<dt>
<a href="@routes.Products.show(ean)">
@ean - @product.name
</a>
</dt>
<dd>@product.description</dd>
}
</dl>
......
- Set的循环
@(products: Set[Product])
......
<dl>
@for((product, i) <- products.zipWithIndex) {
<dt>
<a href="@routes.Products.show(product.ean)">
Product @i - @product.name
</a>
</dt>
<dd>@product.description</dd>
}
</dl>
......
3. reusable blocks
@display(product: models.Product) = {
@product.getName() ($@product.getPrice())
} <ul>
@for(product <- products) {
@display(product) <!--调用display -->
}
</ul>
还可以写成pure code blocks(不知道该如何翻译~~~)
@title(text: String) = @{
text.split(' ').map(_.capitalize).mkString(" ")
}
<h1>@title("hello world")</h1>
4. reusable values
@defining(user.getFirstName() + " " + user.getLastName()) { fullName =>
<div>Hello @fullName</div>
}
使用@defining()
四、模板的模块化
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYcAAAEbCAIAAAC+2N8RAAAgAElEQVR4nO3dfVgTV6I/8N8f7s0mY1ssto88Uri7VuuKFaW0tWI1VhRFjIhKSala7IVavZYUX6q3ogvVVvAFXbUtllXUtS6+oBQUFqmIFqrUF4Rei+8CxUUUMAmGCYQ5vz+OnQszmTgtOET7/Tz5g+fMZHIyc86XzMmZyf8jAADO5P91dQUAANpBKgGAc0EqAYBzaZdKlibWaDLZWlrE65lMZrO5UVxutTYbTSaLhRUvoluzWq3iRY2N94wmE8dxgvJWm81oMlma7GyNvpDV2iz1Qq02m6Cc4zijydTYeM/e1qxSL2SxsHbrRggxmxtNJrO43NbSIl1tq9FksjXbqzZ9oVZRtVttRpPpnqVJ/BSWZY0mUxNr54XoLhWXE+ljZ2tultpaEyuxS1ttRpPJbrXvHzt7LYFuzW5LkNqlhBD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4tQaxsPDQ7y18eMD1RpGO0orKL9RUcEw3TUMI65bXl6eWsNoNIz4x9NjYuarNYz4dmutNlsvNze1htm8ebNgUVraHlrtwkLhd6tz585RaxivgV7iavv5DVNrmGmhoYLy0tIytYZhuncX1y0tLU2tYVxcXMRdJTIyUq1hIiMjBeWNjfdcXFzUGkZ8P9yUlBRa7dLSMsGiaaGhUk3Oa6CXgyanYRhxx6NNrpebm7h30SYXEzNfUF5ZVSXV5Gh3YJjuNyoqBIukugMhxMPDw0GTs9sdaJNz0B3EP2xVUlIi1eRod9BoGPobM21JdYdWm83V1dVBk7PbHWiTk+oOag2zNmmdYBHtDlrtSEE5voMDAOeCVAIA54JUAgDnglQCAOeCVAIA5/L/AVVtQ1cgpQFSAAAAAElFTkSuQmCC" alt="" />
main.scala.html
@(title: String = "Paperclips")(content: Html) <!-- New parameter 'content' -->
<!DOCTYPE html>
<html>
<head>
<title>paperclips.example.com</title>
<link href="@routes.Assets.at("stylesheets/main.css")" rel="stylesheet">
</head>
<body>
<div id="header">
<h1>Products</h1>
</div>
@navigation <!--Navigation template -->
<div id="content">
@content <!--Page content must be inserted here -->
</div>
<footer>
<p>Copyright ©2012 paperclips.example.com</p>
</footer>
</body>
</html>
view.scala.html
@(products: Seq[Product])
@main("Products") { <!--call main template -->
<h2>Products</h2>
<ul class="products">
@for(product <- products) {
<li>
<h3>@product.name</h3>
<p class="description">@product.description</p>
</li>
}
</ul>
}
调用: views.html.render(content)
navigation.scala.html
@()
<nav class="navbar navbar-inverse navbar-fixed-top" id="navigation">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="@routes.Products.index()">Products Catalog</a>
<ul class="nav">
<li><a href="@routes.Products.index()">Home</a></li>
<li><a href="@routes.Products.list()">Products</a></li>
<li><a href="">Contact</a></li>
</ul></div>
</div>
</nav>
五、Message的使用和国际化(internationalization)
1. 国际化(internationalization)
在conf/application.conf中设置
application.langs="en,en-US,fr"
2. Message
1)messages files文件所在位置——conf/messages.xxx
如果有不同的语言,其文件名分别为conf/messages.fr或conf/messages.en-US
2)定义Message——使用play.i18n.Messages object对象
String title = Messages.get("home.title")
也可以指定语言:
String title = Messages.get(new Lang(Lang.forCode("fr")), "home.title")
3)在模板templates文件中如何使用
@import play.i18n._
@Messages.get("key")
4)Message的格式化方法
conf/messages.en的格式化 | 调用 | 输出 |
files.summary=The disk {1} contains {0} file(s) | Messages.get("files.summary", d.files.length, d.name) | |
shop.basketcount=Your cart {0,choice,0#is empty|1#has one item|1< has {0} items} | <p>@Messages("shop.basketcount", 0)</p> <p>@Messages("shop.basketcount", 1)</p> <p>@Messages("shop.basketcount", 10)</p> |
Your cart is empty. Your cart has one item. Your cart has 10 items. |
5)Retrieving supported languages from an HTTP request
public static Result index() {
return ok(request().acceptLanguages());
}
参考:http://www.playframework.com/documentation/2.2.x/JavaTemplates
《Play for Java》学习笔记(三)template+Message的更多相关文章
- Java学习笔记三十一:Java 包(package)
Java 包(package) 一:包的作用: 如果我们在使用eclipse等工具创建Java工程的时候,经常会创建包,那么,这个包是什么呢. 为了更好地组织类,Java 提供了包机制,用于区别类名的 ...
- Java学习笔记三十:Java小项目之租车系统
Java小项目之租车系统 一:项目背景介绍: 根据所学知识,编写一个控制台版的“呱呱租车系统” 功能: 1.展示所有可租车辆: 2.选择车型.租车量: 3.展示租车清单,包含:总金额.总载货量以及其车 ...
- Java学习笔记三:Java的变量、常量、变量的类型及使用规则
Java的变量.常量.变量的类型及使用规则 每一种语言都有一些具有特殊用途的词,Java也不例外,它们被称为关键字.关键字对 Java 的编译器有着特殊的意义. 一:Java中的关键字: 注:Java ...
- Java学习笔记三.3
9.异常处理:Java中的异常处理对象就是将以前的if语句进行的判断进行抽象化,并形成的一套错误处理体系.最顶端是Throwable,接着是Error,Exception,其中Exception又明显 ...
- Java学习笔记三.2
5.继承 //Java中所有对象都显式/隐式的继承子Object类 class fu{ fu(){ System.out.println("fu..."+getNum()); sh ...
- Java学习笔记三——数据类型
前言 Java是强类型(strongly typed)语言,强类型包含两方面的含义: 所有的变量必须先声明后使用: 指定类型的变量只能接受预支匹配的值. 这意味着每一个变量和表达式都有一个在编译时就确 ...
- Java学习笔记三---unable to launch
环境配置好后,在eclipse下编写HelloWorld程序: ①创建新工程 ②创建.java文件,命名为HelloWorld ③在源文件中添加main方法,代码如下: public void mai ...
- Java 学习笔记 (三) Java 日期类型
以下内容摘自: https://www.cnblogs.com/crazylqy/p/4172324.html import java.sql.Timestamp; import java.text ...
- Java学习笔记三:运算符
1.算术运算符: GitHub代码练习地址:https://github.com/Neo-ML/JavaPractice/blob/master/OperPrac01.java + - * / ...
- Java学习笔记三
1.面向过程思想,强调的是过程(即动作,函数):面向对象思想,强调的是对象. 2.类与对象关系:类是对事物的描述(属性和行为-方法),对象是类的实例.对象通过new生成.属性也称成员变量;方法也称成员 ...
随机推荐
- CUBRID学习笔记 2 安装教程
下载地址 http://www.cubrid.org/?mid=downloads&item=any&os=detect&cubrid=9.3.0 选择适合你的服务器版本 l ...
- poj 1502 最短路+坑爹题意
链接:http://poj.org/problem?id=1502 MPI Maelstrom Time Limit: 1000MS Memory Limit: 10000K Total Subm ...
- POJ 3253 Fence Repair(修篱笆)
POJ 3253 Fence Repair(修篱笆) Time Limit: 2000MS Memory Limit: 65536K [Description] [题目描述] Farmer Joh ...
- run a Freight robot (1)
1. Freight robot The Fetch and Freight Research Edition Robots are indoor laboratory robots. Coordin ...
- Fiddler界面详解
Statistics 页签 完整页签如下图: Statistics 页签显示当前用户选择的 Sessions 的汇总信息,包括:选择的 Sessions 总数.发送字节数.接收字节数.响应类型的汇总表 ...
- POJ3009 Curling
题目链接:http://poj.org/problem?id=3009 题意:从2出发,要到达3, 0可以通过,碰到1要停止,并且1处要变成0, 并且从起点开始沿着一个方向要一直前进,直至碰到1(或者 ...
- Perl5中19个最重要的文件系统工具
在写脚本处理文件系统时,经常需要加载很多模块.其中好多有用函数分散在各种不同的模块中.它们有些是Perl的内置函数,有些是在同Perl一起发行的标准模块中,另外一些是通过CPAN安装的. 下面来看15 ...
- 2013 Multi-University Training Contest 6
HDU-4655 Cut Pieces 题意:有N个格子能够被涂色,每个格子能够涂1-ai 种颜色,当N=6,涂色方案:112233 认为方案中共有3个颜色块:涂色方案:121212 认为方案中共有6 ...
- web设计经验<二>设计华丽的用户体验的6个热门技巧
你是否曾经下载了一个应用,却发现它“很难使用”?对于大多数智能手机用户来说,答案是肯定的. 有趣的是,每四个手机应用中就有一个应用在下载后被“打入冷宫”. 如果一个应用能够吸引一个人下载并且打开它,但 ...
- Linux设备模型(总线、设备、驱动程序和类)
Linux设备驱动程序学习(13) -Linux设备模型(总线.设备.驱动程序和类)[转] 文章的例子和实验使用<LDD3>所配的lddbus模块(稍作修改). 提示:在学习这部分内容是一 ...