JSF,Apache Myfaces の拡張で、カレンダー入力を popup するやつがあるけど、
これが週番号が表示されて、格好わるい。
そこで、週番号を非表示にしようと思ってタグ属性を調べたのだが、
どうも非表示にする属性はないようで、直接、JAR の中で、
カレンダーを作成してるところをないようである。
tomahalk jar を展開して、以下のJavaScript ソース、
src/org/apache/myfaces/custom/calendar/resource/popcalendar.js
にある、this.showWeekNumber を 初期値、0 として、JARを作り直せば、非表示にできる。
以下の箇所である。
org_apache_myfaces_CalendarInitData = function()
{
this.fixedX = -1;
// x position (-1 if to appear below control)
this.fixedY = -1;
// y position (-1 if to appear below control)
this.startAt = 1;
// 0 - sunday ; 1 - monday
//this.showWeekNumber = 1;
this.showWeekNumber = 0;
// 0 - don't show; 1 - show