Search:

Type: Posts; User: Paul Wilson; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Please post your...

    Please post your /WEB-INF/config/webflow-config.xml file.

    Paul
  2. What URL are you using to access the flow? What...

    What URL are you using to access the flow?
    What happens when you click on the link?
    What does the log say?
    Shouldn't the URL be:


    <a href="${flowExecutionUrl}&_eventId=continue">Go to next...
  3. Yes, I'd only write AbstractXmlFlowExecutionTests...

    Yes, I'd only write AbstractXmlFlowExecutionTests for transition logic and asserting scoped values before view-rendering.



    You can specify global-transitions that are inherited into different...
  4. Replies
    4
    Views
    518

    Hi there, Just wondering why you would want...

    Hi there,

    Just wondering why you would want RESTful URLs for your flowExecutionURLs? It doesn't seem a good fit to me...

    Paul
  5. You can achieve what you wanted within 'on-entry'...

    You can achieve what you wanted within 'on-entry' of the action state. This doesn't trigger events upon evaluation.



    Really? Can you explain why?
  6. Replies
    3
    Views
    1,427

    Great. I had been using my approach previously,...

    Great. I had been using my approach previously, however yours is more concise!
  7. Replies
    3
    Views
    1,427

    Try registering a FlowExecutionListener (subclass...

    Try registering a FlowExecutionListener (subclass FlowExecutionListenerAdapter) implementing 'sessionEnded' as an inner class of your JUnit test suite and assert the k/v pairs of the attribute map...
  8. An action-state, like a view-state, is looking...

    An action-state, like a view-state, is looking for an 'event' to trigger a transition that it recognises. I was surprised to learn that 'set' causes an event and after consulting the code, can see...
  9. Yes, it triggers an event with id 'success' and...

    Yes, it triggers an event with id 'success' and therefore matches your catch-all transition. You can add 'on-entry' within your action state and do what you want within that, safe in the knowledge...
  10. Yes, I believe you can make this happen (despite...

    Yes, I believe you can make this happen (despite Webflow's lack of explicit support for it). Could you first provide code examples and debug logging from a validating postback that you hope to be...
  11. Try using 'set' rather than 'evaluate'. The...

    Try using 'set' rather than 'evaluate'. The action state will attempt to transition from an 'evaluate' if a matching transition exists, whereas 'set' simply sets a variable in a scope.
  12. Webflow executes the actions in order until one...

    Webflow executes the actions in order until one of them produces a result that matches a transition. Since you have a wildcard transition:


    <transition to="checkConsumerRequest"/> which is...
  13. Off the top of my head, try using 'set' rather...

    Off the top of my head, try using 'set' rather than 'evaluate' for the first action.
  14. Is your action not itself a Spring bean, and...

    Is your action not itself a Spring bean, and therefore injectable? I would provide DAO instances via DI rather than passing as method params.
  15. Replies
    4
    Views
    1,016

    *BUMP* Webflow 3 is an exciting concept that...

    *BUMP*

    Webflow 3 is an exciting concept that has been mentioned through numerous channels over the years and recently, from Jurgen's Spring 3.1 interview to Rod's 2GX keynote - are SpringSource...
  16. Replies
    15
    Views
    2,425

    For example, the 'Search Criteria' facility uses...

    For example, the 'Search Criteria' facility uses radio buttons to select the page size for the search (in the booking-mvc example). Take a look at the model object SearchCriteria.java and the...
  17. Replies
    15
    Views
    2,425

    The radio button should have a name and a value...

    The radio button should have a name and a value associated with it. The name should map to a property on your model object, and the value is what's assigned to that if the user selects it prior to...
  18. Replies
    15
    Views
    2,425

    Hi Miky, Read the section on binding in the...

    Hi Miky,

    Read the section on binding in the webflow docs:

    http://static.springsource.org/spring-webflow/docs/2.3.x/reference/html/ch05s06.html

    Essentially, when the HTML page generated by...
  19. Replies
    15
    Views
    2,425

    In AbstractMvcView#render()

    In
    AbstractMvcView#render()
  20. Replies
    15
    Views
    2,425

    I can see in the code where the various scopes...

    I can see in the code where the various scopes are getting merged into the request context before it's forwarded to the JSP.

    Sounds like you need to post examples of what you're actually doing,...
  21. Replies
    15
    Views
    2,425

    From within JSP, use the Expression Language...

    From within JSP, use the Expression Language (EL):


    ${foo}

    Or if the value is a property within a 'foo' object:


    ${foo.someValue}
  22. Replies
    1
    Views
    557

    Maybe you could achieve this using SpEL and a...

    Maybe you could achieve this using SpEL and a top-level flow that dispatches to the correct tenant flow?



    <subflow-state id="dispatch"...
  23. Replies
    15
    Views
    2,425

    Webflow exposes the view model provided in the...

    Webflow exposes the view model provided in the view-state definition and all conversation scoped variables to the view including;

    conversation scope
    flow scope
    view scope
    flash scope
    ...
  24. Replies
    5
    Views
    2,567

    To configure webflow to use JSR-303 validation...

    To configure webflow to use JSR-303 validation take a look here:

    http://static.springsource.org/spring-webflow/docs/2.3.x/reference/htmlsingle/spring-webflow-reference.html#view-validate

    then...
  25. Done:...

    Done: https://jira.springsource.org/browse/SWF-1453
Results 1 to 25 of 34
Page 1 of 2 1 2