<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tototoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/tototoshi/</author_url>
  <blog_title>tototoshi の日記</blog_title>
  <blog_url>https://tototoshi.hatenablog.com/</blog_url>
  <categories>
    <anon>Play2.0</anon>
    <anon>Scala</anon>
  </categories>
  <description>Play 2.0 では次のように &quot;name&quot; -&gt; text などのマッピングを定義してコメントのフォームを作ります。 例 case class User(name: String, email: Option[String]) val userForm = Form( mapping( &quot;name&quot; -&gt; text, &quot;email&quot; -&gt; optional(text) )(User.apply, User.unapply) ) このフォームにリクエストを Form#bindFromRequest でバコッと bind するがパターンです。 でも 標準では text, number, dat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftototoshi.hatenablog.com%2Fentry%2F20120407%2F1333795457&quot; title=&quot;Play2.0 の Form に自分で定義した Field を加える - tototoshi の日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/t/tototoshi/20120407/20120407193735.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-07 19:44:17</published>
  <title>Play2.0 の Form に自分で定義した Field を加える</title>
  <type>rich</type>
  <url>https://tototoshi.hatenablog.com/entry/20120407/1333795457</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
