You should be able to specify the url you want to go to after login, by adding/updating the "defaultTargetUrl" property in the AuthenticationProcessingFilter. This target could be a controller that...
Type: Posts; User: bessette; Keyword(s):
You should be able to specify the url you want to go to after login, by adding/updating the "defaultTargetUrl" property in the AuthenticationProcessingFilter. This target could be a controller that...
If you add your view resolver to the ViewFactoryCreator in the configuration, then it should work. Try this:
<bean id="flowBuilderServices"...
By the way, I've also tried it with Webflow 2.0-m3, but the same problem occurs.
Thanks,
Eric
I'm creating my first webflow in Eclipse 3.3 with Spring IDE 2.0.3, Spring 2.5.1, and Webflow 1.0.5. The problem is I get this weird error both in Eclipse and at runtime. I've seen a couple other...
Is the view the original form view that the user uploaded the file on or is it a separate error view?
Thanks,
Eric
I've done dynamic processing using JavaScript/Java with XSLT. Check out http://www.mozilla.org/rhino/ and http://jakarta.apache.org/bsf/. Using them both, you can implement methods that run during...
I'm having the same problem.
Never mind, I figured it out. Turns out the sqlTypes method can only return 1 type per column expected. I thought that it was supposed to return all of the valid types for a single column. Once I...
One of my pojo's that I'm mapping to Hibernate has a java.util.UUID as it's id field. I've implemented a custom org.hibernate.usertype.UserType, but when I start my Spring app, I get the following...
You were right. I changed the class type of my sessionFactory member field to org.hibernate.SessionFactory and the initialization process worked fine. Thanks for you help.
I'm getting the following exception when I try to run my DAO JUnit test. Does anyone know what the problem is? It looks like the ampersand (&) is being added to the bean name during the lookup...
Nevermind, there's a I18nSpringAdapter class that does exactly what I'm looking for.
Thanks,
Eric
I'm using Tiles 2, so I don't think it's automatically being set up for me.
Anyone got the titleKey attribute of the column tag in the DisplayTag library working with their MessageSource object? I'm getting the following debug output:
INFO - 2007-11-14 11:14:07,984...
You might look into extending the UrlDefinitionsFactory or implementing DefinitionsFactory and ReloadableDefinitionsFactory directly. I don't have the same requirements as you, but I created a...
Nevermind, I was using a mock request in a unit test and didn't realize that multiple select were stored in a String[] not a String.
How do I bind a multi-select box to a list of custom objects?
I have a multi-select, like this:
<form:select path="countries" multiple="true" size="3">
<c:forEach items="${countryList}"...
I also have this requirement. Has anyone found a better work-around for this issue?
Thanks,
Eric
Never mind, I finally realized that I can autowire the controller I'm trying to test, so I don't need to get the application context. Noob mistake.
Thanks,
Eric
If the user enters an invalid url that matches my Tiles handler mapping, a org.apache.tiles.definition.NoSuchDefinitionException exception is thrown. Is there a way to catch this and forward the...
I recently upgraded to 2.5 RC1 to try out some of the new changes and I've run across a couple of problems.
1. I can't find the spring-mock.jar and spring-binding.jar files anywhere in the...
Seems like this should be easy to do. Anyone got any ideas about this?
Thanks,
Eric
${variable} is Expression Language (EL) syntax. If you want to send EL expressions as an attribute for your custom tags, you need to set the "rtexprvalue" tag to true in your taglib.
You should...
I'm using the ContextConfiguration annotation to test one of my controllers. I want to get access to the ApplicationContext from within my tests, but I can't figure out how. Should my test class...