Seasar-user:3372 myfacesとカレンダについて

S2JSF1.0.13のexampleに以下を追加する事で動作確認出来ました。
まず以下のようなHTMLを作成

<html xmlns:m="http://www.seasar.org/maya">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-31j" />
<title>calndar test</title>
</head>
<body>
<form>
<span m:inject="x:inputCalendar" m:renderAsPopup="true"/>
</form>
</body>
</html>

jsf.diconに以下を追加

<initMethod name="addTaglibUri">
    <arg>"x"</arg>
    <arg>"http://myfaces.sourceforge.net/tld/myfaces_ext_0_9.tld"</arg>
    ↓MyFaces1.1.1の場合は以下の設定↓
    <arg>"http://myfaces.apache.org/tomahawk"</arg>
</initMethod>

web.xmlに以下を追加

<filter-mapping>
  <filter-name>extensionsFilter</filter-name>
  <url-pattern>/faces/*</url-pattern>
</filter-mapping>

最後のweb.xmlのfilterについては、レンダリングされたHTMLの以下の部分のリソースの指定を見れば分かります。

<script src="/s2jsf-example/faces/myFacesExtensionResource/calendar.HtmlCalendarRenderer/1113412660000/popcalendar.js"
     type="text/javascript"></script>

これでIE, Firefox, Opera, Netscapeで動作確認OK。
# MyFaces1.1.1を使用する際には、commons-lang-xxx.jarが必要。