小编mar*_*che的帖子

如何在应用程序名称后隐藏JSF URL?

我有一个jsf应用程序,我想隐藏网址,并在页面之间切换时只保留URL中的应用程序名称.

这就是我拥有的网址:

> http://localhost:8080/PlanificationDrapageWeb/faces/admin/adminHome.xhtml
> http://localhost:8080/PlanificationDrapageWeb/faces/cuisson/Home.xhtml
Run Code Online (Sandbox Code Playgroud)

这就是我想要的总是:

> http://localhost:8080/PlanificationDrapageWeb/
Run Code Online (Sandbox Code Playgroud)

我怎么能得到这个结果?

jsf java-ee

5
推荐指数
1
解决办法
9163
查看次数

如何在托管bean中获取primefaces日历的值?

我在我的jsf页面中有一个日历,我希望得到他的价值,当它改变我试图添加监听器但没有工作我发现其他解决方案,但没有使用primefaces 3.5:

   <p:calendar id="popupButtonCal22" value="#{zp01ManagedBean.datedeplanification}" showOn="button" locale="fr"  >
<p:ajax listener="#{zp01ManagedBean.setDatedeplanification(zp01ManagedBean.datedeplanification)}"/>   
                </p:calendar>
Run Code Online (Sandbox Code Playgroud)

你知道如何解决这个问题吗?

我正在使用primefaces 3.5

jsf primefaces

0
推荐指数
1
解决办法
1万
查看次数

标签 统计

jsf ×2

java-ee ×1

primefaces ×1