Search:

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

Search: Search took 0.02 seconds.

  1. I'm glad my solution has helped others - I too...

    I'm glad my solution has helped others - I too spent way too much time figuring out what caused this problem.

    I guess I was just too used to Spring handling property field access for me, to think...
  2. @RunWith(Parameterized.class) with different set of Spring profiles per parameter

    I am putting this post here to be able to reference it from the Spring JIRA system. The code listed here is only proof of concept, it is not production ready code.

    In our system we have a setup in...
  3. I would like this feature also. Currently I...

    I would like this feature also.

    Currently I have worked my way around the challenge by creating an interceptor that unmarshals my header element and puts it as an attribute on the context. I need...
  4. I would suggest you have a look at the...

    I would suggest you have a look at the TransportContext - from that object you can get access to the httpServletRequest e.g. - you can get it using TransportContextHolder.getContext.

    For those...
  5. I finally figured out what was wrong. It turned...

    I finally figured out what was wrong. It turned out that the problem was caused by my POJO not having getter-methods and jackson defaulting to non_private field access.

    So the fix for me was to...
  6. Forget to include the error message

    HTTP ERROR 406

    Problem accessing /nasdvr/rest/schedule/showSchedule. Reason:

    Not Acceptable
    Powered by Jetty://
  7. Spring MVC 3.1 and Json "Not Acceptable" response - what should I check?

    I have run into a problem exposing a rest service.

    In my @Controller I have annotated the return type with @ResponseBody but I get 406 "Not Acceptable".

    I have searched forums and tried...
  8. Replies
    3
    Views
    1,055

    Hi Enrico I agree with you that hacking the...

    Hi Enrico
    I agree with you that hacking the framework is usually not an option.
    However NEVER is a strong word :-) - my take is that if all other options have been explored and the option left is...
  9. Replies
    3
    Views
    1,055

    Had the same issue

    I was tasked with almost the exact same job about a month ago.
    I got it working, but I went through quite a few debug sessions before I found out just how to override all places where Spring would...
  10. How to retrieve all flow definition urls?

    I need to create a list of all flow definition urls after the web context has been initialized - and keep getting updates if there are any changes to the flow definitions. Is there a way to do this?...
  11. Ok, thanks Marten. I think we are going to...

    Ok, thanks Marten.

    I think we are going to stick with the externalization of the cron parameter rather that switch to the XML configuration - since the XML config is not much more reader friendly...
  12. @Scheduled and externalization of configuration for fixedDelay and fixedRate problem

    I am using @Scheduled for simple scheduling of a job every 30 seconds.

    I wanted to use @Scheduled(fixedDelay=30000) but have a requirement that all configuration must be externalized.

    The...
  13. No, I did not hear anything regarding this...

    No, I did not hear anything regarding this problem. If you happen to fix it, I'd still like to know how :-)

    Regards,
    Flemming
  14. As a simple workaround I rewrote the pointcut...

    As a simple workaround I rewrote the pointcut expression so that only classes specified in stateless scopes are included in the pointcut.

    Since I have been unable to find a smarter way to do this...
  15. We're on IBM SDK 1.4, so no annotations but we're...

    We're on IBM SDK 1.4, so no annotations but we're using AspectJ syntax to form an expression matching method signatures.

    And yes while it is methods being annotated, what happens when using it...
  16. Is there a way to specify transient pointcuts?

    Hi
    I have a JSF application running Spring Web Flow, Spring MVC, Spring AOP and IceFaces for JSF. (We are running in a Websphere Portal Server on IBM SDK 1.4)

    I have a couple of pointcuts which...
  17. Replies
    2
    Views
    899

    I'm not quite sure this can do it, but...

    I'm not quite sure this can do it, but RequestContextHolder can give you the current flowexecution, state, flowid etc, you may be able to use that to check whether or not you are in the flow directly...
  18. Replies
    3
    Views
    994

    You're welcome and ok I see now why it is that...

    You're welcome and ok I see now why it is that way.



    You can make redirects in both view-states and in end-states. If you need flow A to end before going to flow B, you should make the redirect...
  19. Replies
    3
    Views
    994

    The view-attribute on end-state is ignored when...

    The view-attribute on end-state is ignored when the flow is running as a subflow.

    Perhaps you could return the variables from subflow B to A, so that flow A can use the view you have currently...
  20. I have also tried:

    I have also tried:


    <bean id="customFlowHandler" class="dk.jyskebank.test.PrivatkreditPortletFlowHandler">
    </bean>

    <bean id="portletModeHandlerMapping"...
  21. Registrering custom flowhandler does not work for me?

    I am using SWF 2.0.5 on a IBM Websphere Portal Server 6.0.1.4.

    Since redirects in a portal does not work unless you implement your own FlowHandler (section 13.6.1 in the SWF reference) I would...
Results 1 to 21 of 21