struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <>
Subject DMI question not setting parameters
Date Tue, 05 Jun 2018 08:56:39 GMT
I have a form with the below with a button: action:myEdit!save which works

<form name="myEdit" id="myEdit" action="/edit/myEdit.action" method="post">
<input name="action:myEdit!save" value="Save" id="myEdit_myEdit!save"

But if I modify the url on the page as below


and then manually refresh the page, it follows the DMI logic, ie try to
call the save method but does not set the parameters in the request, and
fails on the validator.  This returns to the input page with all the fields
blank, showing the validator errors.

....from the ParametersInterceptor doIntercept() the parameters are null:
 HttpParameters parameters = retrieveParameters(ac);

Where would be the best place in the source stack to try and see why its
not populating the parameters?

Cheers Greg

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message