I have a controller which acts as a form controller and a muilt-action controller, so to speak. Basically, there is a main object being edited via the form as well as some "side conversations"...
Type: Posts; User: splashout; Keyword(s):
I have a controller which acts as a form controller and a muilt-action controller, so to speak. Basically, there is a main object being edited via the form as well as some "side conversations"...
I am using a SimpleMappingExceptionResolver.statusCodes in an attempt to map AccessDeniedException's to status code 403. applyStatusCodeIfPossible() does apply the status code but later in the...
I realize this is an old question but in case someone else has some use for a possible solution...
Assuming you know the key<->datatype relationship, you could register a custom editor for each...
Never mind... had nothing to do with webflow... it was how the code is compiled (in my case, with ant). Apparently, you need to compile the code with the debug flag set.
<javac srcdir="${src-dir}"...
Does anyone know why when I use webflow, it can't tell me the line numbers of my code in the log (and how I can get them to print)?
See lines 2 and 3 for an example. I'm using the same log4j...
As suggested in this thread, I have created a filter that trims all parameter values.
When the form tag on the html page uses the default encoding of "application/x-www-form-urlencoded" I find a...
I was getting this exception as well... seems you need to have aopalliance.jar in your classpath... org.springframework.aop-3.0.0.RC3.jar is not enough.
You can download the file from here:...
Yeah, they changed the method of configuration. Much of it is documented and much is not (usually you can find the "not" part somewhere around here).
@see ...
This seems to work:
${requestScope['javax.servlet.forward.request_uri']}
Are you sure commence() is executing? Does the following statement run?
logger.debug("Got ajax request but user is not authenticated... <snip>
If it does, then things are set up right......
Assuming you are using Spring Security, did you try overriding AuthenticationProcessingFilterEntryPoint.commence()? I think this worked for most situations for me, but I forget the details. Setup...
I think you need to give your submit button an "id" attribute and use that value for elementId in your ValidateAllDecoration:
<input type="submit" id="blah" value="Login" style="color:...
Thanks for the reply... I checked the logs and I don't think it could be that...
Entering state 'index' of flow ...
User event 'changeIt' raised
Exiting state 'index'
Entering state 'test'...
Hello, I'm trying to do a popup view using this...
<view-state id="index">
<transition on="changeIt" to="test" />
</view-state>
<view-state id="test" view="someTest" popup="true">
Jeremy,
After playing around with the latest version, I did determine that it did fix the looping issue (I needed to clear the browser cache). However, I did notice the following:
If the link...
duh... after that rant, I realized I'm not using POST at all! (I usually use the <form:form> tag which does POST by default.)
I added the method=post to the form tag and the redirect seems to work...
Thanks for the response Jeremy (and all your work on webflow)...
I downloaded and installed org.springframework.*-2.0.6.CI-10.jar and I still get "Invalid chunk ignored" and the infinite loop on...
Shino,
Thanks for your post... I used your javascript hack (no offense) to close my popup. I'm posting this in case someone might have a similar need, but I also would like to know if there is a...
Good idea Robert. I'd like to see more examples and docs myself.
It ain't much, but here's a dialog/popup box.
<div id="dialog1">
this is some dialog
</div>
This is a little difficult to explain, so please bear with me.
I'm having an issue with the spring form tags. I have a main flow that calls a subflow. The subflow and mainflow both use a...
In the example given, the global transitions represent menu navigation -- you should be able to add as many global transitions as you need to support your navigation. We are only using only one...
Ok, I am using a FlowHandler now to handle exceptions, but I see that the flowUrlHandler hooks to the FlowHandlerAdapter which doesn't have an id or any direct hooks to my FlowHandler -- it just...
We are doing something similar using this approach:
Global Transitions Flow:
<?xml version="1.0" encoding="UTF-8"?>
<flow xmlns="http://www.springframework.org/schema/webflow"
...
Ok, I tried it again (putting the EntityManager in the Service layer) and it worked. I guess it is because of the dao pattern I'm using as stated here...
...
I'm am trying to make use of the persistence-context in SWF 2.0.3, but I am still getting LazyInitializationExceptions. Below is some of my config info. The only thing that I see that I'm doing...