Need an alternative to bean:define

2004-11-02 Thread Janice
My brain has stopped working. I need an alternative to bean:define. What I'm TRYING to do is iterate through a list, displaying a certain bit of code only when its different than the last iteration (grouping). Here

Re: Need an alternative to bean:define

2004-11-02 Thread atta-ur rehman
Is JSTL an option? I find Struts Logic tag hard to read! If so, I think this should do: HTH. Of course this is from top of my head, i haven't tried it. ATTA On Tue, 02 Nov 2004 16:16:25 -0800, Janice <[EMAIL PROTECTED]> wrote: > My brain has stopped working. I need

RE: Need an alternative to bean:define

2004-11-03 Thread Janice
Unfortunately, I need to get all kinds of approval to use JSTL, is there no Struts tag that will do this? TIA, J -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 5:04 PM To: Struts Users Mailing List Subject: Re: Need an alternative to

Re: Need an alternative to bean:define

2004-11-03 Thread Matt Bathje
: Unfortunately, I need to get all kinds of approval to use JSTL, is there no Struts tag that will do this? TIA, J -Original Message- From: atta-ur rehman [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 02, 2004 5:04 PM To: Struts Users Mailing List Subject: Re: Need an alternative to

Re: Need an alternative to bean:define

2004-11-03 Thread Matt Bathje
Matt Bathje wrote: Janice - I do multiple bean:defines (with values, not with name/property attributes) in some of my jsps, and never have problems, and am therefore assuming that the name/property attributes are causing the problem. Here may be a non-jstl workaround you can try: Doh...o

RE: Need an alternative to bean:define

2004-11-03 Thread Janice
EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 10:32 AM To: Struts Users Mailing List Subject: Re: Need an alternative to bean:define Janice - I do multiple bean:defines (with values, not with name/property attributes) in some of my jsps, and never have problems, and am therefore assumin

Re: Need an alternative to bean:define

2004-11-03 Thread Matt Bathje
serGuide/struts-bean.html#define You can't re-define in 1.1. There must be a workaround? TIA, J -Original Message- From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 10:32 AM To: Struts Users Mailing List Subject: Re: Need an alternative to bean:define Ja

Re: Need an alternative to bean:define

2004-11-03 Thread Wendy Smoak
From: "Janice" <[EMAIL PROTECTED]> > Thanks Matt, but I think my problem is that I'm using Struts 1.1 (and can't > change it) > According to: http://struts.apache.org/userGuide/struts-bean.html#define > You can't re-define in 1.1. There must be a workaround? Honestly, I'd last 2.5 seconds in a pl

RE: Need an alternative to bean:define

2004-11-03 Thread Joe Hertz
Janice, Does this snippet work if you move all of the bean:defines insidea of your logic:iterate? I haven't tested this myself, but I strongly suspect that the problem is the fact that bean:define declares the variable in the resulting servlet code that gets generated. It's trying to declare a va

RE: Need an alternative to bean:define

2004-11-03 Thread Joe Hertz
Janice, Does this snippet work if you move all of the bean:defines insidea of your logic:iterate? I haven't tested this myself, but I strongly suspect that the problem is the fact that bean:define declares the variable in the resulting servlet code that gets generated. It's trying to declare a va

RE: Need an alternative to bean:define

2004-11-03 Thread Janice
me()); %> It works, I was just hoping for a nicer solution. Thanks for everyone's input! -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 1:52 PM To: 'Struts Users Mailing List' Subject: RE: Need an alternative to bean:defi

Re: Need an alternative to bean:define

2004-11-03 Thread Eddie Bush
" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, November 03, 2004 1:06 PM Subject: RE: Need an alternative to bean:define Thanks Matt, but I think my problem is that I'm using Struts 1.1 (and can't change it)

RE: Need an alternative to bean:define

2004-11-04 Thread Janice
ay, November 03, 2004 5:17 PM To: Struts Users Mailing List Subject: Re: Need an alternative to bean:define I would question anyone who told me I had to use something that is going away in the future (most of Struts' taglibs), instead of using a standard technology (the JSTL). Are they fully-a

Re: Need an alternative to bean:define

2004-11-04 Thread Eddie Bush
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 12:25 PM Subject: RE: Need an alternative to bean:define I should point out that it isn't my company that has the restrictions. My employer would quite happily move to the bleeding

Re: Need an alternative to bean:define

2004-11-05 Thread James Mitchell
;[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 11:43 PM Subject: Re: Need an alternative to bean:define My condolences :-( I now see your rock and hard spot. It's not about bleeding edge though. Of course, what counts in that regard is your clients' opinion of what bleedi

[OT] Re: Need an alternative to bean:define

2004-11-05 Thread Erik Weber
[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, November 04, 2004 11:43 PM Subject: Re: Need an alternative to bean:define My condolences :-( I now see your rock and hard spot. It's not about bleeding edge though. Of course, what co