Primeface & Webflow How to define variable for rerender same page
posted 4 years ago
I am developing a application for a school.This application purely design in spring-webflow and primefaces. I have a page where User can add multiple fee received from Student. For that I have design the below page see the attachment.
If you see in that page, Use can select fee, noOfInstallment and amount and then click AddFee button. After clicking that button we fired "addFee" action then below table re rendered. After that user can add more fee for the same Student.
It works for me for one time, when I tried to click addFee on second time am getting below error. Error : "Method call: Method addFee(org.springframework.faces.model.OneSelectionTrackingListDataModel,com.witness.myschool.dto.StudentFeePaymentDto) cannot be found on com.witness.myschool.web.domain.StudentFeePaymentController type"
For above functionality I have defined following webflow .xml
I think I have not defined the scope variable properly. Please let me know pointer to fix the issue.