Hi. Thank you for the reply. I think I did much of what you said. I created an Integer called value and a Collection of Integers called "values". All of that works ok. In fact, here is the code I used
<h:selectOneListbox size="5" value="# {form.value}"> <f:selectItems value="#{form.values}"/> </h:selectOneListbox> My question is, how do I get UserNumberBean.userNumber assigned the value of form.value? -pk On May 7, 2:27 pm, Biljana Biljana <biljana_b...@yahoo.com> wrote: > Hello! > you have value that point in some UserNumberBean property like newNumber, > that property have get and set method, you need one new numberItems too,or > simplier looke what is done in LAB exersise with birth data, take a good > look and that will explain everything to you. Yes you have to change > response, because you need new response for newNumber property. > > Regards, > Biljana > > --- On Thu, 5/7/09, pxk5...@njit.edu <pxk5...@njit.edu> wrote: > > From: pxk5...@njit.edu <pxk5...@njit.edu> > Subject: [java ee programming] JSF tags homework > To: "Java EE (J2EE) Programming with Passion!" > <java-ee-j2ee-programming-with-passion@googlegroups.com> > Date: Thursday, May 7, 2009, 10:45 AM > > I am attempting to do the JSF tags homework. My question is, how do I > get the selected value assigned to the UserBean? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---