--- Geoffrey Talvola <[EMAIL PROTECTED]> wrote: [...] > Are you using self.includeURL() from the controller servlet to > pull in the > psp's? Or self.callMethodOfServlet()? > > - Geoff
I'm using self.includeURL() for includeing the views. Then when the controller is done, It does a response.sendRedirect() to the next controller servlet. Currently the next servlet is hardcoded but I'm trying to architect a work flow engine of sorts for use in Webware. I've just started thinking about it, and haven't gone to far with it, but the basic idea is that a work flow will define a path through the available controllers with pre-conditions and post-conditions for continuing to another servlet. The main reason is for thinking about work flow, is that I'm trying to write an internal sales and operations application that will have the same screens/views for both departments. The two departments will have access to the same data, but will have different flows through that data. For instance take a sales person as the first example 1. Search for customer 2. Select or Create customer 3. Collect customer addresses 4. Collect customer contact methods 5. Select associated persons 6. Create service request 7. Add Items to service request 8. Verify service request 8a. Edit any previously entered data 9. Create contract 10. Send contract to customer via selected contact methods Now take a look from the operations point of view 1. Receive contract 2. Search for service request 3. Verify service request 3a. Edit any preciously entered data 4. Confirm contract with all associated parties 5. Confirm payment 6. Schedule service request The application design is currently a tab based web interface. The idea of a work flow would make this easy to reuse because both types of end user will have to enter and edit the same information related to a service request, but the next page that they have to visit is different. I guess that work flows could/should be allowed to contain another work flow as a step. This would allow for the definition of a flexible hierarchy of actions that users are allowed to perform based on their group or some security model yet to be figured out. If any of this sounds intriguing please feel free to comment, as I've just started to think this though and could use some input. Thanks. --Karl __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
