Hi

Thanks for the responses.

In order to get my first approach to work, just remove the 'action'
attribute from the popup and put it on the form itself. Also I have to
set the multipleSubmit to 1, even though I only have one button in the
form (not doing so originally forced me to move the action to the popup
and then setting multipleSubmit to 1).

Basically this is what I ended up with:

-- html --

<WEBOBJECT NAME=Form1>
Select something: <WEBOBJECT NAME=PopUpButton1></WEBOBJECT>
<WEBOBJECT NAME=Generic1><WEBOBJECT
NAME=SubmitButton1></WEBOBJECT></WEBOBJECT>
</WEBOBJECT>

-- wod --

Form1: WOForm 
{
  action = doSelect;
  multipleSubmit = 1; 
}

Generic1: WOGenericContainer 
{ 
  elementName = "NOSCRIPT";
}

PopUpButton11: WOPopUpButton 
{ 
  item = anItem; 
  list = aList;
  onChange = "submit()";
  selection = currentItem;
  value = anItem.anAttribute;
}

SubmitButton1: WOSubmitButton 
{ 
  action = doSelect; 
  value = "Select";
}

Reply via email to