> -----Original Message----- > From: Vinicius Caldeira Carvalho > [mailto:[EMAIL PROTECTED] > Sent: Monday, December 27, 2004 12:21 PM > To: Struts Users Mailing List > Subject: nested:select and expression evaluation > > > Hi there I checked the tld for nested-el and it shows that > the property > onChange has the rtexprvalue is set to true. > > But I try to put some expression language value in there and it's not > working: > > <nested:iterate ..... indexId="idx"> > > <nested-el:select onchange="changeProduct($idx)"> > > it's printing changeProduct($idx) instead of changeProduct(0) ... > changeProduct(1) ... etc. > > > Any ideas?
Off the top of my head it should be: <nested-el:select onchange="changeProduct(${idx})"> > > thanks > > > > --------------------------------------------------------------------- > 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]