We have some client side js that constructs a new FormData() object, adds
fields to it including a file and posts it to a Wicket behavior using a
$.ajax() call. In the behavior's onRequest(), we get the fields and file
from the MultipartServletWebRequest object. This worked perfectly until
6.18. Now the behavior gets called but no fields from the constructed
DataForm object are in the requestParameters and the getFiles() call is
empty.
Any thoughts or ideas for a workaround?
fields to it including a file and posts it to a Wicket behavior using a
$.ajax() call. In the behavior's onRequest(), we get the fields and file
from the MultipartServletWebRequest object. This worked perfectly until
6.18. Now the behavior gets called but no fields from the constructed
DataForm object are in the requestParameters and the getFiles() call is
empty.
Any thoughts or ideas for a workaround?