Created
October 9, 2015 18:40
-
-
Save Guvenir/525b263c6160562e141d to your computer and use it in GitHub Desktop.
Jsf form sorunu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p:dialog id="Test" header="Test" widgetVar="dlg" modal="true" showEffect="fade" hideEffect="fade" resizable="false"> | |
<p:outputPanel> | |
<h:form> | |
<p:panelGrid columns="2" columnClasses="label,value"> | |
<h:outputLabel value="Tarih" /> | |
<p:calendar locale="tr" pattern="MM/dd/yyyy HH:mm" value="#{testBean.test.tarih}"/> | |
<h:outputLabel value="İlaç" /> | |
<p:inputText value="#{testBean.test.ilac}"/> | |
<h:outputLabel value="Durum"/> | |
<p:selectOneMenu id="cons" value="#{testBean.durum}" style="width:96%"> | |
<f:selectItem itemLabel="Yapılmadı" itemValue="Yapılmadı" /> | |
<f:selectItem itemLabel="Yapıldı" itemValue="Yapıldı" /> | |
</p:selectOneMenu> | |
<h:outputLabel value="Not" /> | |
<p:inputTextarea value="#{testBean.test.dnot}"/> | |
<f:facet name="footer"> | |
<p:commandButton value="Kaydet" style="float: right" process="@form" action="#{drugBean.saveAllDrug()}" /> | |
</f:facet> | |
</p:panelGrid> | |
</h:form> | |
</p:outputPanel> | |
</p:dialog> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment