Hi,
Can someone tell me why I get an unbalanced error when I try to optionally
use a form tag?
org.apache.jasper.JasperException: /pages/common/layouts/layout.jsp(56,1)
The end tag /c:when is unbalanced
tiles:useAttribute name=action/
tiles:useAttribute name=focus/
Mailing List'
Subject: using html:form with el logic tags
Hi,
Can someone tell me why I get an unbalanced error when I try to optionally
use a form tag?
org.apache.jasper.JasperException: /pages/common/layouts/layout.jsp(56,1)
The end tag /c:when is unbalanced
tiles:useAttribute name
Hello,
We are facing problem of jsp file size exceeding to more than 5 MB at
runtime. The jsp file is full of struts tag with lot many logic:equal,
notEqual in the code. The compiled html when generated takes a lot of
time for browser rendering because of the file size. Looking at the html
It's the newline between % and % that is causing you problems (not
to mention the design of your page, but that's a different matter). If
you do things like:
... %ns:tagname stuff=value
%%ns:nothertag morestuff=morevalue
%%...
Then you will reduce the newlines in your output. This gets
On 02/25/2004 03:04 PM Pranay Parsatwar wrote:
We are facing problem of jsp file size exceeding to more than 5 MB at
runtime. The jsp file is full of struts tag with lot many logic:equal,
notEqual in the code. The compiled html when generated takes a lot of
time for browser rendering because of
Use Apache and mod_deflate and mod_gzip. There are also Filters available to
remove whitespace, but all of them have the problem where they'll modify code
within a lt;pregt; tag or style.
Rick DeBay
On Wed, 25 Feb 2004 06:19 , Karr, David [EMAIL PROTECTED] sent:
It's the newline between % and
Hello,
I asked this before -
Is it possible to have more than one condition using struts logic
tags...like
If A B C then {
do something...
}
how to achieve this in the jsp using logic tags?
Please help
sure - just nest them.
On Wednesday, October 29, 2003, at 09:38 AM, [EMAIL PROTECTED]
wrote:
Hello,
I asked this before -
Is it possible to have more than one condition using struts logic
tags...like
If A B C then {
do something...
}
how to achieve this in the jsp using logic tags
asked this before -
Is it possible to have more than one condition using struts logic
tags...like
If A B C then {
do something...
}
how to achieve this in the jsp using logic tags?
Please help
--- [EMAIL PROTECTED] wrote:
Hello,
I asked this before -
Is it possible to have more than one condition using struts logic
tags...like
If A B C then {
do something...
}
The JSTL provides this capability:
c:if test=${A B C}
do something
/c:if
http://java.sun.com
Thanks all...
David Graham [EMAIL PROTECTED]
10/29/2003 10:06 AM
Please respond to Struts Users Mailing List
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:Re: more than one condition using logic tags...
--- [EMAIL PROTECTED] wrote
Hello,
I have a little query -
How can I check for more that one condition using struts logic tags? like
if (A B C) {
do something.
}
how do I achieve the same using struts logic tags?
[EMAIL PROTECTED] wrote:
Hello,
I have a little query -
How can I check for more that one condition using struts logic tags? like
if (A B C) {
do something.
}
how do I achieve the same using struts logic tags?
You can do an and test by nesting logic:xxx tags inside each other
E.FAISAL
Hi
I would like to display the form data in JSP using logic:iterate tags.
Consider the following situation
ArrayList ar = form.getInfoContents();
for(int i=0;iar.length;i++)
{
HashMap row = (HashMap) ar.get(i);
tr
tdhtml:text property=name value=%=(String) row.get(name) %
Have you looked at the DisplayTag Libray?
http://sourceforge.net/projects/displaytag/
mohamed ebrahim faisal wrote:
E.FAISAL
Hi
I would like to display the form data in JSP using logic:iterate
tags.
Consider the following situation
ArrayList ar = form.getInfoContents();
for(int
Hi,
I have a hash table, I want to iterate through keys of the hashtable and
display key value pair on the jsp page, how can i do this using logic tags in struts
tag library.
I need to show keys as well as values on the jsp page.
Regards,
Tarun
DISCLAIMER:
This message contains
/
/logic:iterate
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 25, 2003 12:29 PM
To: [EMAIL PROTECTED]
Subject: iterating through hashmap using logic tags
Hi,
I have a hash table, I want to iterate through keys of the hashtable
I've got a JSP that is display a list of information coming from two
different collections and having trouble finding the cleanest way to do it
with the struts tags.
The line I'm struggling with is the bean:define where I'm constructing the
name of the property using a scriptlet and the index
Yes, it is supported.
--- André Moreira [EMAIL PROTECTED] wrote:
Gurus,
do logic tags suport mapped properties?
In other words, I want to have a HashMap wrapped
inside a java bean and use its values in a tag like
logic:equal name=beanName
property=mappedProperty(key) value=true/
Any
Gurus,
do logic tags suport mapped properties?
In other words, I want to have a HashMap wrapped
inside a java bean and use its values in a tag like
logic:equal name=beanName
property=mappedProperty(key) value=true/
Any help is appreciated.
Regards,
André.
=
O mundo é bom pra quem sabe
Help!! This is a repost. Are there problems with logic:empty tags within
an logic:iterate or am I an idiot?
===
I'm trying to display a checkbox only if a field is not empty. This
logic is applied in a logic:iterate tag as in the code below. No
=ansm property=lastUsed
size=30 maxlength=30/
/td
/tr
/logic:notEqual
/table
Unfortunately, it doesn't like me nesting the logic tags in the table code.
I've never used the struts nested taglib, would this be an appropriate place
to use
If ansm is a member variable of your ActionForm, use
html:hidden property=ansm.entryType
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: May 30, 2003 10:53 AM
To: '[EMAIL PROTECTED]'
Subject: Nesting logic tags
Hey,
I'm using a table to display
-
From: Phillip Qin [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 11:09 AM
To: 'Struts Users Mailing List'
Subject: RE: Nesting logic tags
If ansm is a member variable of your ActionForm, use
html:hidden property=ansm.entryType
-Original Message-
From: Kamholz, Keith (corp
understand your question.
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: May 30, 2003 11:14 AM
To: 'Struts Users Mailing List'
Subject: RE: Nesting logic tags
The issue isn't getting entryType into the form. The issue is conditionally
displaying
Struts logic tags work fine nested in HTML table
tags. Something else must be wrong, perhaps with your
logic tag attributes. The nested tag library is for
nested BEANS, not for nested tags. Unless you have
Forms which contain Forms, or Forms with Collections
of Forms, you don't need the nested
/
/td
/tr
/logic:notEqual
/table
~ Keith
http://www.buffalo.edu/~kkamholz
-Original Message-
From: Michael Ruppin [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 12:24 PM
To: Struts Users Mailing List
Subject: RE: Nesting logic tags
*think* that
if the ansm bean were not exposed, or you didn't have
the getter, there'd be an error, so I guess that's not
it. I would do a bean:write name=ansm
property=entryType\ prior to the logic tags, and
see what happens.
m
--- Kamholz, Keith (corp-staff) USX
[EMAIL PROTECTED] wrote:
Hm
Try struts menu http://sourceforge.net/project/struts-menu.
Edgar
PAGE NOT FOUND
I try to search at sourceforge.net, but I didn't find anything like
struts-menu.
Where is it?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I think he meant http://sourceforge.net/projects/struts-menu
-Original Message-
From: niksa_os [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 6:13 AM
To: Struts Users Mailing List
Subject: Re: Logic tags and collections?
Try struts menu http://sourceforge.net/project/struts
How can I make something like this with Struts or someone have better idea?
I have few Admin: MainAdmin, UserAdmin, EmailAdmin.
MainAdmin can do anything, UserAdmin manage users and emails, and EmailAdmin
make emails only.
So, I need this:
-without Struts, I make Collection in session and
If
Try struts menu http://sourceforge.net/project/struts-menu.
Edgar
-Original Message-
From: niksa_os [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 11:37 AM
To: 'Struts Users Mailing List'
Subject: Logic tags and collections?
How can I make something like
.
Marco
-Original Message-
From: niksa_os [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 4:37 PM
To: Struts Users Mailing List
Subject: Logic tags and collections?
How can I make something like this with Struts or someone
have better idea?
I have few Admin: MainAdmin
Does anyone knows how to compare two beans (or beans properties) using
logic:equal or logic:greaterThan tags ?In the docs it is said that the
value attribute should be a constant value ...
Thanks
Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial
bean:define id=prop1 name=bean1 property=someProperty /
logic:equals name=bean2 property=anotherProperty value=%= prop1
%
...
/logic:equals
Nico.
Does anyone knows how to compare two beans (or beans properties)
using
logic:equal or logic:greaterThan tags ?In the docs it is said that
the
Hi,
I am trying to use logic tags to find if the value is
present in my formbean attribute,
depending on if value is present or not i have to take some action
please check attached code for details.
logic:empty name="wigadminwizardform"
property="sTransactionType"
and possibly causing a new
Copy of your form bean to be instantiated, tossing the original.
Edgar
Subject: [Q]Logic tags
From: Chetan Sahasrabudhe chetans () wisorindia ! soft ! net
Date: 2003-02-27 11:47:41
[Download message RAW]
[Attachment #2 (multipart/alternative)]
BlankHi
Nope, I removed the tag, no change in behaviour, letz see what might be the
prob.
Thanks
- Original Message -
From: Edgar Dollin [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 6:30 PM
Subject: [Q]Logic tags
The bean is already
Thanks for the prompt reply Richard. I'll check out JSTL
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 10:22 PM
Subject: Re: How to to a OR with logic tags
Charles,
I'd suggest checking out
Hi I'm still quite new with Struts. I want to do a OR comparison using the
html:logic tags. Does anyone has any idea how this can be done?
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
Charles,
I'd suggest checking out the conditional tags in the JSTL to do the OR
operation rather than using the Struts logic tag. You will find that the
JSTL expression capability and if, choose, when, and otherwise tags make it
easier to do complex logic than the struts conditional tags do.
Hi,
Our requirement is this. Based on the report chosen from the menu, we
have to show parameters. Parameters vary with the report chosen.
We have html:options tags to display the parameters. Are logic tags the
best approach to introduce if/else
logic inside the JSP to decide which
Greetings:
I am almost exclusively using nested tags.
Every now and then I run into a problem and have to switch over the
corresponding logic or bean version.
Can anyony tell me if this is a bug? I am using 1.1b2
I tried this with nested:equal but got a NullPointerException (listed
Just a hunch-- have you tried specifying a 'name' for the nested:iterate
tag?
-Original Message-
From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw;nlgroup.ca]
Sent: Monday, October 28, 2002 8:03 AM
To: [EMAIL PROTECTED]
Subject: [Nested Tags] Nested vs logic tags..
Greetings:
I am
:
Subject:RE: [Nested Tags] Nested vs logic tags..
Just a hunch-- have you tried specifying a 'name' for the nested:iterate
tag?
-Original Message-
From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw;nlgroup.ca]
Sent: Monday, October 28, 2002 8:03 AM
To: [EMAIL PROTECTED]
Subject: [Nested Tags
Just a hunch-- have you tried specifying a 'name' for the nested:iterate
tag?
The nested tags don't need it, and if it's provided they will ignore it.
Why?... because all the tags are working off the same bean structure,
and this is defined for us by the form tag. The nested tags will fetch
are trying to work out why I am designing new
HTML elements)
chanoch
- Original Message -
From: Eddie Bush [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 11:26 PM
Subject: Re: using OR condition with logic tags
logic:equal name=foo value=1
Oh --- OR --- I was thinking ELSE. Sorry.
JSTL solution:
c:if test=${(foo == 1) || (foo == 2)}
!-- relevant code --
/c:if
The Struts-based solution would be the same as I mentioned before, I
believe. Sorry - I somehow understood you wanted an ELSE!
chanoch wrote:
however, this is
Hey, guys!
Do any of you know how to set up an OR condition with logic:equal tags?
i.e. :
logic:equal name=foo value=1 OR logic:equal name=foo value=2
Thanks
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
On Wed, 16 Oct 2002, chanoch wrote:
Date: Wed, 16 Oct 2002 20:10:47 +0100
From: chanoch [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: using OR condition with logic tags
however, this is quite ugly
Hey, guys!
Do any of you know how to set up an OR condition with logic:equal tags?
i.e. :
logic:equal name=foo value=1 OR logic:equal name=foo value=2
Thanks
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
logic:equal name=foo value=1
!-- Stuff for when foo == 1 --
/logic:equal
logic:equal name=foo value=2
!-- Stuff for when foo == 2 --
/logic:equal
-- OR -- JSTL Approach 1
c:choose
c:when test=${foo == 1}
!-- Stuff for when foo == 1 --
/c:when
c:when test=${foo == 2}
Mailing List [EMAIL PROTECTED]
Subject: Re: [OT] Re: Avoid Heavy Use of Logic Tags ???
Date: Wed, 9 Oct 2002 20:56:35 -0700 (PDT)
On Wed, 9 Oct 2002, David Graham wrote:
Date: Wed, 09 Oct 2002 18:27:02 -0600
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL
On Thu, 10 Oct 2002, David Graham wrote:
Date: Thu, 10 Oct 2002 07:48:58 -0600
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [OT] Re: Avoid Heavy Use of Logic Tags ???
Would it hurt for struts to follow
PROTECTED]
Subject: Re: [OT] Re: Avoid Heavy Use of Logic Tags ???
Would it hurt for struts to follow the 2.3 .jar layout? People using 2.3
could benefit from reduced deployment hassles while others could continue
using the old way.
Do you mean the META-INF/tlds directory? That depends
On Thu, 10 Oct 2002, Kris Schneider wrote:
Date: Thu, 10 Oct 2002 12:39:08 -0400
From: Kris Schneider [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: [OT] Re: Avoid Heavy Use of Logic Tags ???
Doesn't
Hi, I read Designing Enterprise Applications, Second
Edition Singh et al. Section 4.2.6.6 has the header
Avoid Heavy Use of Logic Tags and also writes Using
custom tags for logic provides little benefit, and
violates separation of logic and presentation. and
states that JSP-pages written in XML
: Avoid Heavy Use of Logic Tags ???
Hi, I read Designing Enterprise Applications, Second
Edition Singh et al. Section 4.2.6.6 has the header
Avoid Heavy Use of Logic Tags and also writes Using
custom tags for logic provides little benefit, and
violates separation of logic and presentation
:-).
David
From: Johannes Carlén [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Avoid Heavy Use of Logic Tags ???
Date: Wed, 9 Oct 2002 12:41:34 +0200 (CEST)
Hi, I read Designing Enterprise Applications, Second
Edition Singh et al. Section 4.2.6.6
]
Subject: Avoid Heavy Use of Logic Tags ???
Hi, I read Designing Enterprise Applications, Second
Edition Singh et al. Section 4.2.6.6 has the header
Avoid Heavy Use of Logic Tags and also writes Using
custom tags for logic provides little benefit, and
violates separation of logic and presentation
... and now that we have the JSTL you can have your tags optimized into
actual code. It's my understanding, for example, that a forEach tag
would be translated into an actual while (or was it for ... anyway, you
get the point). So, you're bypassing the tag-usage overhead some.
Hopefully
Users Mailing List [EMAIL PROTECTED]
Subject: Re: Avoid Heavy Use of Logic Tags ???
Date: Wed, 09 Oct 2002 12:25:08 -0500
... and now that we have the JSTL you can have your tags optimized into
actual code. It's my understanding, for example, that a forEach tag would
be translated into an actual
On Wed, 9 Oct 2002, David Graham wrote:
Date: Wed, 09 Oct 2002 13:54:32 -0600
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [OT] Re: Avoid Heavy Use of Logic Tags ???
I read somewhere that you should use http
Users Mailing List [EMAIL PROTECTED]
Subject: Re: [OT] Re: Avoid Heavy Use of Logic Tags ???
Date: Wed, 9 Oct 2002 15:02:00 -0700 (PDT)
On Wed, 9 Oct 2002, David Graham wrote:
Date: Wed, 09 Oct 2002 13:54:32 -0600
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL
Sure, as in:
%@ taglib prefix=bean
uri=http://jakarta.apache.org/struts/tags-bean-1.0.2; %
%@ taglib prefix=html
uri=http://jakarta.apache.org/struts/tags-html-1.0.2; %
David Graham wrote:
Thanks for the info Craig. I didn't know you didn't have to list them in
the web.xml file and put the
On Wed, 9 Oct 2002, David Graham wrote:
Date: Wed, 09 Oct 2002 18:27:02 -0600
From: David Graham [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [OT] Re: Avoid Heavy Use of Logic Tags ???
Thanks for the info Craig. I didn't
I've been using the struts logic tags to determine whether or not an img
tag should be placed.
I have the following
logic:equal name=foo property=bar value=val
img src=images/foo.jpg
/logic:equal
The page source shows the following
img src=images/foo.jpg
However my log files say
I have the following
logic:equal name=foo property=bar value=val
img src=images/foo.jpg
/logic:equal
The page source shows the following
img src=images/foo.jpg
However my log files say the following is being requested.
/context/do/images/foo.jpg
As a result the images
Subject: logic-tags related to beans not derived from ActionForm?
From: Johannes Wolfgang Woger [EMAIL PROTECTED]
===
Hallo,
I need logic:equal/present etc. etc in my application
to make them more dynamic depending on the permissions of a user. The
information for these tags
should not appear
Yes, of course, it's possible. There is no requirement that class you work with must
be derived from ActionForm.
A class derived from ActionForm is a bean.
Logic tags also can work with cookies, request headers etc. ( see doc. of logic tags
)
I'd suggest you to create some JavaBean
-tags related to beans not derived from ActionForm?
Yes, of course, it's possible. There is no requirement that class you
work with must be derived from ActionForm.
A class derived from ActionForm is a bean.
Logic tags also can work with cookies, request headers etc. ( see doc.
of logic tags
2:56 PM
Subject: RE: logic-tags related to beans not derived from ActionForm?
Thank you Maris,
exactly what I needed. I suppose that is the way to
overcome the restriction that an Action can have only one
ActionForm.
Yes.
BTW You can add properties to you form bean, that don't
I have a need to validate whether a Resource has a value associated with it.
I was hoping to use the logic:messagesPresent tag but it I can't seem to
get it to read from the bean:message tags. How do I nest the
bean:message tag into another tag set so that the returned value of the
tag is
To: 'Struts Users Mailing List'
Subject: RE: Nesting Beans/Iterators/Logic tags whatever else...
Spent about 25 hours attempting to get it to work. Kept
getting the no
getter method found error, even though I must have compared
my code to the
examples 60-70 times. Sorry.
John
What is the best way to write the following scriptlet code using Logic Tags.
I tried to do it with present and notEmpty but couldn't get it to work.
% if(session.getAttribute(KEY) != null){ %
if(session.getAttribute(KEY).equals(True))
{
// Some HTML goes here
tags.
What is the best way to write the following scriptlet code using
Logic Tags.
I tried to do it with present and notEmpty but couldn't get it to work.
% if(session.getAttribute(KEY) != null){ %
if(session.getAttribute(KEY).equals(True))
{
// Some HTML
-Original Message-
From: VEDRE, RANAPRATAP REDDY [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 9:48 AM
To: '[EMAIL PROTECTED]'
Subject: Help using Struts Logic tags.
What is the best way to write the following scriptlet code using
Logic Tags.
I tried to do
Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 6:54 AM
To: Struts Users Mailing List
Subject: RE: Nesting Beans/Iterators/Logic tags whatever else...
After 25 hours, you're entitled to send more information for us to try
to give help on ;-)
Full stacktrace, jsp
There are many applications for the tags use -- even out side the iterate process
Hell yes! :)
I suppose some people will just see it as a way past their nested iteration problems,
but it brings so much more. Among other things, it will clean your JSP's because the
markup's reduced for those
-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 11 januari 2002 3:01
To: Struts Users Mailing List
Subject: Nesting Beans/Iterators/Logic tags whatever else...
[...]
If you have used the extension and found it useful, can you
please reply
68106
voice: 402-926-5236
fax: 402-996-9736
email: [EMAIL PROTECTED]
-Original Message-
From: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 4:23 AM
To: Struts Users Mailing List
Subject: RE: Nesting Beans/Iterators/Logic tags whatever else
14, 2002 4:23 AM
To: Struts Users Mailing List
Subject: RE: Nesting Beans/Iterators/Logic tags whatever else...
-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 11 januari 2002 3:01
To: Struts Users Mailing List
Subject: Nesting Beans/Iterators/Logic tags
.
I am pretty new to STRUTS, so I am not sure what was going on.
-AP_
-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 14, 2002 2:37 PM
To: Struts Users Mailing List
Subject: Re: Nesting Beans/Iterators/Logic tags whatever else...
I'm willing to help
Arron,
I use it and I like it :)
Andrej
-Original Message-
From: Arron Bates [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 10, 2002 9:01 PM
To: Struts Users Mailing List
Subject: Nesting Beans/Iterators/Logic tags whatever else...
Some people on this list have been
together any tag which uses a property property to
bring them to the nesting context. Logic tags, Form tags, and a few
bean tags. There are other options in the extension which capitalise on
the nesting context.
To help out with all this, I've built a more extensive resources page (
http
Is it possible to set a default bean for logic tags like it is for form tags
so that they don't have to be named in each logic tag?
If I don't specify the name in an html:text tag, the name from the
parent form and its corresponding action tag will be used. For example, in
the below html:text
I believe that the name attribute can take a request-time expression that
you could
use for this purpose.
-Original Message-
From: Mike Hoeffner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 05, 2001 2:49 PM
To: [EMAIL PROTECTED]
Subject: setting a default bean for logic tags
Sorry if this has already been asked/answered here - the mail archive doesn't
let me search for AND OR.
Is there a way to have multiple conditional logic with the Struts logic taglib?
For example, IF (user is present) OR (visitor equals true).
TIA,
Eric
--
Eric Rizzo, Software
-
From: Eric Rizzo [mailto:[EMAIL PROTECTED]]
Sent: 01 October 2001 17:06
To: [EMAIL PROTECTED]
Subject: AND/OR with logic tags
Sorry if this has already been asked/answered here - the mail
archive doesn't
let me search for AND OR.
Is there a way to have multiple conditional logic
Hi,
I know i can use logic:equals name=thebean property=id
value=constant to compare a bean's property to a constant, but how do
i compare two beans property for equality using tags?
Thanks
Andre Paradis
I'm having some problems getting the Logic present tag to fire when I pass
it a request parameter.
PROTECTED]]
Sent: Wednesday, August 29, 2001 10:32 AM
To: '[EMAIL PROTECTED]'
Subject: Logic Tags
I'm having some problems getting the Logic present tag to fire when I pass
it a request parameter.
I am passing the success (request.setAttribute(success,yes);) parameter
back to the jsp but in the jsp when I try this code:
logic:present parameter=success
SCRIPT LANGUAGE=JavaScript
window.open(welcome.jsp, popupPage, top=0,left=0,resizable=yes,
status=yes +
: Logic Tags
I am passing the success (request.setAttribute(success,yes);) parameter
back to the jsp but in the jsp when I try this code:
logic:present parameter=success
SCRIPT LANGUAGE=JavaScript
window.open(welcome.jsp, popupPage, top=0,left=0,resizable=yes,
status=yes
did you have:
String message = blabla;
request.setAttribute(success, message);
in your actionBean?
-juraj
-Ursprüngliche Nachricht-
Von: Mike Bungay [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 29. August 2001 17:17
An: '[EMAIL PROTECTED]'
Betreff: RE: Logic Tags
I am passing
, August 29, 2001 11:17 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Logic Tags
I am passing the success (request.setAttribute(success,yes);) parameter
back to the jsp but in the jsp when I try this code:
logic:present parameter=success
SCRIPT LANGUAGE=JavaScript
window.open
: AW: Logic Tags
did you have:
String message = blabla;
request.setAttribute(success, message);
in your actionBean?
-juraj
-Ursprüngliche Nachricht-
Von: Mike Bungay [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 29. August 2001 17:17
An: '[EMAIL PROTECTED]'
Betreff: RE: Logic Tags
I
The present tag is not firing at all. I tried the scope=request but there
was no change. THe tag still doesn't fire..
-Original Message-
From: George, Carl [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 11:34 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Logic Tags
but did you change parameter to name?
-Original Message-
From: Mike Bungay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 11:54 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Logic Tags
The present tag is not firing at all. I tried the scope=request but there
was no change
do you have
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
in your jsp?
-Ursprüngliche Nachricht-
Von: Mike Bungay [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 29. August 2001 17:52
An: '[EMAIL PROTECTED]'
Betreff: RE: Logic Tags
Yes But i just passed in a string value
1 - 100 of 113 matches
Mail list logo