> -----Original Message-----
> From: Andrew Close [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 15, 2004 12:30 PM
> To: Struts Users Mailing List
> Subject: Re: <html:select><html:optionsCollection>
>
>
> the weird thing is that i just added a textfield to the form and my
> form/action picks that up. so what do you have to do to get
> <html:select><html:options> read by a form?
Virgin sacrifice sometimes works.......
>
> andy
>
>
> On Thu, 15 Jul 2004 13:56:48 -0500, Andrew Close
> <[EMAIL PROTECTED]> wrote:
> > sl_getGroups is being called. i printed out alerts when i
> was writing
> > it. and i have Sys.outs in the action. besides, my JSP
> wouldn't show
> > up if it wasn't :)
> >
> > the javascript is fairly simple: (i know there is a more
> Strutsy way
> > to do this, i'm getting there...)
> >
> > function sl_getGroups(frm) {
> > if
> (frm.selectedShoppingList.options[frm.selectedShoppingList.sel
> ectedIndex].value
> > != "-1") {
> >
> frm.selectedShoppingList.options[frm.selectedShoppingList.sele
> ctedIndex].value
> > = "-1";
> > frm.action += "?step=getGroups";
> > frm.submit();
> > }
> > }
> >
> > the javascript just checks to see that the
> selectedShoppingList is not
> > "-1", the initial value. it then appends my step parameter to the
> > action. this is working. what is funny is that the javascript
> > recognizes that the selectedShoppingList is not "-1", but the form
> > doesn't pick that up...
> >
> > any suggestions?
> >
> > andy
> >
> >
> >
> >
> > On Thu, 15 Jul 2004 14:36:14 -0400, Bill Siggelkow
> > <[EMAIL PROTECTED]> wrote:
> > > Hmmm ... looks pretty darn hairy. You didn't show the
> JavaScript thats
> > > called by the onchange -- I would verify first that
> "getGroups" is
> > > being called.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]