File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Primeface & Webflow How to define variable for rerender same page

 
Shahid Pathan
Greenhorn
Posts: 23
  • 0
  • 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
Primefaces
[Thumbnail for screen-primeface.png]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic