TimeZoneユーザーの に別のベースを使用したいと思いますTimeZone。
質問:またはにデフォルトを設定する機能はありますJSFかSeam? アプリケーション全体に影響します。
属性を使用せずに使用するたびに、機能が効果、、、などにs:convertDateTimeなることを願っています。f:convertDateTimep:calendartimezone
また、以下のようにSeamコンポーネントを使用しようとしました。TimeZoneSelector
@In
private TimeZoneSelector timeZoneSelector;
....
timeZoneSelector.setTimeZone(user.getTimeZone());
<f:convertDateTime pattern="hh:mm a"/>ただし、自動的には影響しません。TimeZoneフォーム バッキング Bean を再度取得する必要があります。
<f:convertDateTime pattern="hh:mm a" timeZone="#{mybean.timeZone}"/>