struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: How to pass dynamic value to the logic:equal tag?
Date Fri, 06 Jun 2008 16:43:52 GMT
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 <bs_ramana@yahoo.co.in> wrote:
> From: VenkatBabu <bs_ramana@yahoo.co.in>
> 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: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message