posted 6 years ago
Hi all,
I find out below things:
Within the form, if i put <s:fielderror fieldName="loanForm.loanAmountDesired"/> the top, it will show.
Am I put loanForm.xxxx as the fieldName the reason??
However, If I changed the name of s:textfield and s:fielderror to be xxxxxxx without loanForm.xxx, it still cannot.
--> No shown.
<s:bean name="com.aeon.onlineapplications.struts.form.LoanForm" var="loanForm">
<s:fielderror fieldName="loanForm.loanAmountDesired"/>
--> But if below, it will show.
<s:fielderror fieldName="loanForm.loanAmountDesired"/>
<s:bean name="com.aeon.onlineapplications.struts.form.LoanForm" var="loanForm">