Rodney Paul wrote:
Hi All,
I have a problem in regards to the LookupDispatchAction Struts class.
My problem is in regards to a user pressing the "Enter" key on a keyboard. In this scenario, a form submit has been activated via html, with no submit buttons having been pressed. When Struts see's this, the Struts engine displays a java error indicating that the parameter being used for lookup's doesnt exist in the request.
Now is there a way of indicating to Struts that if the user presses the "Enter" key a default action will occur. In other words, without using Javascript for trapping the "Enter" key, is there a way to tell struts to execute a default method if the user presses the "Enter" key. In particular a descriptor value indicating the default method to execute.
If possible could anyone help me with a solution to this problem.
Cheers Rodney Paul
ps. Could Ted Husted please have a look at this.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]