Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    6,519

    cacheSeconds needs to be set in the constructor,...

    cacheSeconds needs to be set in the constructor, not in a method call
  2. Replies
    8
    Views
    6,519

    try setting cacheSeconds to -1, meaning no cache...

    try setting cacheSeconds to -1, meaning no cache headers created.

    also check that the cacheSeconds isnt set in two places like in your controller definition in the app context and in the...
  3. i think your moving more into AJAX if you want to...

    i think your moving more into AJAX if you want to work like that. in this case, consider something like DWR, we use it here and its very handy, and it integrates famously with spring:
    ...
  4. if i could chime in with my 2 cents... i had...

    if i could chime in with my 2 cents...

    i had this happen in my TestCases because there were two transaction managers getting loaded by autowire byname. once i corrected this to ensure only one tx...
  5. Replies
    0
    Views
    698

    Unstable Schema Question

    Hello,

    We have recently re-implemented our website using the spring/hibernate framework.

    We are currently having some teething issues with the framework, specifically relating to database...
  6. Replies
    9
    Views
    7,162

    Hello, if you set the property ...

    Hello,

    if you set the property

    simpleReport.reportCompiler=net.sf.jasperreports.engine.design.JRJdtCompiler

    Then your jrxml will be compiled on the fly.

    Otherwise, point your url to the...
  7. Replies
    12
    Views
    2,523

    Hello, Sorry for the massive code dump, but i...

    Hello,

    Sorry for the massive code dump, but i just cant see where im going wrong, so i thought i would supply everything.

    Basically, i have everything working, except my MODULEINSTANCE_ table...
  8. Replies
    12
    Views
    2,523

    When i create a process instance, the NAME_ value...

    When i create a process instance, the NAME_ value in my JBPM_MODULEINSTANCE table is null. I imagine this is because the jbpm.properties file isnt being loaded (where the task instance class is...
  9. GET params get bound in onBindOnNewForm and POST...

    GET params get bound in onBindOnNewForm and POST params get bound in onBind.
  10. yeah, i know thats a pain, but thats actually the...

    yeah, i know thats a pain, but thats actually the preferred method of testing, so that you can have a test datasource.

    The unit test should parse the file in exactly the same manner as your...
  11. so assertNotNull(beschaffungController) is ok,...

    so assertNotNull(beschaffungController) is ok, but assertEquals("cmdBeschaffung", beschaffungController.getCommandName()) fails?

    If thats the case, try removing the aop:scoped-proxy tag. im not...
  12. maybe the property file that contains the key...

    maybe the property file that contains the key view.mapping.url.beschaffung (the value assigned to your successView property of your controller, isn't configured correctly. We do ours like this:

    ...
  13. If you have multiple fields in your form named...

    If you have multiple fields in your form named merchantId, they will be submitted as a comma separated list. maybe thats why your getting =1,1.

    your trying to bind the string value 1,1 to an int...
  14. check out getTargetPage The reference doc...

    check out getTargetPage

    The reference doc touches on it:
    http://static.springframework.org/spring/docs/1.2.x/reference/mvc.html#mvc-controller-command

    Have a look at the jpetstore sample that...
  15. Replies
    2
    Views
    878

    If i have understood you correctly, i dont think...

    If i have understood you correctly, i dont think its necessary route all requests through a single controller which then delegates to the wizard controller.

    You can adequetly decouple your views...
  16. Replies
    5
    Views
    1,254

    JSTL can only access java bean property...

    JSTL can only access java bean property accessors, get* and is* for boolean.
  17. Replies
    0
    Views
    915

    Eclipse Test classpath

    Hi,

    Running integration tests from within Eclipse. I want to configure my session factory mappings like:


    <property name="mappingJarLocations">
    <list>
    ...
  18. Replies
    2
    Views
    1,010

    Hi mdeinum, thanks for the suggestion, thats...

    Hi mdeinum,

    thanks for the suggestion, thats just what i needed. for some unknown reason, there was a hibernate2 jar in the build path of an linked project that i hadnt thought to check. i have...
  19. Replies
    2
    Views
    1,010

    Hibernate Transactions During Testing

    Helllo,

    Im performing integration testing using the AbstractTransactionalDataSourceSpringContextTests class from within Eclipse 3.2.

    When i use the...
  20. Replies
    10
    Views
    3,885

    hi nibhatta, This could be browser caching....

    hi nibhatta,

    This could be browser caching. does switching caching off in your browser make any difference? what about a different browser perhaps? i guess its reasonable to leave that variable...
  21. Replies
    7
    Views
    2,099

    jdbcTemplate

    use the protected instance variable jdbcTemplate in your onSetUpBeforeTransaction method to run the sql.

    http://static.springframework.org/spring/docs/1.2.x/reference/testing.html#d0e15787
  22. Replies
    10
    Views
    3,885

    try setting usecache="false" on the...

    try setting usecache="false" on the cewolf:producer tag
  23. Replies
    10
    Views
    3,885

    example

    What you want to do is pass an array of de.laures.cewolf.DatasetProducer 's to the View's model, in your imageArray, instead of a list of java.util.Map objects.

    My implementation places the model...
  24. Replies
    10
    Views
    3,885

    cewolf

    http://cewolf.sourceforge.net/new/index.html

    Cewolf is a set of tag libraries that make rendering JFree charts very easy.

    Its a bit of a learning curve to start with to get all the config set...
  25. Replies
    2
    Views
    666

    champiON. thanks heaps mdeinum, that worked!

    champiON.

    thanks heaps mdeinum, that worked!
Results 1 to 25 of 69
Page 1 of 3 1 2 3