Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Primeface & Webflow How to define variable for rerender same page

 
Shahid Pathan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
screen-primeface.png
[Thumbnail for screen-primeface.png]
Primefaces
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic