<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n314</author_name>
  <author_url>https://blog.hatena.ne.jp/n314/</author_url>
  <blog_title>ログ日記</blog_title>
  <blog_url>https://n314.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>Lift</anon>
  </categories>
  <description>フォームの書き方は複数ある。 http://stable.simply.liftweb.net/#toc-Chapter-4 LiftScreenを使ったフォームの自動生成は、HTMLを編集しにくいので却下。 手軽そうなStatefulSnippetを使ってみる。 サンプルに上がっているようなprocess関数でのエラーチェックは使いにくいのでListScreenのように変数自体にバリデーターを割り当てる方式でいく。 まずはWicketのようにrawInputと指定した型の変数を保持するtraitを作る。 trait FilterValidator extends StatefulSnippe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn314.hatenablog.com%2Fentry%2F20110824%2F1314182177&quot; title=&quot; LiftでWebアプリ(4): フォーム用共通処理を作る 1 - ログ日記&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-08-24 19:36:17</published>
  <title> LiftでWebアプリ(4): フォーム用共通処理を作る 1</title>
  <type>rich</type>
  <url>https://n314.hatenablog.com/entry/20110824/1314182177</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
