Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Spring Web Flow 2.3.0 Release

  1. #11

    Default

    showcase

    Code:
    DEBUG: org.springframework.web.servlet.DispatcherServlet - DispatcherServlet with name 'Spring MVC Servlet' processing POST request for [/springdemo/app/top-flow-with-embedded-subflow]
    DEBUG: org.springframework.webflow.mvc.servlet.FlowHandlerMapping - Mapping request with URI '/springdemo/app/top-flow-with-embedded-subflow' to flow with id 'top-flow-with-embedded-subflow'
    DEBUG: org.springframework.webflow.executor.FlowExecutorImpl - Resuming flow execution with key 'e3s1
    DEBUG: org.springframework.webflow.conversation.impl.SessionBindingConversationManager - Locking conversation 3
    DEBUG: org.springframework.webflow.execution.repository.impl.DefaultFlowExecutionRepository - Getting flow execution with key 'e3s1'
    DEBUG: org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl - Getting FlowDefinition with id 'top-flow-with-embedded-subflow'
    DEBUG: org.springframework.webflow.execution.factory.ConditionalFlowExecutionListenerLoader - Loaded [2] of possible 2 listeners for this execution request for flow 'top-flow-with-embedded-subflow', the listeners to attach are list[org.springframework.faces.webflow.FlowFacesContextLifecycleListener@f41393, org.springframework.webflow.security.SecurityFlowExecutionListener@46a09b]
    DEBUG: org.springframework.webflow.engine.impl.FlowExecutionImpl - Resuming in org.springframework.webflow.mvc.servlet.MvcExternalContext@e33b57
    DEBUG: org.springframework.webflow.engine.ViewState - Event 'start' returned from view [JSFView = '/WEB-INF/flows/top-flow-with-embedded-subflow/main.xhtml']
    DEBUG: org.springframework.webflow.engine.Transition - Executing [Transition@f1399 on = start, to = embedded-flow]
    DEBUG: org.springframework.webflow.engine.Transition - Exiting state 'main'
    DEBUG: org.springframework.webflow.engine.SubflowState - Entering state 'embedded-flow' of flow 'top-flow-with-embedded-subflow'
    DEBUG: org.springframework.webflow.definition.registry.FlowDefinitionRegistryImpl - Getting FlowDefinition with id 'embedded-flow'
    DEBUG: org.springframework.webflow.engine.SubflowState - Calling subflow 'embedded-flow' with input map['mode' -> 'embedded']
    DEBUG: org.springframework.webflow.engine.Flow - Creating [FlowVariable@fea539 name = 'userBean', valueFactory = [BeanFactoryVariableValueFactory@1145cc type = UserBean]]
    DEBUG: org.springframework.webflow.engine.ViewState - Entering state 'main' of flow 'embedded-flow'
    DEBUG: org.springframework.webflow.engine.impl.FlowExecutionImpl - Assigned key e3s5
    DEBUG: org.springframework.webflow.engine.ViewState - Rendering + [JSFView = '/WEB-INF/flows/embedded-flow/main.xhtml']
    DEBUG: org.springframework.webflow.engine.ViewState -   Flash scope = map['flowRenderResponse' -> true]
    DEBUG: org.springframework.webflow.engine.ViewState -   Messages = [DefaultMessageContext@f1d0b1 sourceMessages = map[[null] -> list[[empty]]]]
    DEBUG: org.springframework.webflow.engine.Transition - Completed transition execution.  As a result, the new state is 'main' in flow 'embedded-flow'
    DEBUG: org.springframework.webflow.execution.repository.impl.DefaultFlowExecutionRepository - Putting flow execution '[FlowExecutionImpl@d47c99 flow = 'top-flow-with-embedded-subflow', flowSessions = list[[FlowSessionImpl@1be6a65 flow = 'top-flow-with-embedded-subflow', state = 'embedded-flow', scope = map[[empty]]], [FlowSessionImpl@192e652 flow = 'embedded-flow', state = 'main', scope = map['viewScope' -> map['flowSerializedViewState' -> [FlowSerializedView@14f2dff viewId = '/WEB-INF/flows/embedded-flow/main.xhtml']], 'tab' -> [null], 'userBean' -> org.springframework.samples.webflow.ajax.UserBean@154c72c]]]]' into repository
    DEBUG: org.springframework.webflow.execution.repository.impl.DefaultFlowExecutionRepository - Adding snapshot to group with id 5
    DEBUG: org.springframework.webflow.conversation.impl.SessionBindingConversationManager - Putting conversation attribute 'scope' with value map['flashScope' -> map['messagesMemento' -> map[[empty]]]]
    DEBUG: org.springframework.webflow.conversation.impl.SessionBindingConversationManager - Unlocking conversation 3
    DEBUG: org.springframework.web.servlet.DispatcherServlet - Null ModelAndView returned to DispatcherServlet with name 'Spring MVC Servlet': assuming HandlerAdapter completed request handling
    DEBUG: org.springframework.web.servlet.DispatcherServlet - Successfully completed request
    Thanks,
    Vijay

  2. #12
    Join Date
    Jun 2011
    Posts
    5

    Default

    Hi Vijay,

    I'm having the same issue here. Did you have any success?

  3. #13

    Thumbs down No luck

    Hi Yanaga,

    I am sorry for the late reply, I haven't found any way to proceed on this issue. What about you?

    Thanks,
    Vijay

  4. #14
    Join Date
    Jun 2011
    Posts
    5

    Default

    Hi joy192k,

    The only way I've found to make it work was to put the ?mode=embedded in all the urls starting flows. This way the partial-response works fine. Any other attempt was unsuccessful.

    <input name="mode" value="'embedded'"/> was a fail for me.

  5. #15

    Default

    Hi Yanaga,

    That worked for me as well ?mode=embedded, but it doesn't work for sub-flows, i can't start any sub-flows in embedded mode. Did you get a chance to make that work?

    Thanks,
    Vijay

  6. #16
    Join Date
    Jun 2011
    Posts
    5

    Default

    If the parent flow is started with ?mode=embedded, the subflows also work as embedded. Works for me at least. In primefaces I have to make commandButton ajax="false" to work in post-redirect mode if the parent is started as embedded.

  7. #17

    Default

    Thanks, I was facing some issues to get subflows in embedded mode, but will try that again and see if i can get it working as well

  8. #18

    Default

    If you have any clue, please do not hesitate to share!
    http://pandorabracletshop.com

  9. #19
    Join Date
    May 2009
    Posts
    4

    Default

    Quote Originally Posted by yanaga View Post
    If the parent flow is started with ?mode=embedded, the subflows also work as embedded. Works for me at least. In primefaces I have to make commandButton ajax="false" to work in post-redirect mode if the parent is started as embedded.
    Thanks Yanaga. ajax="false" is the key.

  10. #20
    Join Date
    Aug 2011
    Posts
    5

    Default

    Hi all,

    Did anyone make any progress with using <input name="mode" value="'embedded'"/> - the way it is in the sample?

    Kevin.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •