Marco Tedone writes: > > ----- Original Message ----- > From: "Rodrigo di Lorenzo Lopes" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Sunday, June 08, 2003 10:34 PM > Subject: logic:iterate and html:submit > > > > Friendly developers, > > > > I am substituting html:link to html:submit, to populate the actionForm > before to change the action. > > I would like use html:submit button to edit items of a collection. > > When I ws using html:link I had specified a property of this item to find > its. > > So... how could I substitute html:link to html:submit ??? > > > > > > I was using ... > > <sslext:link > > page="/addresses/main.do" > > paramId="hash" > > paramName="address" > > paramProperty="hash"> > > <bean:write name="address"property="streetAddress"/> > > </sslext:link> > > > > And I am trying using ... > > <html:submit property="buttonAddress(address.hash).name">Edit > > </html:submit> > > but it doesnt work > > What does 'buttonAddress(address.hash).name ' represent? It seems to me > that this kind of code couldn't be used neither for a javascript nor for a > java code. > > Marco > >
ok .. I specified getButtonAddress(String hash) that returns an ButtonBean ButtonBean has a method getName... But, if you have other suggestion, I will be very happy. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]