現在表示されているページに基づいて ajax タグを使用したいと思います。JSF 2 と Primeface 3.5 を使用しています
If (currentPage = pageOne.xhtml){ 何かをする } else { 何か違うことをする }
私のソースは次のようになっています。
<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.org/ui"
    xmlns:m="http://java.sun.com/jsf/composite/components/mmnet"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <h:form id="customerSearchForm">
....
...
<c:if test=" ">
<p:ajax event="rowSelect" oncomplete="initInfoPage();"/>
</c:if>
....
...
中の正しい表現は何ですか?
テスト= ...
現在表示されているページを取得する方法はありますか?
よろしくLStrike