Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    9,079

    found the problem...

    well, yes we do... however, it we were not getting that far...



    @RequestMapping(method = POST)
    ModelAndView create(@Valid @ModelAttribute Foo foo, BindingResult binder) {

    if...
  2. Replies
    6
    Views
    9,079

    @Valid, binder.setValidator and other fun

    ok, we are trying out spring 3 rc1 and have run into some interesting behavior.

    The first is a bit of a warning to people using binder.setValidator, if you are returning some object of different...
  3. Replies
    1
    Views
    941

    Any information on the desktop project?

    Anyone seen anything apart from the "Spring Richclient's Future" note on http://spring-rich-c.sourceforge.net/1.0.0/index.html?
  4. Replies
    16
    Views
    3,219

    Maybe the display tag library is what you are...

    Maybe the display tag library is what you are after.

    or just making the Controller you are currently using a bit smarter.
  5. Replies
    13
    Views
    4,697

    validation

    I'm pretty sure that validation doesn't i18n so well in richclient.
  6. Replies
    3
    Views
    984

    use the ImageIO write method...

    use the ImageIO write method
    http://java.sun.com/j2se/1.5.0/docs/api/javax/imageio/ImageIO.html#write(java.awt.image.RenderedImage,%20java.lang.String,%20java.io.OutputStream)

    to write to a...
  7. Replies
    4
    Views
    1,159

    That was it :). Thanks! I remember being able...

    That was it :). Thanks!

    I remember being able to use the archetype from home, but couldn't at work. Thanks!
  8. Replies
    4
    Views
    1,159

    I was pretty sure that spring richclient was in...

    I was pretty sure that spring richclient was in the standard maven repo at
    http://repo1.maven.org/maven2

    I've had a look at it now, and it isn't there.

    so - the question I've got is.... Was...
  9. Replies
    4
    Views
    1,159

    richclient in the maven repository

    I just went to use the archetype and found it was gone, in fact, the whole of Richclient was missing. :confused:
  10. Replies
    1
    Views
    671

    The overhead of the interceptor is really really...

    The overhead of the interceptor is really really small. Almost any other way would be complex or slower, or most likely both.
  11. Replies
    31
    Views
    76,046

    oh, its off topic, but what is XmlBeanFactory...

    oh, its off topic, but what is XmlBeanFactory for? Is it for systems with limited resources (does it use less memory)? or what?

    It has to have a use apart from confusing people who haven't looked...
  12. Replies
    31
    Views
    76,046

    Oh, NOW I remember.... this was a tricky one!...

    Oh, NOW I remember....

    this was a tricky one!

    XMLBeanFactory DOESN'T do AOP, you need to use ApplicationContext

    the transaction annotations didn't fire up and thats what caused the error.
    ...
  13. Replies
    31
    Views
    76,046

    I got it going :) - but it was long enough ago I...

    I got it going :) - but it was long enough ago I can't remember what I was doing wrong.

    I should have posted back.
  14. Replies
    2
    Views
    1,062

    The Spring Security subproject (ACEGI) is...

    The Spring Security subproject (ACEGI) is normally the way of handling it,
    http://acegisecurity.org/

    Not the most simple thing to set up, but well worth it in the end.
  15. Replies
    4
    Views
    1,086

    Which release of spring? I'm using spring 2 rc4...

    Which release of spring? I'm using spring 2 rc4 (now).

    Can you post your applicationContext.xml? (or whichever your spring config file is)

    Oh yeah, and what error are you getting?

    --- Blair
  16. Replies
    8
    Views
    1,228

    I'm going to make a guess and say that the...

    I'm going to make a guess and say that the datasource you have doesn't have a connection pool.
  17. Replies
    5
    Views
    1,090

    it doesn't sound like a hibernate or mapping...

    it doesn't sound like a hibernate or mapping problem now, What does your controller and jsp page look like?
  18. in the mean time ... you can get around it by...

    in the mean time ... you can get around it by creating the TransactionAttributeSourceAdvisor with its constructor.

    replace <tx:annotation-driven /> with



    <bean...
  19. Replies
    31
    Views
    8,088

    what is the code being used to persist it look...

    what is the code being used to persist it look like?
  20. try.... query...

    try....



    query name="ItemImpl.findItemByKeywords">
    <![CDATA[from ItemImpl as item inner join item.itemMeta as meta inner join meta.keywords as keywords where keywords.name in ( :params )]]>...
  21. so, what is the query - ...

    so, what is the query -

    AssessmentItemImpl.findItemByKeywords
  22. Replies
    4
    Views
    1,086

    thanks!

    It all works now.

    I've had a look at the docs and now understand why its like that, but I'd never have found it on my own, so thanks! You have been very helpful.

    --- Blair
  23. Replies
    4
    Views
    1,086

    Problems with transaction annotations

    ok, this is from a prevous thread, but I have more information about whats going on. Hopefully someone can see whats going wrong, I've tried to be very careful and clear in each step.

    It looks...
  24. Replies
    31
    Views
    76,046

    a similar problem here.

    ENP:

    You have to start a transaction before you can use getCurrentSession().

    If your using spring2, the annotation way of handleing transactions is very cool.

    I'd help you through it, but...
  25. found the answer

    <bean class="org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor">
    <constructor-arg index="0" ref="transactionInterceptor"/>
    </bean>

    So it gets...
Results 1 to 25 of 26
Page 1 of 2 1 2