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
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
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
:
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
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
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
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
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
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
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
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
" <[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)
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
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
;[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
[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
16 matches
Mail list logo