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
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
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
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
--- "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
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
--- "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
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
, 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.
>
&
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 &
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
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
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.
---
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
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
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
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
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
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
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()
--
> -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?
>
>
>
>
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
> 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
[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
[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
25 matches
Mail list logo