<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cero-t</author_name>
  <author_url>https://blog.hatena.ne.jp/cero-t/</author_url>
  <blog_title>谷本 心 in せろ部屋</blog_title>
  <blog_url>https://cero-t.hatenadiary.jp/</blog_url>
  <categories>
    <anon>S2JSF</anon>
  </categories>
  <description>Strutsに比べて、最近のJSF系Webフレームワークで困るのが、複数フィールドのバリデータ。値を入れないとバリデーションしないとか、S2CompareValidatorだけだと最後のフィールドにバリデータを設定しなければいけないのが厄介。 とは言っても、いつまでもストラーツ、ストラーツと言ってられないので、さくっと解決策を考える。まず、やりたいこと。 複数フィールドの合計が○○文字まで (例 : 住所1、住所2の合計が80文字以内) 複合して出来る値が検証ルールに従う (例 : 複数フィールドに分かれた年月日) 一つ入力すると、他も全部入力が必須 (例 : 3つのテキストフィールドに分かれ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcero-t.hatenadiary.jp%2Fentry%2F20060526%2F1148663171&quot; title=&quot;複数フィールドバリデータ考 - 谷本 心 in せろ部屋&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>2006-05-26 02:06:11</published>
  <title>複数フィールドバリデータ考</title>
  <type>rich</type>
  <url>https://cero-t.hatenadiary.jp/entry/20060526/1148663171</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
