struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cedric Levieux" <jordimcl...@gmail.com>
Subject Re: Regarding LOGIC tags
Date Tue, 01 Feb 2005 12:41:23 GMT
and that's why I have my own tags to make this kind of tests between my
beans :p

----- Original Message ----- 
From: "Kishore Senji" <ksenji@gmail.com>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Thursday, January 27, 2005 7:55 AM
Subject: Re: Regarding LOGIC tags


> On Thu, 27 Jan 2005 10:48:47 +0530, Krishna Mohan Radhakrishnan
> <KrishnaMohan_R@infosys.com> wrote:
> >
> > Hi all,
> > I have a very simple doubt on struts equal tag.
> >
> > The tag is like this
> > <logic:equal name="planModel" property="plandesc1" value="planDesc2">
> > </logic:equal>
>
> Here is one way:
>
> <bean:define id="planDesc2" name="planModel" property="planDesc2"/>
> <logic:equal name="planModel" property="plandesc1" value="<%=planDesc2%>">
> </logic:equal>
>
> >
> > Here planDesc1 and planDesc2 are both beans of the same class planModel.
> >
> > Can I have a comparison with 2 beans of the same class.
> > I heard that logic equal comparison has to be done to a constant valu.
> >
> > Any other method to do this.
> >
> > Regards,
> > Krishna Mohan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


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


Mime
View raw message