We had to override the getViewerPreferences method on the class that inherited AbstractPdfView:
@Override
protected int getViewerPreferences() {
// Spring's default causes the attachments...
Type: Posts; User: sfroth; Keyword(s):
We had to override the getViewerPreferences method on the class that inherited AbstractPdfView:
@Override
protected int getViewerPreferences() {
// Spring's default causes the attachments...
That was a long time ago, but what I remember is this:
I had a request that was mapped which I expected to receive any binding errors in the BindingResult object, but I was receiving an exception...
We're using AbstractPdfView to generate a PDF for our users, and have an annoying problem. Whenever users open the files generated by the view, the attachments panel pops up, even though there are...
Found the problem. We're populating model attributes using the command object:
@ModelAttribute("referenceReportSections")
public List<Section>...
I'm having a problem using InitBinder to bind dates for my command object. We're using Spring 2.5. Here's my code:
@InitBinder("reportJobCommand")
public void initBinder(WebDataBinder...
Sorry, I didn't realize my version was out of date. Thanks for your help!
I'm having a problem with late binding that seems really odd to me.
I'm trying to secure copy a file from a remote server to the local server before performing an action on it in another step. ...
The tasklet step is executing exactly the way I wanted. Thank you!
I've built a system using spring batch to parse a local file a vendor is passing to us. Now I need to get my hands on the file. I want to add a step that will use SCP to grab the file off the...
I'm not really sure what you mean. I get that I should change the setter to take in an ItemWriter rather than a FlatFileItemWriter, but what else do I need to change to do that?
We're doing that to write lines that aren't parseable to a file so we can determine why they didn't parse - the mapper is returning a pojo based on the publ_id. If the publ_id isn't found, we want...
That worked. Thank you for your help!
I'm having another problem with something that seems to have changed from v1 to 2.0. We've got some old config files that have something like this:
...
It looks like the LineTokenizer was removed from the FlatFileItemReader in 2.0, based on the updated documentation...
I had tried it with a string value before my last post, and it worked. Thank you for your help.
Using the dump, I figured out what was wrong. It's because of the Date object.
First, here's the dump:
INFO | 2009-02-27 12:08:31,640 | com.me.batch.launch.AsyncJobLauncher | 16 |...
Thank you for your help. I had tried doing that, and it didn't work. I tried again after seeing your post, and it still returns me the same error. Here's a more complete version of my xml:
...
I'm trying to set up a batch system that will notify us when customer records have been updated, but I'm having some trouble. I've gotten the system to work when pulling all customers, but now I...