using html:form with el logic tags

2004-03-25 Thread Simon Pett
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/

RE: using html:form with el logic tags

2004-03-25 Thread Takhar, Sandeep
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

Suppresing the generation of blank lines while using logic tags - Ver 1.0.2

2004-02-25 Thread Pranay Parsatwar
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

RE: Suppresing the generation of blank lines while using logic tags - Ver 1.0.2

2004-02-25 Thread Karr, David
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

Re: Suppresing the generation of blank lines while using logic tags - Ver 1.0.2

2004-02-25 Thread Adam Hardy
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

RE: Suppresing the generation of blank lines while using logic tags -

2004-02-25 Thread rick
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

more than one condition using logic tags...

2003-10-29 Thread VKeswani
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

Re: more than one condition using logic tags...

2003-10-29 Thread Jeff Kyser
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

Re: more than one condition using logic tags...

2003-10-29 Thread Sasha Borodin
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

Re: more than one condition using logic tags...

2003-10-29 Thread David Graham
--- [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

Re: more than one condition using logic tags...

2003-10-29 Thread VKeswani
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

More than one condition using struts logic tags???

2003-10-27 Thread VKeswani
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?

Re: More than one condition using struts logic tags???

2003-10-27 Thread Craig R. McClanahan
[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

logic tags

2003-10-24 Thread mohamed ebrahim faisal
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) %

Re: logic tags

2003-10-24 Thread Brad Balmer
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

iterating through hashmap using logic tags

2003-09-25 Thread tarun.matai
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

RE: iterating through hashmap using logic tags

2003-09-25 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
/ /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

Iterating Simultaneously over Two Collections with Logic Tags

2003-08-14 Thread Jordan Reed
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

Re: logic tags with mapped properties

2003-08-14 Thread André
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

logic tags with mapped properties

2003-07-31 Thread André
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

logic tags problem - help!!

2003-07-10 Thread Joe Zendle
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

Nesting logic tags

2003-05-31 Thread Kamholz, Keith (corp-staff) USX
=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

RE: Nesting logic tags

2003-05-31 Thread Phillip Qin
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

RE: Nesting logic tags

2003-05-31 Thread Kamholz, Keith (corp-staff) USX
- 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

RE: Nesting logic tags

2003-05-31 Thread Phillip Qin
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

RE: Nesting logic tags

2003-05-31 Thread Michael Ruppin
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

RE: Nesting logic tags

2003-05-31 Thread Kamholz, Keith (corp-staff) USX
/ /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

RE: Nesting logic tags

2003-05-31 Thread Michael Ruppin
*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

Re: Logic tags and collections?

2003-03-12 Thread niksa_os
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

RE: Logic tags and collections?

2003-03-12 Thread Eva Sager
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

Logic tags and collections?

2003-03-11 Thread niksa_os
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

RE: Logic tags and collections?

2003-03-11 Thread Edgar Dollin
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

RE: Logic tags and collections?

2003-03-11 Thread Marco Tedone
. 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

How to compare two beans using logic tags

2003-03-07 Thread Renato Romano
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

Re: How to compare two beans using logic tags

2003-03-07 Thread Nicolas De Loof
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

[Q]Logic tags

2003-02-27 Thread Chetan Sahasrabudhe
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"

[Q]Logic tags

2003-02-27 Thread Edgar Dollin
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

Re: [Q]Logic tags

2003-02-27 Thread Chetan Sahasrabudhe
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

Re: How to to a OR with logic tags

2002-11-13 Thread Charles
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

How to to a OR with logic tags

2002-11-12 Thread Charles
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

Re: How to to a OR with logic tags

2002-11-12 Thread Richard Yee
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.

logic tags

2002-11-06 Thread Mohan Radhakrishnan
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

[Nested Tags] Nested vs logic tags..

2002-10-28 Thread Jeff_Mychasiw
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

RE: [Nested Tags] Nested vs logic tags..

2002-10-28 Thread Taylor, Jason
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

RE: [Nested Tags] Nested vs logic tags..

2002-10-28 Thread Jeff_Mychasiw
: 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

RE: [Nested Tags] Nested vs logic tags..

2002-10-28 Thread Arron Bates
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

Re: using OR condition with logic tags

2002-10-16 Thread chanoch
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

Re: using OR condition with logic tags

2002-10-16 Thread Eddie Bush
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

using OR condition with logic tags

2002-10-16 Thread Sukhenko, Mikhail (Contr)
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]

Re: using OR condition with logic tags

2002-10-16 Thread Craig R. McClanahan
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

using OR condition with logic tags

2002-10-15 Thread Sukhenko, Mikhail (Contr)
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]

Re: using OR condition with logic tags

2002-10-15 Thread Eddie Bush
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}

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-10 Thread David Graham
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

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-10 Thread Craig R. McClanahan
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

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-10 Thread Kris Schneider
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

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-10 Thread Craig R. McClanahan
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

Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Johannes Carlén
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

RE: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Buchwald, Dave (PLC, IT, Tri-Com Consulting)
: 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

Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread David Graham
:-). 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

RE: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Robert
] 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

Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Eddie Bush
... 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

[OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread David Graham
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

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Craig R. McClanahan
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

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread David Graham
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

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Kris Schneider
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

Re: [OT] Re: Avoid Heavy Use of Logic Tags ???

2002-10-09 Thread Craig R. McClanahan
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

/do/ being prepended to paths inside logic tags

2002-04-16 Thread rob
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

RE: /do/ being prepended to paths inside logic tags

2002-04-16 Thread John Reid
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

logic-tags related to beans not derived from ActionForm?

2002-04-15 Thread @Basebeans.com
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

RE: logic-tags related to beans not derived from ActionForm?

2002-04-15 Thread Maris Orbidans
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

Re: logic-tags related to beans not derived from ActionForm?

2002-04-15 Thread Johannes Wolfgang Woger
-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

Re: logic-tags related to beans not derived from ActionForm?

2002-04-15 Thread Johannes Wolfgang Woger
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

using logic tags and ApplicationResources values

2002-01-24 Thread McClung, Brian
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

RE: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-15 Thread Tom Klaasen (TeleRelay)
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

Help using Struts Logic tags.

2002-01-15 Thread VEDRE, RANAPRATAP REDDY
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

RE: Help using Struts Logic tags.

2002-01-15 Thread Andrew B Forman
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

RE: Help using Struts Logic tags.

2002-01-15 Thread Keith Bacon
-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

RE: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-15 Thread Collard, John
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

Re: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-15 Thread Arron Bates
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

RE: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-14 Thread Tom Klaasen (TeleRelay)
-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

RE: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-14 Thread Collard, John
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

Re: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-14 Thread Arron Bates
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

RE: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-14 Thread Alex Paransky
. 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

RE: Nesting Beans/Iterators/Logic tags whatever else...

2002-01-11 Thread Sobkowski, Andrej
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

Nesting Beans/Iterators/Logic tags whatever else...

2002-01-10 Thread Arron Bates
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

setting a default bean for logic tags

2001-12-05 Thread Mike Hoeffner
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

RE: setting a default bean for logic tags

2001-12-05 Thread Siggelkow, Bill
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

AND/OR with logic tags

2001-10-01 Thread Eric Rizzo
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

RE: AND/OR with logic tags

2001-10-01 Thread Niall Pemberton
- 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

comparing two beans with logic tags

2001-09-06 Thread Paradis, André
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

Logic Tags

2001-08-29 Thread Mike Bungay
I'm having some problems getting the Logic present tag to fire when I pass it a request parameter.

RE: Logic Tags

2001-08-29 Thread Assenza, Chris
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.

RE: Logic Tags

2001-08-29 Thread Mike Bungay
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 +

RE: Logic Tags

2001-08-29 Thread Roumen Ganeff
: 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

AW: Logic Tags

2001-08-29 Thread juraj Lenharcik
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

RE: Logic Tags

2001-08-29 Thread George, Carl
, 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

RE: Logic Tags

2001-08-29 Thread Mike Bungay
: 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

RE: Logic Tags

2001-08-29 Thread Mike Bungay
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

RE: Logic Tags

2001-08-29 Thread George, Carl
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

AW: Logic Tags

2001-08-29 Thread juraj Lenharcik
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   2   >