aspose file tools*
The moose likes Spring and the fly likes Primeface & Webflow How to define variable for rerender same page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Primeface & Webflow How to define variable for rerender same page" Watch "Primeface & Webflow How to define variable for rerender same page" New topic
Author

Primeface & Webflow How to define variable for rerender same page

Shahid Pathan
Greenhorn

Joined: Dec 28, 2010
Posts: 23
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.



[Thumbnail for screen-primeface.png]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Primeface & Webflow How to define variable for rerender same page