[jboss-user] [JBoss Seam] - Re: h:selectManyCheckbox and enums

stu2 do-not-reply at jboss.com
Fri Mar 9 03:25:03 EST 2007


I now have a string [] receiving the checkbox values, so the previous post's bean looks like this:


  |     private String [] validationCategories;
  | 

And the page renders properly, showing all of the checkboxes.  If I don't check any and click "Continue", the button's listener gets called, the value method gets called (setting 0 selections of course)


  | <h:selectManyCheckbox id="productTypolios" value="#{feedMapping.validationCategories}">
  | 

And all looks well.  The moment I check any boxes though, it's as if the apply model values phase is never hit - nothing in the bean is called at all though.  And I struggling with how to debug this.

So, what I'd prefer is to get suggestions on how I can figure it out myself.    I'm a JSF newbie, and though I'm reading everything I can get my hands on, some of this stuff is a little bumpy at first.

Thanks!

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

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



More information about the jboss-user mailing list