My favorites | Sign in
t-2
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 245: SimpleContainerAdapterでコンポーネントを初期登録できるようにする
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  shinpei.ohtani@gmail.com
Closed:  Aug 2009


 
Project Member Reported by shinpei.ohtani@gmail.com, Aug 11, 2009

SimpleContainerAdapterで現在T2内部のコンポーネントを
差し替えて拡張することができないため、web.xmlを使った簡単な初期登録の仕組み
を入れる。


Aug 12, 2009
Project Member #1 shinpei.ohtani@gmail.com
実装済み。
あとはユーザさんの確認待ち状態です。

仕様としては、

       <filter>
               <filter-name>t2</filter-name>
               <filter-class>org.t2framework.t2.filter.T2Filter</filter-class>
               <init-param>
                       <param-name>t2.rootpackage</param-name>
                       <param-value>examples.page</param-value>
               </init-param>
               <init-param>
                       <param-name>t2.exclude-resources</param-name>
                       <param-value>css, js, png, gif, jsp, jar</param-value>
               </init-param>
               <init-param>
                       <param-name>t2.components</param-name>
                      
<param-value>org.t2framework.t2.action.impl.ActionInvokerFactoryImpl</param-value>
               </init-param>
       </filter>

のようにSimpleContainerAdapterの場合のみ、web.xmlにコンポーネントを足せるようにしました。
Aug 12, 2009
Project Member #2 shinpei.ohtani@gmail.com
確認OKだったのでクローズします.
Status: Fixed

Powered by Google Project Hosting