RE: logic tag question

2008-11-05 Thread Russo, Joe
Thanks for your reply. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 12:03 PM To: Struts Users Mailing List Subject: Re: logic tag question The issue is the bean tag inside the logic tag; that isn't valid JSP. You'll n

RE: logic tag question

2008-11-05 Thread Russo, Joe
Thanks for your reply. -Original Message- From: Kawczynski, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 11:59 AM To: Struts Users Mailing List Subject: RE: logic tag question You can't nest taglibs. Try using the el tags and using an expression in

Re: logic tag question

2008-11-05 Thread Dave Newton
The issue is the bean tag inside the logic tag; that isn't valid JSP. You'll need to use EL there via the EL tags or JSP 2.0 support, depending on your container. Dave --- On Wed, 11/5/08, Russo, Joe <[EMAIL PROTECTED]> wrote: > From: Russo, Joe <[EMAIL PROTECTED]> > Subject: logic tag questi

RE: logic tag question

2008-11-05 Thread Kawczynski, David
You can't nest taglibs. Try using the el tags and using an expression in place of the Nested bean:write taglib call. -Original Message- From: Russo, Joe [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2008 11:52 AM To: user@struts.apache.org Subject: logic tag question Hi, I a

RE: Logic tag library

2008-02-13 Thread Dave Newton
--- "Allen, Daniel" <[EMAIL PROTECTED]> wrote: > Keeping tags actually renders perfectly well for me right now > (no exceptions, no apparent problems with the resulting page), but with > peculiar results for the actual logic it's supposed to be doing, so I > wasn't sure whether that was a configur

RE: Logic tag library

2008-02-13 Thread Allen, Daniel
Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 3:36 PM To: Struts Users Mailing List Subject: Re: Logic tag library --- "Allen, Daniel" <[EMAIL PROTECTED]> wrote: > Is there any reason we shouldn't use the Logic tab li

Re: Logic tag library

2008-02-13 Thread Dave Newton
--- "Allen, Daniel" <[EMAIL PROTECTED]> wrote: > Is there any reason we shouldn't use the Logic tab library > (http://struts.apache.org/tags-logic) with Struts 2? Because it won't work. > If so, is there any subsitute? > I'm looking specifically for and > (along with the old ) I thought I alr

RE: Logic Tag Question

2006-03-06 Thread Shasirekha Engala
is the timeZone membervariable of timeZones? then replace the logic:equal tag with the following -Original Message- From: Kalcevich, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, March 06, 2006 8:41 PM To: Struts Users Mailing List Subject: RE: Logic Tag Question Laurie, I

RE: Logic Tag Question

2006-03-06 Thread Kalcevich, Daniel
, March 04, 2006 6:01 PM To: user@struts.apache.org Subject: Re: Logic Tag Question Change "${tz}.value" to "${tz.value}". Kalcevich, Daniel wrote: > The is fine. I know that works. The problem is with the > logic:equal comparion. > &

Re: Logic Tag Question

2006-03-04 Thread Laurie Harper
om the "tz" variable? -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 1:29 PM To: Struts Users Mailing List Subject: Re: Logic Tag Question On 3/3/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: But the problem is that the &

RE: Logic Tag Question

2006-03-03 Thread Kalcevich, Daniel
lto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 1:29 PM To: Struts Users Mailing List Subject: Re: Logic Tag Question On 3/3/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > > But the problem is that the "value" that I want to compare in the > logic:equal tag is really

RE: Logic Tag Question

2006-03-03 Thread [EMAIL PROTECTED]
wouldn't that be: Bryan LaPlante -- Original Message --- From: "Kalcevich, Daniel" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Fri, 3 Mar 2006 13:17:02 -0800 Subject: RE: Logic Tag Question > OK, I am now able to get the itera

Re: Logic Tag Question

2006-03-03 Thread Michael Jouravlev
On 3/3/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: > > But the problem is that the "value" that I want to compare in the > logic:equal tag is really ${tz}.value. But how can I set the value to > the "getValue()" from the "tz" variable. None of these works? Michael. ---

RE: Logic Tag Question

2006-03-03 Thread Kalcevich, Daniel
lue to the "getValue()" from the "tz" variable. Daniel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, March 03, 2006 12:52 PM To: Struts Users Mailing List Subject: Re: Logic Tag Question If I am not mistaking you will use either

Re: Logic Tag Question

2006-03-03 Thread [EMAIL PROTECTED]
If I am not mistaking you will use either the collection or the property attribute but not both. http://struts.apache.org/struts-taglib/tagreference-struts-logic.html#logic:iterate For each iteration of the loop you should be able to compare the value of the id property in you logic:equal tag to t

Re: Logic Tag Question

2006-03-03 Thread Wendy Smoak
On 3/3/06, Kalcevich, Daniel <[EMAIL PROTECTED]> wrote: I have the following: > - An ArrayList in the ServletContext called > "timezones" > > - A Form Bean in the request scope called "accountProfileForm" > > I want to be able to loop through the values in the "timezones" > attri

Re: logic tag - to check form elements

2005-09-28 Thread Murray Collingwood
Hi Raghu What's the name of the form bean? Let's assume it's "myformbean" for the example: ... Use the 'name' parameter to reference the form bean name. Use the 'property' parameter to reference the property. Note, you will be testing the value in the form- bean, not the value in the h

Re: logic tag - to check form elements

2005-09-28 Thread Michael Jouravlev
On 9/28/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote: > I have a hidden html varibale called operation. > This defines a field in an HTML form, server knows nothing about it. > Now I want to conditionally display some buttons based on the value of > this hidden field. I am trying somet

Re: logic tag

2004-12-13 Thread Andrew Hill
Sorry mate, you going to have to be a bit more specific about the problems your having, and precisely what result it is that you are actually trying to achieve, as we are having some trouble understanding the question! I am having a vector object in jsp In a request or session attribute I pre

Re: logic tag

2004-12-10 Thread Sunny
Pramod wrote: I have a bean object in the jsp page. How can i use the logic:iterate tag to producing the result? If the bean has a Collection say "collection" , you can do note: you should have a getter method for "collection" in the "bean", for e.g. getCollection() --

RE: Logic tag to JSTL

2004-11-10 Thread Robert Taylor
> -Original Message- > From: TroyGeek [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 10, 2004 4:25 PM > To: Struts Users Mailing List > Subject: Logic tag to JSTL > > > How would I turn the following logic tag into a JSTL tag. Would it use > the core tags? > > > >

Re: Logic tag to JSTL

2004-11-10 Thread Erik Weber
Erik TroyGeek wrote: How would I turn the following logic tag into a JSTL tag. Would it use the core tags? thank you! Troyston Campano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

RE: Logic tag to JSTL

2004-11-10 Thread Slattery, Tim - BLS
> How would I turn the following logic tag into a JSTL tag. > > >property="projectName"/> -- Tim Slattery [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Re: logic tag

2004-05-09 Thread Craig McClanahan
[EMAIL PROTECTED] wrote: I am new to struts. I have a question regarding logic tag. I was replacing those if else if . end if stuffs with logic tags on jsp pages. For example: if num==1 {// condition 1 block 1; }else if num==2 {// condition 2 block 2; } Usually if condition 1 is true, con

Re: logic tag

2004-05-09 Thread Sven Kiesewetter
[EMAIL PROTECTED] wrote: I am new to struts. I have a question regarding logic tag. I was replacing those if else if . end if stuffs with logic tags on jsp pages. For example: if num==1 {// condition 1 block 1; }else if num==2 {// condition 2 block 2; } Usually if condition 1 is true, con