Has anyone found a solution to this? As the previous post says adding the template_exception_handler property with a value of rethrow to the FreemarkerConfigurer bean does mean that the exceptions...
Type: Posts; User: maward; Keyword(s):
Has anyone found a solution to this? As the previous post says adding the template_exception_handler property with a value of rethrow to the FreemarkerConfigurer bean does mean that the exceptions...
That is a distinct possibility — if no other ideas come to light then I think that's what I'll be doing. I would rather not subclass framework code where I do not need to, several concerns spring to...
Hi,
In order that customers see a pretty page instead of a stack trace, I use the spring exception resolver to provide an error view for all errors. With normal spring controllers this works well...
Is there a way to extract the ID of the current executing flow from the HttpServletRequest.
I'm trying to access the information in an interceptor, it needs to be secure as well, so the user...
Weird! It's back as before now -- is this possibly something to do with being logged in?
Is it just me, or did the 'Search this Forum' link change a couple of hours ago so that you are now required to enter text for a Captcha?
This is very frustrating -- especially when you have a lot...
I have a webflow 'A' that calls a subflow 'B'. Both A and B are defined in XML files. Subflow B has a subflow 'C' defined inline.
When I access B directly (i.e. /my-flows.html?_flowId=B) -- the...
Interesting -- I didn't expect it. I believe (though would have to check) that Expert MVC and Webflows said that one should be able to plugin in the continuations with no change in behaviour except...
I've just spent two days solving a really annoying problem! I noticed that one of my forms didn't appear to have any validation, so started to write some only to realise that actually there was...
I'd really like to know this too! I have subflows that I'd like to test - they return values using the output mapper and so far my integration tests (extends AbstractXmlFlowExecutionTests) don't have...
Does nobody care if their HMTL is valid or did my post get missed by those who do? If nobody cares can I make these changes to suit me?
The situation is worse with radio buttons. These really shouldn't have IDs unless the user has specifically assigned them as they are group controls, so they must have the same name but must have...
Spring doesn't require cookies, it just uses the Session API as-is. However, if you want to take advantage of URL-rewriting you will indeed have to use enocodeURL() and encodeRedirect() as...
Hi
I just ran a page through the W3C validator and was very surprised that it failed - at some point ID attributes have been added to all the form tags. This is fine if you only have one form on...
It's not encryption you need - it is simple URL-encoding (often referred to as URL-escaping) of the parameters. If you use Freemarker this can be achieved very easily indeed: <a...
In my unit tests I was getting a similar looking stack trace and fixed it using the following in the setUp() method:
appCtx = new StaticWebApplicationContext();
Map localeResolverProps =...
thanks anyway yatesco, I appreciate the contribution.
Matt
That's exactly what I'm trying to do!
Umm, I'm not using Velocity, I'm using FreeMarker - and mocking out the View would mean that it isn't used, but the view is required to render the...
The project I'm working on has a separate middleware API that is used by the web front-end. This is a large project and it isn't feasible for the middleware developers to notify me whenever a field...
I must confess, I've been doing that very badly! I've been tacking the parameters onto the end - very messy, you end up with things like:
<a href="<@myLib.appUrl...
I currently use the messages.properties file for storing URLs. This isn't perfect as there is still some duplication (SimpleUrlHandlerMapping etc.) of URLs - but at least I don't have them littered...
Instead of doing something like this:
return new ModelAndView(getFormView(), ...)
do something like this:
WCAGI standards for accessibility say that form fields should have example text in them. Date fields might for example have 'DD/MM/YY' as default text.
This causes problems when using automatic...
Thanks very much for looking at this. It seems however, that the change to the checkSelected macro isn't required.
I tried making a form that uses a command object with an int property named...
I am in the process of moving from Velocity to Freemarker and have just come across a problem.
Freemarker only allows hash-keys of type String. Spring however, uses hash-maps to hold the data...