I need to capture form from one “get” request and include it to the “post” request.
Now i save all response of get request with “check”:
Then i give this response to java class, which takes form from it and return java map,
Then i convert this map to scala map:
val formScala = scala.collection.JavaConversions.mapAsScalaMap(form.FormWithSelect(ResponseString)).toMap
And sent this form with formParamMap:
This method has its drawbacks:
-Scala and Java map don't handle duplicate keys
-When i convert to scala map, my order of parameters changes
Could you kindly help me, if there are other ways to do the same?
Thank you for advance!