Well.. a popup opening is a separate issue, you can try fixing that after form submit is in place.
Make sure your button does not go to onError maybe, make sure is it a defaultFormSubmitBehavior(false) and possibly you need to catch the raw input value of your date field if it is a large form with other values too. Or you can make a nested miniform just for the date field alone. ** Martin 2011/10/30 hfriederichs <[email protected]>: > Hello Martin, > > I tried that, but at the end of the link's onClick there's the code to > download the excel-file: > > IResourceStream resourceStream = new AbstractResourceStream() { > (all the necessary stuff here > > }; > String fileName = "DeployView.xls"; > ResourceStreamRequestTarget resourceStreamRequestTarget > = new ResourceStreamRequestTarget(resourceStream, fileName); > > RequestCycle.get().setRequestTarget(resourceStreamRequestTarget); > > When I use an (ajax)button, the browser's download-screen (save or open) > doesn't pop up... > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/I-just-want-the-entered-value-of-a-WIcket-DateTimeField-tp3953280p3953326.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
