flowPage (Borges::Tutorial)

    # File lib/Borges/Component/Tutorial.rb, line 19
      def flowPage
        return %^Simple action methods, like <tt>#increment</tt>, simply modify the component's internal state, or, in a more complex application, interact with the domain model or database.  Action methods may also, however, make calls to other components.  Calling a component is much like a method or subroutine call: the new component takes control for as long as it wants, and is displayed in place of the old one.  Eventually, the new component may return control back to its caller
      #{empty}
      On the right is a counter that has been modified to create and call a simple dialog component as it goes below zero.  The decrement method now looks like this:
      <pre>
      <b>decrement</b>
      count = 0 ifTrue:
        do self.call: (Dialog message: "Going negative") end
      count := count - 1
      </pre>
      Clicking the "OK" button on the dialog will return control back to the counter
      #{informCounter}
      Components may also return a value as they return control to their caller.  This value is returned from the <tt>#call:</tt> message send.  For example, Dialog can be configured to present Yes and No buttons to the user, and return a true or false value.  This counter has the following decrement method:
      <pre>
      <b>decrement</b>
        |dialog|
        count = 0 ifTrue:
        do dialog := Dialog confirmation:
                    "Are you sure you want to go negative?"
        (self.call: dialog)  ifFalse: do return self.endend

        count := count - 1
      </pre>
      #{confirmCounter}^
      end