【问题标题】:How to save ice:panelpopup renedered after refreshing page in icefaces?如何保存ice:在icefaces中刷新页面后重新生成的panelpopup?
【发布时间】:2011-05-01 19:43:36
【问题描述】:

http://www.icefaces.org/main/downloads/os-downloads.iface登录后点击任何下载链接会打开一个模态面板弹出窗口,如果整个页面刷新,模态弹出窗口仍然打开,这是怎么回事?!

【问题讨论】:

    标签: java jakarta-ee jsf-2 icefaces


    【解决方案1】:

    为此,您可以在支持 bean 中使用渲染变量并将其设置为 true。

    像这样:

    JSF 文件(Bean1.jsf): ... ... ... ...

    Bean 文件(Bean1.java):

    进口.. .. 公共类 Bean1 { ... ... 私有布尔 isrendered = false; 公共无效setIsrendered(布尔b){ this.isrendered = b; } 公共布尔 getIsrendered() { 返回 this.isrendered; } ...
    ... }

    祝你好运!

    【讨论】:

      猜你喜欢
      • 2010-12-04
      • 2012-06-12
      • 1970-01-01
      • 1970-01-01
      • 2015-11-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-12-15
      相关资源
      最近更新 更多