Had the same issue when defining my own AnnotationMethodHandlerAdapter so I could register custom messageConverters. The
<mvc:annotation-driven /> tag I had used for registering a validator and...
Type: Posts; User: ande; Keyword(s):
Had the same issue when defining my own AnnotationMethodHandlerAdapter so I could register custom messageConverters. The
<mvc:annotation-driven /> tag I had used for registering a validator and...
Just an update, I only seem to get this with using JDK proxies; cglib class proxy seemed to fix the issue. I'll post back with a bug number if I file one for spring 3.0 rc1.
I'm having the same issue with RC1, but only after the class implementing the ApplicationListener<E extends ApplicationEvent> interface started being proxied (for AOP). The event distribution looks...
FYI, I was working with similar behavior, and logged a bug that looks resolved. This code section will probably return a null ModelAndView now:
https://jira.springsource.org/browse/SPR-6148
(I also...
For more info, here's the relevant javadoc from javax.management.Notification:
I didn't find an easy way to look up the ObjectName for an exported bean. Here was my solution, for anyone else...
I am using the MBeanExporter for registering various MBeans, specifically for beans that implement NotificationPublisherAware. One of the standard arguments for a Notification object is the source,...
By not specifying a view to render, you are not indicting SWF should create an ApplicationView object: just a NullView, which is the most rudimentary concrete class of ViewSelection. It wouldn't make...
If this is the wrong forum for discussing xfire, please let me know.
I am trying to use the org.codehaus.xfire.spring.remoting.XFireExporter to export the methods of a particular interface as...
Can this same fixed approach be implemented for AttributeMap, or is that left as is by design?
Specifically, I'm copying over some values from the requestParameters to the requestScope via a set...
Are you configuring a view to be returned? If so, I believe that would cause the error you are describing.
When you are "manually" handling the return of the view (in this case a file) to the...
I reported that JIRA issue, so yes, I am painfully aware of it. :) The issues I described there almost a year ago now appear intractable.
Thanks for the other direction, I had in mind going with...
For a long time I have had a dream of using SWF to implement a long conversation model with my persistent domain objects directly backing my views and actions. It seemed very straightforward to me at...
For this, I end in an action-state instead of a view-state, and just write out the file to the HttpResponse (as suggested). I usually open the download dialog from a pop-up window. Here's a sample:
...
To make action states more general, and to save from always checking both the externalContext.requestParameters and the requestScope for a value (very common), I decided to always move values I need...
I really like the idea of set actions for making explicit what values are trasferred between the externalContext and webflow scopes.
For example:
<set attribute="optionId" scope="request"...
Turning this around a little...
I realize there is some overhead to defining flows, and accessing data through the RequestContext abstraction, but aside from those two, and assuming you are already...
We used to use a combination of spring mvc and webflow for an application, but I found it difficult to transition back and forth. We now use one flow controller for the entire application, and this...
I want to set a variable in a scope based on the state I am in, but I don't want it evaluated against the RequestContext.
So something like:
<set attribute="myAttribute" value="LiteralValue"...
JIRA created: http://opensource.atlassian.com/projects/spring/browse/SWF-240
Thanks for the explanation.
I have always found the conversation ID useful for my SWF extensions because it can uniquely identify a session. I've been working with and adapting those extensions from the EA through the released...
It is a problem if you lose the Errors corresponding to the form object, and you wanted to use them.
From the JIRA issue, looks like it is reported fixed in 1.0.1, which is great news (and a great...
One idea was, instead of identifying miswrapped objects with:
BindException be = (BindException)errors;
if (be.getTarget() != formObject) { ... }
using
I have a need to keep a form object in conversation scope. I had intended to keep the Errors object in flash scope to report bind or validation errors when the view is rendered.
This isn't working...
I have done quite a bit of investigation on this topic (I wrote up the findings and file attachments Erwin pointed to at the beginning of this thread), and have recently reworked the process. I'd be ...
My take on this... I've been staring at and sculpting webflow definitions for over a year now, and they look really intuitive to me.
A new developer started last week and I've been bringing him up...