• 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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic