[jboss-user] [JBoss Seam] - Re: selectManyCheckbox

JUnkie do-not-reply at jboss.com
Tue Jul 31 12:29:06 EDT 2007


Thanks again Pete.

I have made sure that Client.getPaymentmethods() is called and returns the correct list. It is called for each item in allPaymentMethods.resultList. So if there are three items in allPaymentMethods.resultList the following debug version of Client.getPaymentmethods() returns the output below if the Client has selected two PaymentMethods (MASTERCARD and VISA):

public List<PaymentMethod> getPaymentmethods() {    
  |     for (PaymentMethod p : paymentmethods){
  |       System.out.println(p.getId() + " " + p.getCode());
  |     }
  |     return paymentmethods;
  | }


18:21:00,739 INFO  [STDOUT] 1 MASTERCARD
18:21:00,739 INFO  [STDOUT] 2 VISA
18:21:00,739 INFO  [STDOUT] 1 MASTERCARD
18:21:00,739 INFO  [STDOUT] 2 VISA
18:21:00,739 INFO  [STDOUT] 1 MASTERCARD
18:21:00,739 INFO  [STDOUT] 2 VISA

My checkboxes are just empty.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069258#4069258

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069258



More information about the jboss-user mailing list