Search:

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

Search: Search took 0.01 seconds.

  1. destroy-method

    I ended up setting the destroy-method attribute in the bean definition and adding the respective method to the class. When the HTTP session is invalidated, the destroy-method will be invoked on your...
  2. Replies
    7
    Views
    1,081

    Check out this thread:...

    Check out this thread: http://forum.springframework.org/showthread.php?t=38890
  3. Replies
    2
    Views
    892

    If you're using redirectOnPause (default), the...

    If you're using redirectOnPause (default), the redirect is considrered another request, so your request variables disappear. Just grab the request parameter in your transistion in the first state...
  4. You need to put the value in single quotes: ...

    You need to put the value in single quotes:


    <set attribute="output" scope="flash" value="'test123'" />
  5. Replies
    3
    Views
    3,605

    Did you ever figure out the issue? I'm seeing the...

    Did you ever figure out the issue? I'm seeing the same thing.
  6. Currently, I'm checking in my .springBeans and...

    Currently, I'm checking in my .springBeans and .springWebflow to my SCM, which would work fine but the .springWebflow file contains references to the Eclipse project name in the <beans-config> tag. ...
  7. Replies
    2
    Views
    820

    If anyone cares, I was able to determine the end...

    If anyone cares, I was able to determine the end state by adding a flow execution listener and checking the state id on sessionEnded.



    setFlowExecutionListener(new...
  8. Replies
    2
    Views
    820

    Testing end-state

    Using AbstractXmlFlowExecutionTests, is there anyway to verify the id of an end-state that a completed flow ended on? I can only seem to verify the flow ended using assertFlowExecutionEnded().
  9. Replies
    22
    Views
    8,185

    If you want to store the locale in the session,...

    If you want to store the locale in the session, then you should be using the SessionLocaleResolver instead of the CookieLocaleResolver:


    <bean id="localeResolver"...
  10. Replies
    22
    Views
    8,185

    You don't need to send the locale with every...

    You don't need to send the locale with every request. It will be stored for the duration of the session.
  11. Replies
    22
    Views
    8,185

    Hi Nicolas - Have a look at the countries sample...

    Hi Nicolas - Have a look at the countries sample that is part of the Spring distribution. You'll need the following:


    <bean...
  12. Access session scoped bean via HttpSessionListener

    I'm running into problems while trying to perform some cleanup operations on sessionDestroyed in a HttpSessionListener. I've got the following code:



    public void...
  13. Thread: Errors

    by jerkoch
    Replies
    0
    Views
    591

    Errors

    Here is my situation:

    View A -> View B -> Action

    When I'm in the SWF Action, and an error occurs while making a call to my business tier, then I need to go back to View A and show the error. ...
  14. Replies
    3
    Views
    970

    Right, that's what I've gathered pouring over...

    Right, that's what I've gathered pouring over this forum. My MultiAction *is* very thin. It just groups a bunch of methods that make a single call to the service tier, then inspect the response and...
  15. Replies
    3
    Views
    970

    Action state errors

    I've searched for a solution to the following problem, but was suprised to find nothing. Upon submission of my form, I bindAndValidate and everything passes. I then transition to an action-state...
  16. Replies
    22
    Views
    8,185

    The is the JSP:

    The is the JSP:


    <form>
    <select name="locale" size="1" onChange="javascript:document.forms[0].submit();">
    <option value="null">Select</option>
    <option value="en">English</option>
    <option...
  17. Replies
    22
    Views
    8,185

    Another update: I fixed my...

    Another update: I fixed my LocaleChangeInterceptor problem. Now everything seems to work without the hidden eventId in the first form. Actually, it even works without the hidden flowExecutionKey....
  18. Replies
    22
    Views
    8,185

    Good point, if I keep my dropdown named "locale",...

    Good point, if I keep my dropdown named "locale", then wouldn't I need to put the "_eventId_language" as a hidden field in my first form? Otherwise, how would SWF know how to transition? I'm...
  19. Replies
    22
    Views
    8,185

    OK, I think I solved my problem. I ended up...

    OK, I think I solved my problem. I ended up putting two separate forms on the page. One for the dropdown language selection, and the other for the nav buttons. Both forms contain the hidden...
  20. Replies
    22
    Views
    8,185

    Thanks for the suggestions. I'm not using...

    Thanks for the suggestions.

    I'm not using continuations, so If I do ask you suggest and name the dropdown "_eventId_language" (at least I think thats what you meant), my form will always be...
  21. Replies
    22
    Views
    8,185

    Language selection

    Can anyone recommend how to deal with a page using SWF when there is a language selection dropdown? When the language is selected, I want to post the 'locale' parameter so the LocaleChangeInterceptor...
Results 1 to 21 of 21