Search:

Type: Posts; User: maward; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Same problem

    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...
  2. Replies
    3
    Views
    824

    That is a distinct possibility — if no other...

    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...
  3. Replies
    3
    Views
    824

    Spring Webflows swallow exceptions

    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...
  4. Extracting current flow ID safely from request object

    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...
  5. Replies
    1
    Views
    1,130

    Weird! It's back as before now -- is this...

    Weird! It's back as before now -- is this possibly something to do with being logged in?
  6. Replies
    1
    Views
    1,130

    Changes to forum's search facility

    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...
  7. Replies
    1
    Views
    678

    Sub-sub-flow can't be found

    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...
  8. Interesting -- I didn't expect it. I believe...

    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...
  9. Errors ceased to be visible in model after changing to continuations

    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...
  10. Replies
    5
    Views
    1,183

    I'd really like to know this too! I have subflows...

    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...
  11. Does nobody care if their HMTL is valid or did my...

    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?
  12. The situation is worse with radio buttons. These...

    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...
  13. Replies
    2
    Views
    1,636

    Spring doesn't require cookies, it just uses the...

    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...
  14. spring.ftl - form macros can cause validation errors

    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...
  15. Replies
    2
    Views
    1,016

    It's not encryption you need - it is simple...

    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...
  16. Replies
    3
    Views
    1,401

    In my unit tests I was getting a similar looking...

    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&#40;&#41;;

    Map localeResolverProps =...
  17. Thread: testing views

    by maward
    Replies
    6
    Views
    2,360

    thanks anyway yatesco, I appreciate the...

    thanks anyway yatesco, I appreciate the contribution.
    Matt
  18. Thread: testing views

    by maward
    Replies
    6
    Views
    2,360

    That's exactly what I'm trying to do! Umm,...

    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...
  19. Thread: testing views

    by maward
    Replies
    6
    Views
    2,360

    testing views

    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...
  20. Replies
    6
    Views
    1,916

    I must confess, I've been doing that very badly!...

    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...
  21. Replies
    6
    Views
    1,916

    Re: How to avoid hard coding URL's in JSP pages

    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...
  22. Replies
    1
    Views
    1,014

    Re: formView as successView: is it possible?

    Instead of doing something like this:



    return new ModelAndView&#40;getFormView&#40;&#41;, ...&#41;


    do something like this:
  23. Replies
    0
    Views
    708

    accessibility, WCAGI and databinding

    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...
  24. Re: Edit spring.ftl's checkSelected

    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...
  25. Unfortunate freemarker/spring integration problem

    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...
Results 1 to 25 of 45
Page 1 of 2 1 2