I have a wicket application that has a simple form with a file upload
capability. I would now like to allow to extend the application by
allowing an application on a device to send me the form and the
application to return some XML.
I have easily built a page to return the XML and if I invoke with a
simple URL (GET) using parameters, but to get a fileupload I need (I
think I need) a multipart mime form.
The input form would be a simple as:
<html >
<body>
<form wicket:id="analyzeForm" action="app/getxml" method="post">
<input wicket:id="fileUpload" id="fileUpload" type="file"/>
<input type="submit" value="Analyze"/>
</form>
</body>
</html>
I mount the bookmarkable page, e.g . mountBookmarkablePage("/getxml",
GetAnalysisXML.class); but when I submit the form, wicket renders a new
version of the page (i.e. the real wicket page), rather than processing
the POST message.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org