Steve: I'll start with the short form of the answers - let me know if you need more...
> Q1) Does anyone know where the documentation is (or if there is any) for what > Commands are, and how they are used? Best guide is the Javadoc: http://www.keelframework.org/javadoc/keel-core/org/keel/services/model/Command.html Some of the doc on the Wiki gives a quick overview, but the real "meat" is in the Javadoc, and the examples of commands in Poll. > Q2) How does one call another Model from the current Model, anyways (or is this what > Commands are for?) That's one thing they can be used for. Theoretically, it's a bad idea to call a model from another model, as it makes it difficult to do sequences and workflows, but there are exceptions. A Command gives you the "execute" method, described best here: http://www.keelframework.org/javadoc/keel-core/org/keel/services/model/Command.html#execute(org.keel.services.model.ModelRequest, org.keel.services.model.ModelResponse, boolean, boolean) > Q3) Is it possible to call a Model from a JSP? (As a JSP is a servlet, the > theoretical answer should be yes). Technically, no - a Model is a server-side object, you must go through a KeelRequest, which then calls the model and passes back the KeelResponse. Depends on how you mean "call", to a degree: You can jump to a new model with a Command, or via a Sequence (or a Workflow). You can include the output of a model (and it's view) in another one with a JSP "include", or you can script models together on the server side via sequences (or workflows) and get a "combined" output. HTH! Michael Nash JGlobal Ltd. http://www.jglobal.com Bahamas Commerce and Trade http://www.bahamascommerce.com http://keelframework.org/documentation Keelgroup mailing list [EMAIL PROTECTED] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
