I 일부 세부 정보를 입력하는 양식이 있으며 모든 세부 사항이 중요하고 중요합니다. required = true를 사용하여 필수 정보를 놓치지 않았는지 확인했지만 제출 버튼을 클릭하면 유효성 검사 단계가 건너 뜁니다.유효성 검사 단계 무시
어떻게해야합니까?
<h:panelGrid id="offline" columns="2" cellspacing="5"
cellpadding="4" style="position:relative;top:25px;left:40%;">
<p:outputLabel value="Cheque/Draft No :"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 15px;height:23px;widht:255px;'></p:outputLabel>
<p:outputLabel value="Cheque/Draft Date :"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 15px;height:23px;widht:255px;'></p:outputLabel>
<p:inputText id="number"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 13px;height:20px;widht:320px;'
value="#{Offline_Payment.chequedraftno}" required="true"
requiredMessage="Please Enter The Details">
<p:ajax process="@this" immediate="true"></p:ajax>
</p:inputText>
<p:calendar id="date"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 13px;height:20px;widht:320px;'
pattern="yyyy-MM-dd" disabledWeekends="true" navigator="true"
value="#{Offline_Payment.chequedraftdate}"
title="Please Enter the date in yyyy-MM-dd" required="true"
requiredMessage="Please Enter The Details">
</p:calendar>
<p:outputLabel value="Bank Name :"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 15px;height:23px;widht:255px;'></p:outputLabel>
<p:outputLabel value="Bank Code :"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 15px;height:23px;widht:255px;'></p:outputLabel>
<p:inputText id="banknane"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 13px;height:20px;widht:320px;'
value="#{Offline_Payment.bankname}" required="true"
requiredMessage="Please Enter The Details">
<p:ajax process="@this" immediate="true"></p:ajax>
</p:inputText>
<p:inputText
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 13px;height:20px;widht:320px;'
value="#{Offline_Payment.bankcode}" required="true"
requiredMessage="Please Enter The Required Details">
<p:ajax process="@this" immediate="true"></p:ajax>
</p:inputText>
<p:commandButton value="Cancel"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 14px;'
immediate="true"
action="/User/orderdetail.xhtml?faces-redirect=true"></p:commandButton>
<p:commandButton value="Proceed"
style='font-family: font-family : Baskerville, "Baskerville Old Face",
"Hoefler Text", Garamond, "Times New Roman", serif;;
font-size: 14px;'
action="#{Offline_Payment.offline}" update="@this,growl"
immediate="false" validateClient="true" process="@this"></p:commandButton>
</h:panelGrid>