Search:

Type: Posts; User: Edward Kenworthy; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. I think he was saying the spring dev team were...

    I think he was saying the spring dev team were treating developers using spring as dumb. I think he's right.



    Doesn't mean it's right, in fact what it means is that you can't extend a class in...
  2. Unfortunately not. "The problem is that the...

    Unfortunately not. "The problem is that the showPage method simply calls getPages() and decides for itself which page to show next!" so getViewName() doesn't get called.
  3. Thanks all, given me some things to think about....

    Thanks all, given me some things to think about.

    I've don't use _targetX as that would mean encoding the flow in the page.

    As to the controller being a singleton, forgot about that but it's a...
  4. AbstractWizardFormController is bugged.

    There are a number of methods:

    protected int getInitialPage(HttpServletRequest request)
    protected String getViewName(HttpServletRequest request, Object command, int page)
    protected int...
  5. Made me smile.

    addJob.setNoDeparture(new Boolean(Boolean.FALSE.booleanValue()));

    What's wrong with "addJob.setNoDeparture(Boolean.False);"?

    Even better just use a boolean so "addJob.setNoDeparture(false);"...
  6. Anyone have an example of a wizard?

    I've tried searching the forum but "example" is excluded as a common word from searches: how stupid is that?
  7. Replies
    3
    Views
    1,158

    Both the spring books...

    ...are very disappointing when it comes to covering the web aspects. In the case of Rod Johnson's it seems to simply regurgiate the limited material from the spring manual (which is pretty poor but...
  8. Replies
    1
    Views
    845

    Don't be shy now.

    Any chance of a response?
  9. Replies
    1
    Views
    845

    Would you use a wizard for this?

    I need to set up a flow of pages like this:

    page 1: select 1 or more items.
    pages 2-n: display/edit each of the items (1 per page) selected on page 1.

    As you work through the pages answering...
  10. Changes from 1.1.x to 1.2.x: are they documented?

    This works in 1.1.1 but not in 1.2.4; is there somewhere the changes are documented along with recommended chaanges to client code?



    return...
  11. Replies
    2
    Views
    1,265

    Really basic question.

    I've read the documentation, including the faq and the starting steps but I can't find the answer to my quest which is: how do I install acegi?

    This is complicated by the fact I've been using the...
  12. I think you're missing the point....

    I think you're missing the point. HibernateTemplate *should* implement an interface (not an abstract base class, that's different) and as other posters have pointed out, it does: HibernateOperations....
  13. Am aware of that: it's an optional .jar. I was...

    Am aware of that: it's an optional .jar.

    I was using it as an opportunity to highlight where Spring uses a concrete class (setHibernateTemplate()) rather than an interface which surprised me given...
  14. Still a problem: HibernateDaoSupport provides a...

    Still a problem: HibernateDaoSupport provides a setHibernateTemplate() method, not a setHibernateOperations() method.

    Kind of reduces the usefulness of having an interface.

    Oops.
  15. Quite right, it's in the version I'm using. What...

    Hmmm ... as far as I know this has been around for a long time.[/quote]

    Quite right, it's in the version I'm using. What confused me was the documentation you pointed me to said it had been...
  16. Link's broken.

    Link's broken.
  17. That's only available in an unreleased (1.2)...

    That's only available in an unreleased (1.2) version of the Spring framework...
  18. HibernateTemplate isn't an interface: huh?

    I'm unit testing my application and am using EasyMock. I'd like to mock HibernateTemplate but it turns out that it isn't an interface (which came as quite a surprise given Spring's emphasis on using...
  19. Replies
    1
    Views
    1,101

    Search forms.

    I've got a form that lists things. A user can search these things in which case a new page (the same jsp) is shown with the matches.

    I've implemented this by extending SimpleFormController but the...
  20. Replies
    5
    Views
    1,421

    That's...

    perfect, thankyou.
  21. Well what can I say: it worked! Thanks very...

    Well what can I say: it worked!

    Thanks very much.
  22. Hi Olivier Maybe it is better style: but it...

    Hi Olivier

    Maybe it is better style: but it works perfectly on another page: I'll try what you suggest anyway: maybe it'll turn out to be a "feature" ;-)

    Edward
  23. Replies
    5
    Views
    1,421

    Yes that#s the easy bit: the bit I can't work out...

    Yes that#s the easy bit: the bit I can't work out is how do I do the equivalent of: myStringArray[object.index] ?
  24. I would say in your DAO: that's where I intend...

    I would say in your DAO: that's where I intend putting it: when I upgrade to spring 1.1.2 that is :-)
  25. Hmm. Funny I can't see an initialize method on...

    Hmm. Funny I can't see an initialize method on HibernateTemplate nor a lock method on Session. What version of hibernate and spring are you using?
Results 1 to 25 of 64
Page 1 of 3 1 2 3