• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Primeface & Webflow How to define variable for rerender same page

Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
[Thumbnail for screen-primeface.png]
I like you because you always keep good, crunchy cereal in your pantry. This tiny ad agrees:
a bit of art, as a gift, the permaculture playing cards
    Bookmark Topic Watch Topic
  • New Topic