struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
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
great.

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


But if I modify the url on the page as below

http://www/../edit/myEdit!save.action

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

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