[Opensource] StateForm interface
Roberto
roberto at hess.com.br
Thu Mar 6 04:29:59 PST 2003
Em Qua, 2003-03-05 às 21:25, Mike Traum escreveu:
> I found the fact that StateForm is an empty interface confusing also. In the
> case of the perform() method, StateForm is really a ControllerForm.
> ControllerForm implements StateForm and extends ActionForm. So, what you
> really want to look at is ActionForms, which are part of Struts. See
> http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_model.html#act
> ionform for a general description.
>
> I currently develop using these, so feel free to ask more questions...
>
> mike
So you don't use per-state forms? The Expresso Workflow and Forms doc
suggests that each state in a controller would have a subset of the
controller form in a particular form, to help isolate states from each
other. So, if a StateForm is a ControllerForm, there's no way to isolate
states at all, right?
And so, for every controller I write, should it have an ActionForm in
the struts-config.xml?
roberto
More information about the Opensource
mailing list