Have a look at iBatis. I think it might do everything you need:
http://ibatis.apache.org/
It integrates very well with Spring (see the Spring manual)
Type: Posts; User: tortuga; Keyword(s):
Have a look at iBatis. I think it might do everything you need:
http://ibatis.apache.org/
It integrates very well with Spring (see the Spring manual)
Are there any situations where calling "setupForm" can have adverse effects?
I take that back, it is not called automatically. I was still calling setupForm in my render-actions.
Is there any reason why this re-registering isn't done automatically for rendering, but *is*...
I am still having to do "<action bean="myFormAction" method="setupForm"/>" in my render-actions when using redirect-on-pause to re-register my custom property editors in a PropertyEditorRegistrar....
Perfect. Thanks for the clear explanation, Erwin!
What is the preferred (safest) method for accessing the errors object inside a form action event:
Method 1:
FormObjectAccessor formObjectAccessor = new FormObjectAccessor(context);
Errors...
Jörg, sorry its been so long since I replied. Life got a little busy.
Correct. getAsText() is never called, not even when determining the selected option. When determining the selected option,...
But it does for setAsText() at the end? That's quite strange.
[/QUOTE]
I'm not sure I understand what you mean. Do you mean, at the end of comparison between the backing object and all the...
From my DAO. I am using iBatis to map my database to POJOs. Just prior to rendering the .jsp, I call an iBatis method which returns a List, which I then inject into the request scope as a variable...
I am not using referenceData(), so I'm not sure this is the same problem. Besides, my CustomPropertyEditor applies to my select path of 'paymentMethod.type'.
It seems to me that the <form> object...
Added issue SPR-2915 to solve this problem.
I am using the (relatively) new <form> tags, but having the problem that my getAsText() method is not called on my CustomPropertyEditor. However, the setAsText() method gets called fine! I also know...
I'm not really sure I know what you mean. If you are talking about the same request as far as the user is concerned, you just refer to your main resulting .jsp file in the Web Flow, and then have...
Keith (or anyone), is there currently any way to do what I ask in the previous post?
Are you using redirectOnPause? If so, the redirect is considrered another request, so your request variables disappear. There will be render actions available in RC4 that will allow you to insert...
Is it possible to have different flows availablebased on the physical directory they are in while using the same flow controller? For instance, lets say I have the following SimpleUrlHandlerMapping:...
What do you mean by 'display tags'?
Awesome! Glad to hear it. Will these render-actions only execute once if redirectOnPause is enabled, or will there be two executions, one for sending the redirect to the client, and the second when...
Ah, the problem has to do with my setting redirectOnPause in my flowExecutor:
<bean id="flowExecutor" class="org.springframework.webflow.executor.FlowExecutorImpl">
<constructor-arg...
Are you setting the argumentExtractor in your flowController? For instance:
<bean id="flowController" class="org.springframework.webflow.executor.mvc.FlowController">
<property...
Keith,
I implemented what you suggested, but I run into a problem if I try to use request scope instead of flow scope:
java.lang.IllegalArgumentException: 'items' cannot be null....
I definitely misunderstood the documentation. I assumed that FLOW and REQUEST scopes were both stored in the repository since they both relate directly to the current state of the flow. I'm glad...
Keith, thanks for getting back to me. That makes a lot of sense. I guess one wouldn't like the view state to be able to access services since database writing could be done in the wrong layer. It's...
Keith, this is driving me nuts. I've tried all kinds of EL syntax and <jsp:useBean> tags. What is the correct way to access fairly static values from the database? Obviously any data lists/maps that...
If anyone has any suggestions, that would be great. Coming from a .NET framework where you have code-behind pages that pre-compile makes this structure very confusing for me.
-Tortuga