Please ask questions on the struts-user list; struts-dev is for the development of Struts itself.
Thanks, Dave --- On Fri, 6/6/08, VenkatBabu <[EMAIL PROTECTED]> wrote: > From: VenkatBabu <[EMAIL PROTECTED]> > Subject: How to pass dynamic value to the logic:equal tag? > To: dev@struts.apache.org > Date: Friday, June 6, 2008, 12:26 PM > I am new to this forum...forgive me if the question that i > am going to raise > is already present. I dont have time to go through all the > messages which > have been raised already. > > The problem is: > I have <logic:iterate id="ID1" > name="formbeanname" > property="VectorInBean" > indexid="index"> > <logic:equal name="ID1" > property="index" value="Dynamic Value from > the > bean"> > > logic:equal tag's value attribute shoud get populated > by a value from the > bean(i am storing the size of the vector in bean) which is > used in the > logic:iterate. I dont want to use scriptlets. > > Actually the problem is the Vector in the bean has list of > strings which > needs to be shown in the JSP one by one sepeared by > "commas(,)" and we need > to add "and" before the last string from the > vector. So i need to check it > dynamically whether the vector is reached the last but one. > > I need to solve this issue as soon as possible. Any help > would be very > grateful. > > > > > > -- > View this message in context: > http://www.nabble.com/How-to-pass-dynamic-value-to-the-logic%3Aequal-tag--tp17696332p17696332.html > Sent from the Struts - Dev mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > 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]