[jboss-user] [JBoss Portal] - Re: Errors when trying to edit JSF admin pages with custom c

jl7791 do-not-reply at jboss.com
Fri Mar 28 16:51:23 EDT 2008


I should also add that I get the same exception if I replace this:


  | public List<SelectItem> getCustomerNames() {
  | 		if (customerNames == null) {
  | 			customerNames = initNames();
  | 		}
  | 		
  | 		return customerNames;
  | 	}
  | 

with this:


  | public List<SelectItem> getCustomerNames() {
  | 		customerNames.add(new SelectItem("1", "Red Hat"));
  | 		customerNames.add(new SelectItem("2", "Apple"));
  | 		return customerNames;
  | 	}
  | 

What could my issue be?

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

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



More information about the jboss-user mailing list