• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

JSF form problems

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello and I was just wondering if anybody could help me with this problem.....
I have this piece of code and I have no clue why it is not working. It is a Line item JSF page where the user can add line items as necessary but my problem is that when the user clicks add line a new line is posted with the default values and not the forms values any way here is the code for the managed bean class


And the code for the JSF page

I have all getters and setters for the ServiceLineItemInvoice class
Thanks John
 
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This code seems rather elaborate. Is it new or has it been working but now doesn't? You talk about the "user clicking" which sounds like it is in production and, therefore, used to work. Please post the faces-config.xml file (or whichever xml file controls the JFS workflow) and explain the workflow. Also post any other code that is relevant, I see you have a System.out line. Does it display in the log file or console?
 
Everyone is a villain in someone else's story. Especially this devious tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic