EOS标签的scope属性决定从requestContext,flowContext或sessionContext中获取数据

如果获取页面流参数时,要加上scope="flow"

如果从上下文获取数据,scope="request",默认缺省

从session中获取数据,scope="session"

例如<h:hidden property = "flag" scope = "flow">页面流级别的flag

  <h:hidden property = "flag" scope = "request">上下文参数flag,通常scope = "request"省略

  <h:hidden property = "flag" scope = "session">

程序运行结束。页面流中的requestContext和flowContext被销毁,但是因为仍在一个HTTP会话中,sessionContext还存在

相关文章:

  • 2022-02-20
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2021-07-01
  • 2022-02-03
猜你喜欢
  • 2021-11-15
  • 2021-09-14
  • 2021-04-06
  • 2021-05-26
  • 2022-02-01
  • 2021-10-24
  • 2022-12-23
相关资源
相似解决方案