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). 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. I guess that's something i need to straighten out first... So much for diving in head first :)
Jason -------Original Message------- From: Sri Sankaran <[EMAIL PROTECTED]> Sent: 02/06/03 03:22 PM To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: RE: RE: noob question - iteration of a table > > > -----Original Message----- > From: Jason Vinson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 3:00 PM > To: Struts Users Mailing List > Subject: Re: RE: noob question - iteration of a table > > > > >Is this inside a form element that has the ActionForm spgLooper > >associated with it? > > such as: > <html:form property="spgLooper" action="/jsp/spgLooper.do"> > Huh? The <html:form> doesn't support a 'property' attribute > if so, then yes. > > > Is spgLooper called spgLooper in your form declarations of your > > struts-config.xml? > > under the form-bean declarations: > <!-- looper form bean --> > <form-bean name="spgLooperForm" > type="spgLooperForm"/> > I would recommend you to place your spgLooperForm class in a named package. Remember to appropriately update the type attribute above. > and in the action-mapping section: > <!-- spgLooper action --> > <action path="/jsp/spgLooper" > type="spgLooperAction" > name="spgLooperForm" > input="/jsp/spgLooper.jsp" > scope="request"> > <forward name="success" path="/jsp/spgHome.jsp" /> > <forward name="failure" path="/jsp/spgLooper.jsp" /> > </action> > > what am i overlooking? Is an object of type spgLooperForm being instantiated and placed in the request/session under the key 'spgLooperForm' before the spgLooper.jsp page is invoked? > Jason > Sri --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

