[VELOCITY-2] another-s2velocityのマージ Created: 2006-05-30 Updated: 2006-10-03 Resolved: 2006-10-03 |
|
Status: | Resolved |
Project: | S2Velocity |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | 1.2 |
Type: | New Feature | Priority: | Major |
Reporter: | tanigon | Assignee: | tanigon |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Description |
another-s2velocity は toolbox.xml 自体をなくして s2container配下のコンポーネントを このソースを S2Velocityのtrunkマージする。 |
Comments |
Comment by tanigon [ 2006-10-03 ] |
exampleの整備は必要であれば別課題として、1.2で統合予定ということで リリースしたら他のResolvedも含めて、一気にクローズしちゃいましょう |
Comment by tadayosi [ 2006-10-02 ] |
あ、なるほど。ボケておりました(^^; |
Comment by tanigon [ 2006-10-02 ] |
また言葉足らずでした。 valueが container の時は「コンテナマネージド」で、 /WEB-INF/toolbox.xml とか従来の値なら、 |
Comment by tanigon [ 2006-10-02 ] |
個人的には org.apache.velocity.toolbox のパラメータ名のほうがいいような気がします。 web.xmlのキーは一緒のほうがいいのかなあ、とぼんやり思いました。 |
Comment by tadayosi [ 2006-10-02 ] |
web.xmlで設定できるの賛成です。コンテナマネージドもいいと思います。パラメータ名ですが、
と
どっちがいいでしょう。(後者ですかね・・・) |
Comment by tanigon [ 2006-10-02 ] |
しまった、 <servlet-class>org.seasar.velocity.tools.S2VelocityViewServlet</servlet-class> でしたね... |
Comment by tanigon [ 2006-10-02 ] |
ContainerBasedToolboxManager というクラスを追加しました. <servlet> <servlet-name>velocity</servlet-name> <servlet-class>org.apache.velocity.tools.view.servlet.VelocityViewServlet</servlet-class> <init-param> <param-name>org.apache.velocity.toolbox</param-name> <param-value>container</param-value> </init-param> <load-on-startup>10</load-on-startup> </servlet> というweb.xmlだった場合にはコンテナマネージド(即席単語)になるようにしてみました。 佐藤さん:意見ください~ |