Small problem, I am using the LookupDispatchAction to handle multple
actions, SAVE, DELETE etc. In my JSP page i have a 'submitAction' text
field. When the value of 'supplierNumber' has been entered the 'onchange'
event will set the 'submitAction' field to the value 'SEARCH' and then
submit the form. The LookupDispatchAction then uses this 'submitAction'
value to determin what action to take.
The problem I have is that the field doesn't seem to change value, anyone
got any ideas???????
Heres is the JSP page:-
...
...
...
function setAction(target) {
document.forms[0].submitAction.value=target;
document.forms[0].submit();
}
...
...
<input type="text" name="submitAction" maxlength="10" size="10" value="">
<input type="text" name="supplierNumber" maxlength="07" size="07"
value="123" onchange="javascript:setAction('SEARCH')">
...
...
<input type="submit" name="submitAction" value="SUMMARY">
<input type="submit" name="submitAction" value="LINE ITEMS">
...
...
********************************************************************************************
" This message contains information that may be privileged or confidential and
is the property of the Cap Gemini Ernst & Young Group. It is intended only for
the person to whom it is addressed. If you are not the intended recipient, you
are not authorized to read, print, retain, copy, disseminate, distribute, or use
this message or any part thereof. If you receive this message in error, please
notify the sender immediately and delete all copies of this message ".
********************************************************************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>