Yeah, I could. Let me throw a little more light on the situation. My intention is to have a multi line table of line items for the shipment info and then a single data item at the bottom (perhaps top) of the form for the single data item to be entered. The data item can be a String. The line items for the shipment would be an ArrayList of LineItem objects.
I want to have struts handle the auto loading/extracting of the String field and I want to use the <logic:iterate> tag to display the line items myself. This is not wildly different to the registration.jsp, except that I don't really want to pass the extra data in through the session. Simon ----------------------------------------------------------------- Simon P. Chappell [EMAIL PROTECTED] Java Programming Specialist www.landsend.com Lands' End, Inc. (608) 935-4526 >-----Original Message----- >From: Brian Holzer [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, April 10, 2002 10:27 AM >To: [EMAIL PROTECTED] >Subject: Re: ReadOnly data in a Form question > > >I'm not sure what exactly you are trying to do, but you can >put that extra data into your form, and then define the fields >in your JSP as this <strutshtml:text property="property_name" >size="20" readonly="true" />. > >Brian > >>>> "Chappell, Simon P" <[EMAIL PROTECTED]> 04/10/02 >07:40am >>> >I have no problem with getting data to and from a JSP in a >Form object. But if I want to send extra read-only >(display-only?) data to a JSP, can I put it in the Form object >and read it from there? If I don't have a JSP field with that >name (e.g.ReadOnlyData) would that work? > >The reason that I ask, is that for the situation I am thinking >of, I want to have a bunch of computed read-only data on a >form and then a single field to accept data and I would rather >not dump a potentially large amount of data into the session. > >All suggestions appreciated (especially from Mark! :-) > >Simon > >----------------------------------------------------------------- >Simon P. Chappell [EMAIL PROTECTED] >Java Programming Specialist www.landsend.com >Lands' End, Inc. (608) 935-4526 > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

