Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
<p:dialog id="dialogId" widgetVar="dlg" fixedCenter="true" visible="false" modal="true" constrainToViewport="true"
styleClass="yourPanelStyle">
....// CONTENT
</p:dialog>
<h:form>
<p:commandButton action="#{ backingBean.someAction}" value="Klick me!" onclick="dlg.show();"/>
</form>
<head>
<script type="text/javascript">
// JS- CODE
</script>
</head>
<h:form id="pdForm">
[...]
<t:column>
<h:inputTextarea [...] />
<h:outputText id="tolong" style="display:none"/>
</t:column>
[...]
</h:form>
function visible() {
document.all.pdForm:tolong.style.display="inline"
}
function invisible() {
document.all.pdForm:tolong.style.display="none"
}