Hi Sri,
I think it's mostly just a copy/paste of Spring code but here it is
/**
* Merges the configured JRExporterParameters with any specified in the supplied model data.
*...
Type: Posts; User: woodsd; Keyword(s):
Hi Sri,
I think it's mostly just a copy/paste of Spring code but here it is
/**
* Merges the configured JRExporterParameters with any specified in the supplied model data.
*...
Someone beat me to it :). See SPR-6871
Hi all,
I just upgraded to Spring 3 and have run into a problem with binding form elements to items in a list. In Spring 2.5.x these items would be given a name with a '[0]' in the path to...
Upgrading to Spring 3.0.1 fixed this issue.
Hi all,
I recently upgraded to Spring 3 and have run into a problem where the ServletRequestDataBinder is now trying to auto grow a collection in my command object even though...
For anyone else interested,
I'm currently getting around this with the below code.
/**
* Perform rendering for a single Jasper Reports exporter, that is,
* for a pre-defined...
Hello all,
I'm working on upgrading to Spring 3 and am running into a problem when passing exporter parameters as part of the model.
We export all of our reports as Excel reports and use the...
I ended up declaring it on its own and then using the 'ref' attribute.
<security:authentication-provider user-service-ref="userDetailsService">
<security:password-encoder...
The SecurityContextHolder class provides static access to the current Authentication object.
...
You can also listen for the AuthenticationSuccessEvent.
...
You might also want to investigate the AuthenticationSuccessEvent. You can listen for this event and then make a call to your dao to update the last_login with the timestamp from the event.
...
I've had some luck with using the maven plugin for compile time weaving. I am struggling trying to get it to inject dependencies into JPA Entity Listeners but it does successfully inject my JPA...
I hope you've already figured this out but you should reference the documentation for the version of Spring that you are using. In Spring 2.5 they moved spring-configured into the 'context'...
I have never tried it but maybe this will work.
@ContextConfiguration(locations = "classpath:/META-INF/ldap-config.xml")
Dustin
Hi Lezsek,
Try removing the '*' from your location.
From
@ContextConfiguration(locations = "classpath*:ldap-config.xml")
to
jerrytian,
See if either the <util:property-path/> tag or the org.springframework.beans.factory.config.PropertyPathFactoryBean class works for you. More info is found in the Appendix of the...
Thanks Iwein for the timely response. You've given me a few more ideas on how to proceed.
Since I can guarantee that the file will have all line items for each order I could sort the file...
Hello all,
I'm just getting started looking into Spring Integration and am looking for some suggestions on where to start with the following use case.
I receive files with orders and line items...
Hello eknock,
I think you are missing an html form element to submit. Also, and I've been bitten by this recently, you will probably want to submit the form by name and not just the first in the...
Hello,
I'm new to JPA but I don't think Hibernate supports mixing annotation placement. Try putting your @GeneratedValue(...) annotation on the field instead of the getter.
Dustin
Hello,
I've had the same questions and this thread answered it for me.
http://forum.springframework.org/showthread.php?t=56954
Dustin
Works great. Thanks Marten.
Hello Nathan,
I'm fairly new to JPA but have you tried setting the 'cascade' property on your @OneToMany annotation?
I've been using the link below for a reference to the JPA annotations but I...
Hello all,
I have an application that consists of both spring mvc controllers and webflow. Both are using the same facelets based layout. When part of a flow I have access to the 'currentUser'...
Thanks for the reply Keith.
I think I didn't explain my question very well. I am looking to use the same flow definition with multiple formObjectClasses.
In the phonebook sample application...