<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ktat</author_name>
  <author_url>https://blog.hatena.ne.jp/ktat/</author_url>
  <blog_title>Practice of Programming</blog_title>
  <blog_url>https://ktat.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>Catalyst</anon>
  </categories>
  <description>ドキュメントに書いてないんですが、 action1: param1: - self_rule: HOGE message: 'param1 is invalid HOGE' と書いて、コードで、 if (not some_check()) { $c-&gt;form-&gt;set_invalid('param1', 'HOGE'); } とやると、$c-&gt;form_messages('param1') で、定義したメッセージが取れるということなんですね。 これは、便利ですね。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fktat.hatenadiary.jp%2Fentry%2F20080117%2F1200500258&quot; title=&quot;CP::FormValidator::Simple::Auto の self_rule - Practice of Programming&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>2008-01-17 01:17:38</published>
  <title>CP::FormValidator::Simple::Auto の self_rule</title>
  <type>rich</type>
  <url>https://ktat.hatenadiary.jp/entry/20080117/1200500258</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
