wood burning stoves 2.0*
The moose likes JSF and the fly likes JSF form problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF form problems" Watch "JSF form problems" New topic
Author

JSF form problems

John Fivekiller
Greenhorn

Joined: Jun 18, 2010
Posts: 1
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
Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
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?
 
 
subject: JSF form problems