我有一个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页面中有一个日历,我希望得到他的价值,当它改变我试图添加监听器但没有工作我发现其他解决方案,但没有使用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