Forums: Open Discussion (Thread #22975)

【WEB】カレンダの年・月のプルダウンが効かない (2009-06-03 21:08 by Anonymous #44189)

いつもお世話になっております。

【環境】
TERASOLUNAのWeb版(2.0.1.0)を使用させていただいております。
クライアントはIE6を使用しています。
※FireFoxでは本事象は起こりませんでした。

【事象】
カレンダタグ機能(<t:inputCalendar>)を使用している画面(form)に、
"event"という名前のプロパティがあると、カレンダの年・月の
プルダウンを指定しても、カレンダが切り替わらず閉じられてしまいます。

【原因】
おそらく、原因としては、「InputCalendar.js」にある
> event.hogehoge~
というコードの箇所で、キーイベントの代わりに、
IEが"event"というプロパティを拾ってしまい、
「jscalendarBShow」というフラグのtrue、falseが正常に
切り替わらないからと思われます。

【対策】
「InputCalendar.js」にある
> event.hogehoge~
というところを、
> window.event.hogehoge~
として、正しくキーイベントを拾うようにしてあげると良いようです。

【事象再現方法】
functionsampleのカレンダ機能(functionsample-thin/webapps/calendar/sc2501.jsp)
に、
> <input type="hidden" name="event"/>
と付けて、カレンダを表示させると切り替わらないことが簡単に確認できます。


※おそらく程度しか原因は追っていないので(javascriptデバッグ大変なんですもの・・・)、
担当者様は詳細な調査をお願いいたします。

以上です。よろしくお願いいたします。

Reply to #44189×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login