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]
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
H
Hi,
I am trying to use a nested logic tag and I get an error: equal symbol
expected
Any help would be appreciated.
Thanks,
Joe
Here is the code:
">
--- "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 there any reason we shouldn't use the Logic tab library
(http://struts.apache.org/tags-logic) with Struts 2? If so, is there any
subsitute? I'm looking specifically for and
(along with the old )
~Dan Allen
-Original Message-
From: Zheng, Xiahong [mailto:[EMAIL PROTECTED]
Sent: Wedne
Hi Laurie,
Thanks for info and help. The problem looks rare. We
load the example coming with Struts
(struts-mailreader), it works, which use struts. That
means application server is OK. The struts's ,
, and works fine except action
servlet. We think there is only a little issue
somewhere block
Sounds like a problem with your application server. Runtime Expressions
are handled by it, not by Struts, so I don't think this is a Struts issue.
L.
zuzg wrote:
I'm sorry, the seconde code has some typing error, is should be:
some other codes...
zuzg wrote:
I am using struts 1.2.8
in m
ssed the J2EE
> standards 1.4 certification(it's name is Kingdee Apusic).
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this messag
I am using struts 1.2.8
in my jsp file, I wrote such codes:
some other codes...
when running on tomcat5.0, it is ok, but when I depoy it on another
middleware AS,I got an error:invalide tag lib using, I can only change
value to a const like this:
some other codes...
it works.
I want to know
Is there any way to show appropriate errors using DynaValidator?
I have a form with 3 fields, one for the username and two fields for a
password. When you enter no values, a global error must be shown to the user.
When the user enters an invalid character for the username, a messages that
s
J Gotsch wrote:
> I guess my problem is larger than using an if/else statement.
This much is certainly true ;)
> I figured how to do that, but I'm iterating over a List in the JSP, and want
> to be able to exit the loop whenever certain item exist. I don't suppose
> there's a way to do that, i
Filter the List before sent to jsp, can you do it? or you must do it in
jsp?
you can implement your own custom tag extending iterate.
Other solution is to define a variable in jsp with c:set when you found
and item, and only print when variable isn't set or false.
Take a look to jstl common tag
I guess my problem is larger than using an if/else statement. I figured how to
do that, but I'm iterating over a List in the JSP, and want to be able to exit
the loop whenever certain item exist. I don't suppose there's a way to do that,
is there?
My requirement in a nutshell: the List cou
Jerome is referring to tags in the JSTL Core tag library.
mmm code-bloat.
On 5/14/06, J Gotsch <[EMAIL PROTECTED]> wrote:
Which package does this belong to? I can't find it anywhere.
Jerome Gagner <[EMAIL PROTECTED]> wrote:
use
On 5/13/06, J Gotsch wrote:
> Hello All,
>
> How do I
Which package does this belong to? I can't find it anywhere.
Jerome Gagner <[EMAIL PROTECTED]> wrote:
use
On 5/13/06, J Gotsch wrote:
> Hello All,
>
> How do I perform an If/else with ?
>
> In the below logic:iterate tag, If my collection contains both ROLE1 AND
> ROLE2, Then both statem
use
On 5/13/06, J Gotsch <[EMAIL PROTECTED]> wrote:
Hello All,
How do I perform an If/else with ?
In the below logic:iterate tag, If my collection contains both ROLE1 AND
ROLE2, Then both statements will be displayed. And that's now what I want.
I want to implement something like thi
Hello All,
How do I perform an If/else with ?
In the below logic:iterate tag, If my collection contains both ROLE1 AND
ROLE2, Then both statements will be displayed. And that's now what I want.
I want to implement something like this:
if(securityRoleName.equals("ROLE1"))
I am using struts 1.1
I using logic equal tag to check whether a page context attribute value.
here is my code
So only one logic equal will be true but not both .But when I call this
jsp in the browser I get
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
the forms value by saying
//do something
Bryan LaPlante
-- Original Message ---
From: "Kalcevich, Daniel" <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Fri, 3 Mar 2006 12:21:18 -0800
Subject: Logic Tag Question
> I have the following:
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
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"
attribute and compate the "value" to the value of the "timeZone" in
Everyone,
I have two modules defined (/ & /app). I want to use the logic tag
(either redirect or forward) to take me to the URL "/myApp/index.htm"
when I enter in just "/myApp/". I have defined an action within the "/"
module Struts Config File that is calle
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
I have a hidden html varibale called operation.
Now I want to conditionally display some buttons based on the value of
this hidden field. I am trying something like this...
# display update related buttons
This doesnt seem to work. What am I doing wrong? I know that if
'operation' was a
uest_uri:
servlet_name:
See the servlet spec for details...
> I also tried
> But this time it encountered some parsing error.
>
> How exactly an object instance is passed to a JSTL tag? I'm not very clear on
> that.
> Let me know where I'm doing wrong.
>
>
sh
-Original Message-
From: Joe Germuska [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 4:51 PM
To: Karsten Krieg; Struts Users Mailing List
Subject: Re: Antwort: Clarrifications on Usage of logic tag library
At 11:40 AM +0100 2/23/05, Karsten Krieg wrote:
>Hi!
>
>It'
Sorry slight typo - try something of the form:
Note the <%= at the start of the name value.
If you look using Google you can problem find a simple tutorial to
explain all about the logic tags but put simply the above statement
checks for the presence of a bean named the value of
Konstants
Hi Tim/Guys,
the 2nd option is not working.
can you elaborate on the first one?
how do i declare the user? usebean?
thanks
Richard
On Tue, 22 Feb 2005 12:53:55 +, Tim Christopher
<[EMAIL PROTECTED]> wrote:
> Try using:
>
>
>
>
>
> Where user = Konstants.SESSION_USER_KEY, or maybe
H
Fon +49 (0)721 3 84 79 - 28
Fax +49 (0)721 3 84 79 - 60
e-mail [EMAIL PROTECTED]
http://www.intarsys.de
"Ashutosh Satyam" <[EMAIL PROTECTED]> schrieb am 23.02.2005 11:19:48:
Hi,
Can you suggest how t
IL PROTECTED]
http://www.intarsys.de
"Ashutosh Satyam" <[EMAIL PROTECTED]> schrieb am 23.02.2005 11:19:48:
> Hi,
> Can you suggest how to use
Hi,
Can you suggest how to use the logic tag library to achieve the following
scenario.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
In my Action class I expect few Exceptions to be thrown. Incase if
Try using:
Where user = Konstants.SESSION_USER_KEY, or maybe even:
Tim Christopher
On Tue, 22 Feb 2005 19:40:36 +0800, Richard Reyes
<[EMAIL PROTECTED]> wrote:
> Hello Guys,
>
> I have this tag ...
>
> href="routes-login.rr" />
>
> And I need to change hello.world to Konstants
Hello Guys,
I have this tag ...
And I need to change hello.world to Konstants.HELLO_WORLD. Now this...
does not seem to work( of course ).
Please help. Thanks
Richard
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addit
D]
Subject: Re: about logic tag
> Are there stairs in your house?
>
> Pramod wrote:
>
> > I have done the steps but i didn't get results
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PRO
This is the code in the model class's method
if(result!=null || result.size()>0)
{
objectVector = new Vector();
for(int i=0;i
opps. Didnt see this post when I replied just now.
The syntax seems ok. When you say its not producing results, is there
any error message or stack trace, or is it just that that part of the
page is blank?
If blank it sounds like the results vector is empty. I presume you
initialise it in your
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
i didnt get u
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Are there stairs in your house?
Pramod wrote:
I have done the steps but i didn't get results
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
I am having a vector object in jsp. An ActionForm's two instances are stored in
that vector. Action form contains only one variable. How can i produce the
results using logic & bean tags
I have done the steps but i didn't get results
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I can't produce the result. The bean tag creating new instance of
ActionForm.Get me a solution.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It is not displaying the results. The code producing new instances of
ActionForm.
i will send my code
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Pramod wrote:
I have a vector object in a jsp page. An ActionForm's two instances are stored in that vector. How can i display the values using bean & logic tag?
-
To unsubscribe, e-mai
I have a vector object in a jsp page. An ActionForm's two instances
are stored in that vector. How can i display the values using bean & logic tag?
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()
--
I have a bean object in the jsp page. How can i use the logic:iterate tag to
producing the result?
> -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. Woul
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
> How would I turn the following logic tag into a JSTL tag.
>
>
>property="projectName"/>
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
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-mail: [EMAIL
I think you have a few extra layers of nesting. What exactly are your
system.out checks? What's being called in the custom tags is the same as
session.getAttribute("PersonStatus").getPerson().getCountryCode().getCountryCode()
The value portion of the tag is
session.getAttribute("CountryCode")
Hi,
Can anyone see why the following will would not work
PersonStatus is a session object that contains a nested object
countryCode of type CountryCode and the class CountryCode contains a
string m_countryCode.
There is also a session object CountryCode that is an arraylist of
different
Just follow-up my previous note: I got this work by using:
fyi,
Kathy
-Original Message-
From: Kathy Zhou [SMTP:[EMAIL PROTECTED]
Sent: Thursday, May 13, 2004 2:39 PM
To: '[EMAIL PROTECTED]'
Subject: nested lo
I need your help on how to use nested logic tag:
I have a ArrayList list1. each element of the list1 is a ArrayList too. In
Java code, it will be like:
for(int i=0; i
I need your help on how to use nested logic tag:
I have a ArrayList list1. each element of the list1 is a ArrayList too. In
Java code, it will be like:
for(int i=0; i
[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
[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
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, condition 2 does not be
71 matches
Mail list logo