JSF 2自定义范围用法 [英] JSF 2 Custom Scope usage

查看:147
本文介绍了JSF 2自定义范围用法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究JSF2.0中的所有范围.我对何时使用自定义范围感到困惑.任何特定的用例都将是有用的.

I am going through all the scopes in JSF2.0. I am a little confused about when to use custom Scope. Any specific use cases it will be useful.

最初,我认为我可以将其用于跨多个页面的范围,例如三页注册等.但是看来我们不能在那里使用它.

Initially I thought I can use it for scope spanning multiple pages like three page registration etc. But looks like we cannot use it there.

推荐答案

迟到总比没有好:我写了一篇有关JSF2中用法自定义范围的文章:

Better late than never: I wrote an article about the usage custom scopes in JSF2 : JSF 2 Custom Scopes without 3rd party libraries

这篇关于JSF 2自定义范围用法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆