cacheSeconds needs to be set in the constructor, not in a method call
Type: Posts; User: tobysaville; Keyword(s):
cacheSeconds needs to be set in the constructor, not in a method call
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...
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:
...
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...
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...
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...
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...
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...
GET params get bound in onBindOnNewForm and POST params get bound in onBind.
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...
so assertNotNull(beschaffungController) is ok, but assertEquals("cmdBeschaffung", beschaffungController.getCommandName()) fails?
If thats the case, try removing the aop:scoped-proxy tag. im not...
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:
...
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...
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...
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...
JSTL can only access java bean property accessors, get* and is* for boolean.
Hi,
Running integration tests from within Eclipse. I want to configure my session factory mappings like:
<property name="mappingJarLocations">
<list>
...
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...
Helllo,
Im performing integration testing using the AbstractTransactionalDataSourceSpringContextTests class from within Eclipse 3.2.
When i use the...
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...
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
try setting usecache="false" on the cewolf:producer tag
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...
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...
champiON.
thanks heaps mdeinum, that worked!