Gary
This latter options seems the most attractive as this simplifies the Gateway interface to clients and hides the integration details. We'll do it this way. Thanks for the reply.
Alex
Type: Posts; User: Alex Seel; Keyword(s):
Gary
This latter options seems the most attractive as this simplifies the Gateway interface to clients and hides the integration details. We'll do it this way. Thanks for the reply.
Alex
Mark - many thanks for this. Will plug it in on Tuesday.
We would like to expose services in the form :
public interface AccountGateway {
@Gateway(...)
List<Account> getUserAccounts(Customer customer, AccountFilter accountFilter);
}
found solution:
log4j.xml:
<logger name="org.springframework.webflow">
<level value="TRACE"/>
<appender-ref ref="console"/>
</logger>
Hi
Want to log the webflow transitions so I can confirm it transition I expect is being called, ideally without lots of other internal logging.
I've looked in spring-webflow-reference.pdf for...
I'm strugging to pass an optional request parameter to webflow with the next state to transition to.
Is there a way to trace through webflow? Or a more complete set of documentation for how to...
I've fixed this issue:
customer.age=Age
typeMismatch=Please enter a valid {0}
This generates the message: 'Please enter a valid Age' when this field is of an incorrect type. Ie specify...
I can't seem to create a form field specific typeMismatch message.
Field:
command=myCommand
field=customer.age
field type=int
form-name=myForm
Thanks for the suggestion - ideally I'd avoid request parameters as this exposes the sites internals to the user and could allow interference.
But will try if all else fails. Another possibility...
Problem: to transition to an intermediate state if joining webflow from a different location. Ie Customer sees their quote summary directly rather than having to repeat earlier stages
...
I'm trying to implement a wait/loading page. A standard way to do this is with META-REFRESH but this stops dynamic gifs and show the user a constantly loading page.
Is there a purer approach?
Thank you - this now works a treat
Hi I am trying inject a list of beans into another class via xml dependency injection:
<bean id="myFactory"
class="com.something.MyFactory">
...
Thank you - I've found with maven2 a slight variation worked with Tomcat hot deploy (in Eclipse):
<plugin>
<groupId>org.apache.maven.plugins</groupId>...
Have Mavenised Eclipse project and added Maven dependencies in 'Order and export' in project setup.
It can't find the Spring jars despite them being dependencies in the POM file. Is the solution...
using spring-framework 2.5.6, Apache Tomcat 6 Servlet/JSP Container:
I've done more work on this and seems similar to the recently resolved JIRA:
...
SimpleMappingExceptionResolver implements the MVC Exception Interceptor interface HandlerExceptionResolver.
We return a valid ModelAndView object from this.
***********************************...
We've now got this working:
WEBFLOW INTERCEPTION:
To intercept WebFlow we implement FlowExecutionExceptionHandler, and in
handle() log and replay the previous view-state:
...
Error is:
org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing [AnnotatedAction@72edc targetAction = [EvaluateAction@19576c3 expression =...
"Unhandled exceptions are propagated to the Dispatcher unless the exception is a NoSuchFlowExecutionException"
[Spring 2.0.x webflow guide, section 10.3].
I'm trying to intercept thrown...
Thanks - I'll have a play.
From the above I need to force it to use CGLIB so it proxies the class not the interfaces it extends.
I've finally debugged the problem - by random trial & error.
One of the spring beans implemented InitializingBean which I deleted, fixing the problem.
What seemed to happen was it built a...
Novice problem.
I have a working test app which, when AOP is configured, throws an error:
Could not convert constructor argument value of type $Proxy10 to required type Account
This has come...