Results 1 to 2 of 2

Thread: How to create a button which triggers a new flow

  1. #1
    Join Date
    Oct 2008
    Location
    Milan, Italy
    Posts
    17

    Default How to create a button which triggers a new flow

    Hi,

    I'm new to SWF so maybe my question will be trivial.

    I have an homepage and I'd like to create a button so that cliking on, it triggers a new flow.
    How could I define that button ?

    Attenton: I don't want it to trigger an event but to start a NEW FLOW, that's the point.

    This would be my idea but I don't think it's correct:

    HTML Code:
    ...
    <form method="post" action="${contextPath}/newFlow.do">
    <input type="submit" value="Go"/>
    </form>
    ...
    Thanks all and best regards,
    Ale

  2. #2
    Join Date
    Nov 2008
    Posts
    742

    Default

    Any particular reason why you're using ".do"? That's usually for Struts apps, right? SWF 2 doesn't support this, but I think SWF 1 has Struts support.

    If you're new to SWF, I would spend time making sure SWF is working when you manually type in the URL first. After this is working, then you can begin tinkering with the best way to launch the flow from your pages.

Posting Permissions

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