Marco, Using request parameters is absolutely not the right way to do it. Your original concept is correct, it seems like it just needs some tweaking. To tell you the truth, I'm not really sure why you are using Seam to create your Item instances in the first place. Try removing the @In(create=true) annotation from your Item leaving the item = new Item() statement and then in your add method after expense.addItem(item) add the statement item = new Item();. I have a feeling that what was happening is that a new Item instance was getting injected after JSF data binding had occured thereby overwriting anything that came in from the page. Let me know how that works out.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949721#3949721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949721 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
