• 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic