-JSF1.2

JSR252で議論中のJSF1.2は、昨日取り上げたJSP2.1と対になるものということです。

JavaServer Faces 1.2 provides a minimal enhancement of the JavaServer Faces 1.1 specification. It is not a new feature JSR. The primary goal of this JSR is handling the Faces side of the JSP/Faces alignment issues addressed in the parallel JSR-245. Please consult that JSR for details on the primary goal. Following is a list of secondary goals that will be addressed only if the primary goal is reached, and only if they can be addressed without delaying the schedule.

「the primary goal」ですがJSR245(JSP2.1)との関係を語っています。その内容は、

  • enhancements to provide an interim solution to the content-interweaving problem described at http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html
  • provide XML Schema for the config files, instead of using DTD
  • enhancements to allow faces applications to handle multi-frame, or multi-window UI designs * enhancements to the f: tag library for improved TCK coverage, f:view lifetime events, and other small features
  • enhancements to the decorator support for API objects
  • security enhancements for client side state saving
  • solve the "duplicate button press" problem
  • re-organize the spec into normative, and non-normative sections, to make implementation easier.
  • portlet related bug-fixes
  • bug fixes that require minimal spec changes

1番目はJSPページにJSFカスタムタグを貼りこんだ時にユーザーの期待していない挙動をする件についてJSF側で対応するということですから、Maya的には待ってればよいということになるかと思います。URLの記事は相当影響力があるようですね。みなさんにも一読をお勧めします。記事ではJSPページに張り込んだJSFタグの挙動の期待しない動きについて例を列挙していて、記事の著者いわく恐ろしいことに「There are many other examples like this」らしい。
2番目のXMLスキーマは特に大きな問題ではありません。
3番目のフレーム対応タグシリーズはStrutsみたいなヤツかなと想像してます。モノをみないとなんともいえませんが、たぶんMaya的には問題ないでしょう。
4番目は具体的にモノをみないとなんともいえない。それよりもAPIオブジェクトを抽象クラスからインターフェイスに変えたほうがいい気がしますが。。。
5番目はたぶんMaya的には特に影響ないと思います。JSFのクライアント側に情報を置くやり方において、hiddenのタグの値を暗号化してこっそり書き出しておくとかいう話題だと思ってるので。
6番目はカスタムタグにJavaScriptを仕込む話なのかな?不明。
7番目はまったく何のことか私にはわからないのですが、JSFの開発便利性をあげる仕組みということで、表層への関係はモノみないとわからんかなと。
8番目・9番目はポートレットのバグFIXなので置いておきます。

  • This specification targets the J2EE 5.0 Platform. It will be based on the corresponding release of the J2SE platform.

ということで、こちらもいつになるんでしょうか。