On Mon, 3 Jan 2005 11:16:16 +0200, dsarris <[EMAIL PROTECTED]> wrote: > Hi all and happy new year, > > I am trying to fill an ActionForm with values that are neither Strings > or primitives. The specified values are selected using the > <html:select> tag. This a sample of my JSP code: > > <html:form action="/sumbit.do"> > <html:select property="selectedAthlete"> > <html:optionsCollection > name="controlPanelValues" > property="athletes" > label="name" > value="value" /> > </html:select> > <html:submit>
What about something like <html:select property="selectedAthlete"> <html:optionsCollection name="controlPanelValues" property="athletes" label="name" value="athleteId" /> </html:select> where athleteId is a primary key of "Athlete"? Pavel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]