Could it be the case sensitivity of the file system on the Solaris box?
Type: Posts; User: calebphillips; Keyword(s):
Could it be the case sensitivity of the file system on the Solaris box?
Is there a reason that the name attribute is not included in the <lang:groovy /> tag? (Or am I wrong about that? I can't seem to find the attribute in the schema).
I have a web application in...
I am trying to unit test a flow with a validator. Similar to the phonebook test example, I want to verify that bindAndValidate fails and we stay in the same state when a parameter is missing.
The...
Correct. I am trying to test the calling flow, to make sure that its output mapper correctly maps the output from the subflow. I am not testing the subflow. So what I am trying to stub out is the...
There is a readme.txt file in the root of the spring distribution, that gives those details.
Isn't inboundMessageListener-1 the name of your DefaultMessageListenerContainer? There will only be one container, but if you check out the code, you will see that the...
You can load your property files from the classpath:
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location"...
Since a redirect causes a second request to be issued, you are correct that you would not be able to use the attribute map from the first request. You can allow the RedirectView to convert your...
Could someone point me to an example for how to test the setting of a value in a calling flow as the result of output from a subflow?
I have seen in the phonebook sample tests how to validate that...
Thanks, Denis, that was helpful info.
A forward occurs within the same request as post, so the user can accidentally repeat the post by using the back or refresh button.
You can google for redirect after post to get more info.
This...
It's usually best to redirect after a POST, in which case you would need to put redirect: before all your successViews
I was wondering if anyone had any pointers on how to make sure that all the MessageListenerContainers are stopped cleanly when the main method that created the ApplicationContext is stopped.
...
Thanks very much, Mike. That snippet from the Javadoc said exactly what I needed to know, in particular that setting the local Spring JmsTransactionManager would allow me to use the JmsTemplate...
I have implemented a message splitter that receives a message from one queue and sends it onto two other queues. There are different MessageConverters required for each send, so I am using two...
Just wanted to say thanks, because I was wanting to make the transition to using alwaysRedirectOnPause and this document was exactly what I needed. I would agree that this is required reading.
Sorry if that was unclear. I have a facility that allows users to search insurance policies by the usual criteria (name, taxId, etc). Additionally, if the user has the agent role, the search should...
I need to make a change to a method argument based on roles before the method is invoked and I do not see how to do that with MethodSecurityInterceptor. I see that you can use the...
I certainly will. Thanks for the recommendation.
Thanks, again for you response. I know this isn't strictly SWF related. I did extend FlowController and ServletExternalContext and that allowed SWF to issue redirects for the correct URLs.
I...
Erwin, thank you for your suggestion, that definitely gives me some options.
After digging some more I remembered that I really had to come up with my own solution (storing the original URL in...
In my application I have my Spring MVC controllers set up such that there is one controller that draws the "shell" of the page (the html, head, and opening body tags) and uses the portion of the URL...
I am using (Portlet MVC) ParameterHandlerMapping to resolve my handlers. One of my controllers is a subclass of SimpleFormController. I went with the recommendation of overriding doSubmitAction()...
There are pretty extensive log4j logs generated when you set the level to DEBUG.
I looked around on the API and the only way I could see to get the user Principal was to cast the ExternalContext to the appropriate impl. Is that the correct way?
Thanks a lot,
Caleb