Logic:Equal

2004-01-07 Thread Kamal Gupta
Hi, I have a list which has some values which i get from database. I want to loop through the list and get values which are not duplicated for this i think the best way in struts is to use logic:equal. Can some one please send me some example on the same Regards Kamal Gupta

RE: Logic:Equal

2004-01-07 Thread Kamal Gupta
Hi, I am trying to store a value of a list into a variable on a jsp page. the clode below writes the information pf planstarttime on the jsp page. bean:write name=results property =planStartTime / if i want to store the value of plan start time into an int what should i do can anyone help

Re: Logic:Equal

2004-01-07 Thread Mark Lowe
Reckon you'll need to post the struts user list rather than the developer list. Before anyone will respond. On 7 Jan 2004, at 12:58, Kamal Gupta wrote: Hi, I am trying to store a value of a list into a variable on a jsp page. the clode below writes the information pf planstarttime on the jsp

Re: Logic:Equal

2004-01-07 Thread David Graham
--- Kamal Gupta [EMAIL PROTECTED] wrote: Hi, I have a list which has some values which i get from database. I want to loop through the list and get values which are not duplicated for this i think the best way in struts is to use logic:equal. Please post this question to struts-user

Variable value in logic:equal tag Help Req

2003-12-03 Thread Shakti
: logic:equal name=reassignedTaId value=%= refValue % I want to compare values from one arraylist with another using logic equal tag but in the value= tag how i can give a variable ?? Plz Help !!! Thanks Regards, Shakti - Original Message - From: Nicolas De Loof [EMAIL PROTECTED] To: Struts

DO NOT REPLY [Bug 21473] New: - logic:equal else tag?

2003-07-10 Thread bugzilla
/show_bug.cgi?id=21473 logic:equal else tag? Summary: logic:equal else tag? Product: Struts Version: Unknown Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Custom Tags

DO NOT REPLY [Bug 21473] - logic:equal else tag?

2003-07-10 Thread bugzilla
/show_bug.cgi?id=21473 logic:equal else tag? --- Additional Comments From [EMAIL PROTECTED] 2003-07-10 17:30 --- I didn't mean that exact syntax. I was trying to get the concept across because it would be very useful. You could design it however you want to. Here are two possible

DO NOT REPLY [Bug 21473] - logic:equal else tag?

2003-07-10 Thread bugzilla
/show_bug.cgi?id=21473 logic:equal else tag? [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution

Re: Help Needed In logic:equal

2002-07-25 Thread James Holmes
issue. i set the request.setAttribute(Task,John) in action class. in a forwarded jsp i wanted to compare the value set ijn action class by using logic:equal My code in Jsp is: logic:equal parameter=Task value=JohnJohn Wright/logic:equal But this gives me the error as: Cannot compare null

Help Needed In logic:equal

2002-07-24 Thread Sachin Mapara
Hi Could anyone help me out on the following issue. i set the request.setAttribute(Task,John) in action class. in a forwarded jsp i wanted to compare the value set ijn action class by using logic:equal My code in Jsp is: logic:equal parameter=Task value=JohnJohn Wright/logic:equal But this gives

Doubt in logic:equal

2002-07-11 Thread Srishankar Ramaswamy
How do we compare two variables using logic:equal without using scriplet. Bean1 { String x; } Bean2 { String y; } The logic required is : if(b1.x == b2.y) display message1. else display message2. end if., where b1, b2 are objects of type Bean1, Bean2 respectively

RE: Doubt in logic:equal

2002-07-11 Thread Srishankar Ramaswamy
I have only jsp 1.1 container. i would appreciate if u could provide a solution with struts tag. regards, sri. -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 10:40 AM To: Struts Developers List Subject: Re: Doubt in logic:equal Easy