RE: logic:equal

2004-03-16 Thread Robert Taylor
Daniel, it would be easier to use JSTL for this: The string contained the word Struts. JSTL can compare values coming from any scope; application, session, pagecontext, request, or request parameters. Currently, the value attribute doesn not accept runtime values. You can verify this by loo

RE: Logic:equal

2004-02-19 Thread Slattery, Tim - BLS
> > How to compare boolean values by logic:equal? > > // do something > Use JSTL instead: // do something -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

RE: logic:equal using form bean property?

2003-11-06 Thread Greg Hess
m_pid; } Thanks, Greg > -Original Message- > From: David Graham [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 06, 2003 11:23 AM > To: Struts Users Mailing List > Subject: Re: logic:equal using form bean property? > > If you're using a Servlet 2.3 cont

Re: logic:equal using form bean property?

2003-11-06 Thread David Graham
If you're using a Servlet 2.3 container you should use the JSTL's and tags instead of the Struts tags. What do your getter and setter method for pid look like? David --- Greg Hess <[EMAIL PROTECTED]> wrote: > Hi All, > > I am iterating over a collection and want to display only a single > Ob

RE: LOGIC:EQUAL TAG COMPARISON. Apache Struts Online Doc Referenc e No t Clear

2003-10-14 Thread Chawla, Yogesh
ou have to use property="coll". -Ursprüngliche Nachricht- Von: Chawla, Yogesh [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 14. Oktober 2003 11:08 An: 'Struts Users Mailing List' Betreff: RE: LOGIC:EQUAL TAG COMPARISON. Apache Struts Online Doc Referenc e No t Clear

RE: LOGIC:EQUAL TAG COMPARISON. Apache Struts Online Doc Referenc e No t Clear

2003-10-14 Thread Chawla, Yogesh
That implies that logic:equal tag cannot be nested inside a logic:iterate. That means I cannot use the following logic.. Seems to be a poor demonstartion of Struts capability to me ! Now I have to use an if, else loop inside m

Re: logic:equal Tag

2003-09-04 Thread Vinit4J
talle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 05, 2003 12:59 AM Subject: Re: logic:equal Tag > Manglu, > > it must be something like > > > > where id should be the name which you pass to request.getAttribute("id") >

Re: logic:equal Tag

2003-09-04 Thread Jan Van Stalle
Manglu, it must be something like where id should be the name which you pass to request.getAttribute("id") Jan "manglu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I noticed that a lot of tags support only the request parameters and > bean attributes. > > If i want t

Re: logic:equal?

2003-07-29 Thread David Graham
--- Cristiano Monteiro dos Santos <[EMAIL PROTECTED]> wrote: > Hi there, guys. > > Is there a way to use the tag logic:equal to compare session or request > variables with a value? http://jakarta.apache.org/struts/userGuide/struts-logic.html#equal Although I recommend using the JSTL's tag inste

Re: logic:equal

2003-07-17 Thread Nicolas De Loof
You can try this : ... If you cahnge VIEW value, be carreful that your will have to force JSP recompilation because final static (constant) value will be compiled inline in generated servlet. Nico. - Original Message - From: "Vijay K Hegde" <[EMAIL PROTECTED]> To: "Struts Users

RE: logic:equal

2003-07-17 Thread Gandle, Panchasheel
You could define a var with and then compare value of view with "N" Panchasheel -Original Message- From: Vijay K Hegde [mailto:[EMAIL PROTECTED] Sent: Thursday, July 17, 2003 10:47 AM To: Struts Users Mailing List Subject: logic:equal Hi All, How do i use a static attribute of

RE: logic:equal problem

2003-02-05 Thread rajiv ahuja
toString() worked Thanks David _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe

RE: logic:equal problem

2003-02-05 Thread Karr, David
> -Original Message- > From: rajiv ahuja [mailto:[EMAIL PROTECTED]] > > Hi > > I am trying to use logic:equal tag to check whether a bean property is > equal > to another bean property or not. I am getting following error > > cannot resolve the synmbol: setValue(currentVar) location Equa

RE: logic:equal and EdHill Display taglib

2003-01-20 Thread Raible, Matt
Use a decorator: http://edhill.its.uiowa.edu/display-examples-0.8/example-imp-objects.jsp It's worked great for me. HTH, Matt > -Original Message- > From: Robert Taylor [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 20, 2003 10:01 AM > To: [EMAIL PROTECTED] > Subject: logic:equal a

RE: logic:equal and EdHill Display taglib

2003-01-20 Thread Robert Taylor
Thanks Jerome. I just didn't dig deep enough. I should have seen this. robert > -Original Message- > From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 20, 2003 12:17 PM > To: Struts Users Mailing List > Subject: RE: logic:equal and EdHill Dis

RE: logic:equal and EdHill Display taglib

2003-01-20 Thread Jerome Jacobsen
If you're trying to conditionally hyperlink the contents of a certain column of the current row then you'll have to use a Decorator. The current row of the list is not exposed in a scripting variable or scoped variable. For the reason why see http://edhill.its.uiowa.edu/display-examples-0.8/examp

RE: logic:equal within a nested logic:iterate

2002-10-18 Thread Sri Sankaran
Have you tried the following for line 6: assuming that 'getCat_id()' is the getter for the cat_id property of category. Sri -Original Message- From: dave beres [mailto:daveberes99@;hotmail.com] Sent: Wednesday, October 16, 2002 3:49 PM To: [EMAIL PROTECTED] Subject: logic:equal within

Re: logic:equal tag problem

2002-02-08 Thread Keith Bacon
maybe try value="<%= var%>" --- Philippe Hodapp / 1genia <[EMAIL PROTECTED]> wrote: > I would like a parameter in the value of the equal tag. Is this possible : > > > i try value="<%out.println(var)%>" but this don't work. > > > -- > To unsubscribe, e-mail: > For

RE: logic:equal and dynamic value

2001-09-20 Thread Matt Raible
Nope: 2001-09-20 06:25:57 - error-the file '\WEB-INF\pages\resourceWorkProfileManage.jsp' generated the following parse exception: org.apache.jasper.compiler.CompileException: C:\iPlanet\iPM6\ias\APPS\timetracker\timetracker\WEB-INF\pages\resourceWorkProfileManage.jsp(255,12) According to the TLD

RE: logic:equal and dynamic value

2001-09-20 Thread Sean Gollschewsky
Can't you use to save having to use a scriptlet in the value attribute? Cheers, Gollo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] The compiler is probably getting confused by the two sets of double quotes in your value specification. Try using single quot

Re: logic:equal and dynamic value

2001-09-19 Thread martin . cooper
The compiler is probably getting confused by the two sets of double quotes in your value specification. Try using single quotes around the overall expression, like this: -- Martin Cooper - Original Message - From: "Matt Raible" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesd

RE: logic:equal tag with more than one value?

2001-09-04 Thread Dudley [EMAIL PROTECTED]
yes, u just nest your logic tags, this is equivalent to AND do something this is equivalent to OR, seperate single logic tags each testing for some value/condition do something do something -Original Message- From: Marcel Andres [mailto:[EMAIL PROTECTED]] Sent: Tuesday, Septem

RE: logic:equal tage's value attribute

2001-07-19 Thread Siggelkow, Bill
I think your getting the error because of the placement of the quotes. Try using single quoutes around the JSP expression as follows ... -Original Message- From: Rachel Warburton [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 5:56 AM To: Struts-User (E

RE: logic:equal tage's value attribute

2001-07-19 Thread Rachel Warburton
Yeah, I've got that. I was just wondering if there was a better way to do it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 19 July 2001 11:20 To: [EMAIL PROTECTED] Subject: RE: logic:equal tage's value attribute Try this... first get t

Re: logic:equal

2001-07-19 Thread suhas
Check this forward me Suhas - Original Message - From: Stefan Faist <[EMAIL PROTECTED]> To: Struts <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 10:46 AM Subject: logic:equal > Hi all, > I call a jsp page with this foward: path="/menue.do?action=Edit"/> > and now I want

RE: logic:equal tage's value attribute

2001-07-19 Thread nuray . baskal
Try this... first get the request parameter and define a variable in a scriplet. Then use this variable in the value part. <% String paramQnrID = (String) request.getParameter("qnrId"); %> Hope it will work fine. -Original Message- From: rachel.warburton [ma

RE: logic:equal and nesting

2001-03-15 Thread Kyle Robinson
Thanks. I went with option number two. It's more correct for what I want to do. -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 15, 2001 10:28 To: '[EMAIL PROTECTED]' Subject: Re: logic:equal and nesting On Thu, 15

Re: logic:equal and nesting

2001-03-15 Thread John Raley
I run into this kind of thing a lot. It's a constant reminder that the tag syntax is not a substitute for the control structures we're used to in programming languages... It's ugly, but I would probably handle this with scripting vars: <% String theAction = null; %> <% theAction="contractorSearc

Re: logic:equal and nesting

2001-03-15 Thread Maya Muchnik
Do you need or not to have a statement ? Kyle Robinson wrote:  Here's a piece of code that I want to do.  However it gives a nested tag error as the closing tag ends up inside the . I basically want the form to do different actions based on the property "title".  Anyone know of a better way of

Re: logic:equal and nesting

2001-03-15 Thread Craig R. McClanahan
On Thu, 15 Mar 2001, Kyle Robinson wrote: > Here's a piece of code that I want to do. However it gives a nested tag > error as the closing tag ends up inside the . I > basically want the form to do different actions based on the property > "title". Anyone know of a better way of doing the sa

Re: logic:equal help ?!?

2000-11-24 Thread Pierre Métras
Title: logic:equal help ?!? Hi Michael,   That's a classic: rule true Remove the / from your opening tag and everything will work as expected. The XML parser is not smart enough to complain that it encountered a closing tag without opening... But take care that the comparison will try to chec