Search:

Type: Posts; User: sfroth; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    866

    We had to override the getViewerPreferences...

    We had to override the getViewerPreferences method on the class that inherited AbstractPdfView:



    @Override
    protected int getViewerPreferences() {
    // Spring's default causes the attachments...
  2. Replies
    4
    Views
    1,757

    That was a long time ago, but what I remember is...

    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...
  3. Replies
    3
    Views
    866

    AbstractPdfView shows Attachments panel

    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...
  4. Replies
    4
    Views
    1,757

    Found the problem. We're populating model...

    Found the problem. We're populating model attributes using the command object:



    @ModelAttribute("referenceReportSections")
    public List<Section>...
  5. Replies
    4
    Views
    1,757

    InitBinder exception problem

    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...
  6. Replies
    2
    Views
    620

    Sorry, I didn't realize my version was out of...

    Sorry, I didn't realize my version was out of date. Thanks for your help!
  7. Replies
    2
    Views
    620

    Late binding issue

    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. ...
  8. Replies
    3
    Views
    2,078

    The tasklet step is executing exactly the way I...

    The tasklet step is executing exactly the way I wanted. Thank you!
  9. Replies
    3
    Views
    2,078

    Copy file using spring batch

    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...
  10. Replies
    9
    Views
    5,459

    I'm not really sure what you mean. I get that I...

    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?
  11. Replies
    9
    Views
    5,459

    We're doing that to write lines that aren't...

    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...
  12. Replies
    9
    Views
    5,459

    That worked. Thank you for your help! I'm...

    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:


    ...
  13. Replies
    9
    Views
    5,459

    LineTokenizer in FlatFileItemReader

    It looks like the LineTokenizer was removed from the FlatFileItemReader in 2.0, based on the updated documentation...
  14. Replies
    6
    Views
    2,892

    I had tried it with a string value before my last...

    I had tried it with a string value before my last post, and it worked. Thank you for your help.
  15. Replies
    6
    Views
    2,892

    Using the dump, I figured out what was wrong. ...

    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 |...
  16. Replies
    6
    Views
    2,892

    Thank you for your help. I had tried doing that,...

    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:


    ...
  17. Replies
    6
    Views
    2,892

    Dynamic values in JpaPagingItemReader

    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...
Results 1 to 17 of 17