<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>den2sn</author_name>
  <author_url>https://blog.hatena.ne.jp/den2sn/</author_url>
  <blog_title>DENの思うこと</blog_title>
  <blog_url>https://den2sn.hatenablog.com/</blog_url>
  <categories>
    <anon>java</anon>
  </categories>
  <description>JSF 2.2でf:viewActionというコンポーネントが追加されています。 基本はJSF 2.0で初期画面表示時に処理を動作させる時に使っていた f:eventのpreRenderViewと同じなのですが微妙に違うところがあります。 まずは単純に呼び出された回数をカウントするバッキングビーンを作ります。 package sample; import javax.faces.view.ViewScoped; import javax.inject.Named; @Named @ViewScoped public class ViewAction { private int count = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fden2sn.hatenablog.com%2Fentry%2F2013%2F06%2F24%2F221358&quot; title=&quot;JSF 2.2ではf:eventのpreRenderViewではなくf:viewActionを使う？ - DENの思うこと&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/d/den2sn/20130624/20130624213717.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-06-24 22:13:58</published>
  <title>JSF 2.2ではf:eventのpreRenderViewではなくf:viewActionを使う？</title>
  <type>rich</type>
  <url>https://den2sn.hatenablog.com/entry/2013/06/24/221358</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
