> -----Original Message----- > From: Jason Vinson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 3:30 PM > To: Struts Users Mailing List > Subject: Re: RE: noob question - iteration of a table > > > you'll have to excuse my improper use of the html:form tag, i > am still learning all the supported attributes (actually i > have been going at this iterate in an ad hoc manner).
Please refer to http://jakarta.apache.org/struts/userGuide/struts-html.html#form > I > would potentially like to be able to pull data from a source > and populate this table (particularly from Clarify's Clarify > Business Object, aka cbo, API). Is the proper place for data > aquisition in the Struts implementation of the MVC paradigm > in the Action or in the ActionForm? I gather from your last > comment about putting it on the request that it should > actually be gathered in the Action class then passed into the > form, rather than simply grabbed from the system in the > ActionForm class. Quite right. Keep your business logic out of Struts as much as possible. You'd typically have Action or its delegates invoking business services that provide the necessary data. This subject has been discussed repeatedly on this list. You can locate it easily in the archives; search for "design strategy" or "MVC" or just the scan the list -- it's hard to miss > I guess that's something i need to > straighten out first... So much for diving in head first J A helmet would help ;) We are all guilty of doing that at one point or another. > > Jason Sri --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

