1-) JSF - İNPUTHİDDENİN POPUP ŞEKLİNDE KULLANIMI DİALOG PENCERE
1-)index.xhtml içi
<h:body>
<script type="text/javascript">
function pencereyiac(){
alert(document.getElementById('form:inputpencere').value);
}
</script>
<h:form id="form">
<h:inputHidden id="inputpencere" value="pencere açıldı"/>
<h:commandButton value="tıkla" onclick="pencereyiac()" />
</h:form>
</h:body>