On Fri, 31 Dec 2004 11:26:47 +0200, dsarris <[EMAIL PROTECTED]> wrote: > On Thu, 30 Dec 2004 09:23:28 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > From: "dsarris" <[EMAIL PROTECTED]> > > > I am trying to use the <html:select> tag with the > > > <html:optionscollection> tag. > > > Do I have to put the collection property inside the form bean of the > > > form that contains the <html:select>? > > > > The docs say if you leave off the 'name' attribute, the framework will look > > to the enclosing form bean. So use 'name' to tell it which bean to use. > > > > Is there a reason to use <html:optionsCollection> over <html:options > > collection="..."> ? Just curious, I use the second one: > > > > <html-el:select property="type"> > > <html-el:options collection="contactTypes" property="key" > > labelProperty="value"/> > > </html-el:select> > > (Where contactTypes is a Map sitting in Application scope.) > > > > -- > > Wendy Smoak > > I managed to fixed it using the name attribute. Thank you. > > However, where is a distribution of the strus-el library? I am using > struts 1.2.4 and I have not found it! > Why is better to use the struts-el? > > -- > Dimitris Sarris > I found them in the contrib directory ;-). However, I have not found documentation regarding the struts-el extention yet.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]