1

I want to migrate a project which is in icefaces 1.7.2 to icefaces 2.0.0. But i am facing problems with binding. Because the entire project uses binding for each and every UI component and it uses request scope in older version. If i want to migrate it, i need to convert the request scope bean to view scope bean. if i do so, binding is not working and it results in unwanted output.

So kindly suggest me a solution to migrate the icefaces 1.7.2 project to icefaces 2.0.0 without using binding or any other ways to migrate the project.

And also window or session scopes are not useful because it consumes more amount of memory space for each user while more number of users access the webpages concurrently.

4

2 に答える 2

2

JSF 2.0 および 2.1 では、タイミングの問題により、ビュー スコープでコンポーネント バインディングを使用できません。

コンポーネント ツリーのビルド時にバインドが解決されますが、ビュー スコープは、ビルド後に発生するビュー ステートが適用されるまでアクティブになりません。

これは JSF 2.2 で修正されていますが、まだリリースされていません。冒険好きなら、ナイトリー ビルドを試すことができます。

于 2012-03-01T19:14:54.397 に答える
0

または、SessionBean を使用できます... jsf 2.2 がリリースされるまで

于 2013-01-11T03:23:56.173 に答える