Hi,

I have the following code within a jsp:

<html:submit property="dispatch">
    <bean:message key="button.update"/>
</html:submit>

When the user clicks on the 'Update' button it goes off and updates
the record as you would expect.

The problem I'm having is that every time the user presses the 'enter
key' to submit the form it results in an error:

Request[/secure/admin/programmeAction] does not contain handler
parameter named 'dispatch'.  This may be caused by whitespace in the
label text.

In an attempt to try and figure out where it was going wrong I created
an 'unspecified' method within the LookupDispatchAction file and
printed out the value of the dispatch parameter.

I have noticed that every time the user submits the form by clicking
on the 'update button' it runs perfectly, but if the user presses the
'enter key' to submit the form it calls the unspecified method and
prints null (as the value for the dispatch parameter).

Does anyone know how I can fix this?

Any help would be much appreciated.

Tim Christopher

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to