Hi All,
I have a List collection (paymntTrnsctns) which contains an adminReceipts objects. One
of the properties of adminReceipts is a list. So I display the normal string
properties of the object, such as receiptNumber and transactionDate, but can't then
get the list adminPaymentDetails
I have a List collection (paymntTrnsctns) which contains an adminReceipts objects.
One of the properties of adminReceipts is a list. So I display the normal string
properties of the object, such as receiptNumber and transactionDate, but can't then
get the list adminPaymentDetails within
I have not looked at this closely, but I notice there is no write in the
nested iterator. Can you say what happens with this when you run it?
At 01:06 AM 2/4/2004, you wrote:
Hi All,
I have a List collection (paymntTrnsctns) which contains an adminReceipts
objects. One of the properties of
I did put a bean:write in there and it still doesn't work.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 5:35 PM
To: Struts Users Mailing List
Subject: Re: Logic Iterate - Cannot Create iterator for this collection
I have not looked
What happens?
At 01:36 AM 2/4/2004, you wrote:
I did put a bean:write in there and it still doesn't work.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 5:35 PM
To: Struts Users Mailing List
Subject: Re: Logic Iterate - Cannot Create
What happens?
At 01:36 AM 2/4/2004, you wrote:
I did put a bean:write in there and it still doesn't work.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 5:35 PM
To: Struts Users Mailing List
Subject: Re: Logic Iterate - Cannot Create
I am still getting Cannot Create Iterator for this collection error.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 5:42 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate - Cannot Create iterator for this collection
What
: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 5:50 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate - Cannot Create iterator for this collection
Could you please give more details? Show me the stack trace or whatever
you are seeing.
At 01:44 AM 2/4/2004, you
trace in a second.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 5:50 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate - Cannot Create iterator for this collection
Could you please give more details? Show me the stack trace
=adminPaymentDetails/
/logic:iterate
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 6:14 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate - Cannot Create iterator for this collection
If you do this where? You are not giving enough
(ThreadPool.
java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 5:50 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate - Cannot Create iterator
You need to specify the name of the collection in the nested iterator
(the getter).
Add another parameter to the nested iterator line called property.
logic:iterate id=adminPaymentDetails name=adminReceipts
property=Property name of collection/
/logic:iterate
I'm having trouble
Oh, i see. Nope, it isn't. Its an object that should be in a collection! doh!!
Thanks very much Michael.
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 February 2004 6:22 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate - Cannot Create
List
Subject: RE: Logic Iterate - Cannot Create iterator for this collection
If you do this where? You are not giving enough information. Either give
it up or I have to retire. Thanks.
At 02:07 AM 2/4/2004, you wrote:
if I do a bean:write name=adminReceipts property=adminPaymentDetails/
I get
Hi All,
Please help me on
select enabled/disabled by checkbox in a list with in logic iterate
I am not able to pass the index for disableing select box basing on check box
enale/disable
please look at the code part onclick=this.form.subscriptions['%=index
%'].selectedWalletItemId.disabled
for select enabled/disabled by checkbox in a
list with in logic iterate
Hi All,
Please help me on
select enabled/disabled by checkbox in a list with in logic iterate
I am not able to pass the index for disableing select box basing on check
box enale/disable
please look at the code part
onclick
HI Firat,
I am using it for for the whole select.
It is working fine out side logic iterate in normal html select when I tried as follws.
But in logic iterate I could not provide reference of name for select
like sampleSelect in indexed way like sampleSelectArray[index].sampleSelect
dynamically
No, in the same page i have to display
tr
td value1/tdtd value2 /tdtd value3 /td
tr
for the next 3 values i should display in next row.using logic iterate and only with
struts not with jstl.
thanks
naveen.
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED]
Sent: Monday
-Original Message-
From: Naveen S. Kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 2:02 AM
To: Struts Users Mailing List
Subject: RE: logic iterate
No, in the same page i have to display
tr
td value1/tdtd value2 /tdtd value3 /td
tr
for the next 3 values i should display
i mean when i am displaying the value from collection using logic iterate i display
values in tr with 4 td for the 5th value i have to go for next tr with 4 td
value to be displayed.as i showed in last mail
thanks
naveen.
-Original Message-
From: David Friedman [mailto:[EMAIL PROTECTED
hi,
how do i break the row according the number of data displayed, i.e i have 3
values in a row after 3 rows i have to go next row for display how can i do using only
struts without scriptlets. any example or link would be great help for me
thanks
naveen.
PROTECTED]
Sent: Monday, December 01, 2003 1:43 AM
To: Struts Users Mailing List
Subject: logic iterate
hi,
how do i break the row according the number of data displayed, i.e i have 3
values in a row after 3 rows i have to go next row for display how can i do
using only struts without
Logic Iterate problem:
Can we have nested logic iterates?
e.g. if I want to show list of products under all Categories. how can i implement that?
I am having problem in setting the values of attributes for inner logic iterate loop
logic:iterate id=category name=categorylist
bean:write
Look at the nested:iterate tag. Nice
http://jakarta.apache.org/struts/userGuide/struts-nested.html
-jeff
On Monday, November 24, 2003, at 09:44 AM, Raman wrote:
Logic Iterate problem:
Can we have nested logic iterates?
e.g. if I want to show list of products under all Categories. how can
Hi,
MyTeamFormBean contains an arraylist allTeams having MyTeamRowBean
with attributes :
String teamName, first, middle last
logic:iterate id=myteam name=myTeamFormBean property=allTeams
tr
td Bbean:write name=myteam property=teamName //B/td
tdnbsp;/td
/tr
Hi,
MyTeamFormBean contains an arraylist allTeams having MyTeamRowBean
with attributes :
String teamName, first, middle last
logic:iterate id=myteam name=myTeamFormBean property=allTeams
tr
td Bbean:write name=myteam property=teamName //B/td
tdnbsp;/td
, November 22, 2003 4:11 AM
To: Struts Users Mailing List
Subject: Still no reply for :Problem in grouping using logic
iterate logic equal
Hi,
MyTeamFormBean contains an arraylist allTeams having
MyTeamRowBean with attributes :
String teamName, first, middle last
Subject: RE: Still no reply for :Problem in grouping using logic iterate
logic equal
Your doing a bean:write of the team name inside of your iterate, so
yeah, the team name is going to show up on every iteration.
What approaches have you tried already? Which is the part your not
getting
: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 4:39 AM
To: 'Struts Users Mailing List'
Subject: RE: Still no reply for :Problem in grouping using logic iterate
logic equal
Your doing a bean:write of the team name inside of your iterate, so
yeah, the team name is going
Subject: RE: Still no reply for :Problem in grouping using logic iterate
logic equal
This sounds like a job for ... the DisplayTag Taglib.
See this example page:
http://www.displaytag.org/example-grouping.jsp
Your formbean looks pretty simple:
(Should I ask why your properties start
.. ;-)
- Original Message -
From: Joe Hertz [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Saturday, November 22, 2003 3:09 PM
Subject: RE: Still no reply for :Problem in grouping using logic
iterate
logic equal
Your doing a bean:write of the team name inside of your iterate, so
hi!
i have a code segment that displays a form. part of the form consists of a
selection from a bunch of plans that can be selected through a radio button
tag
here's how it goes
html:form action=/saveServiceAccount
..
logic:iterate name=serviceTypes id=serviceType
tr
tdhtml:radio
Hi all,
I have a doubt using logic iterate:
Is it possible to display a row in a different color based on a value of the
bean while iterating it?
Actually, I am displaying the tax history of a person and I want to
highlight the row or a field (tax owed) to red color if the tax paid column
shows
: Srikanth Gubba [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 12:24 PM
To: '[EMAIL PROTECTED]'
Subject: Logic Iterate --URGENT Please
Hi all,
I have a doubt using logic iterate:
Is it possible to display a row in a different color based on a value of the
bean while iterating it?
Actually
, October 22, 2003 2:24 PM
To: '[EMAIL PROTECTED]'
Subject: Logic Iterate --URGENT Please
Hi all,
I have a doubt using logic iterate:
Is it possible to display a row in a different color based on a value of the
bean while iterating it?
Actually, I am displaying the tax history of a person and I want
news:[EMAIL PROTECTED]
Hi all,
I have a doubt using logic iterate:
Is it possible to display a row in a different color based on a value of
the
bean while iterating it?
Actually, I am displaying the tax history of a person and I want to
highlight the row or a field (tax owed) to red color
Hi ,
Can anyone help me with this iterate Tag ?
logic:iterate id=managers name=NewCategoryConfirm
property=categoryMangers
bean:write name=managers/
/logic:iterate
the categoryManagers property returns a Collection os Strings I
want to print all
To: Struts (E-mail)
Subject: Logic Iterate
Hi ,
Can anyone help me with this iterate Tag ?
logic:iterate id=managers name=NewCategoryConfirm
property=categoryMangers
bean:write name=managers/
/logic:iterate
the categoryManagers property returns
No, It does not work.
It says , Cannot find bean managers in any scope.
Thanks anywayz.
-Original Message-
From: Ramesh Kannery [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:55 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate
logic:iterate id=managers
may be ur collection may be empty or null
check ur collection object whether its contains anything??
-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:09 PM
To: 'Struts Users Mailing List'
Subject: RE: Logic Iterate
No, It does not work
PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate
may be ur collection may be empty or null
check ur collection object whether its contains anything??
-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:09 PM
To: 'Struts Users
wrote:
No, It does not work.
It says , Cannot find bean managers in any scope.
Thanks anywayz.
-Original Message-
From: Ramesh Kannery [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:55 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate
logic:iterate id=managers name
[mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:15 PM
To: Struts Users Mailing List
Subject: RE: Logic Iterate
If it is collection of Strings only then you can write the collection on
page using
bean:write name=managers/ itself.
There is No need to provide property attribute. property
Probably check if you are setting the collection properly in the
formbean.
-Original Message-
From: Thakur, Vikram [mailto:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 4:31 PM
To: 'Struts Users Mailing List'
Subject: RE: Logic Iterate
My Form Bean is configured properly
Can some body some body tell me about logic iterate tag
Thanks
Deepak
This e-mail may contain confidential or privileged information. If you
think you have received this e-mail in error, please advise the sender by
reply e-mail and then delete this e-mail immediately. Thank you. Aetna
That's not overly general or anything
** Note the sarcasm **
What do you want to know?
-Original Message-
From: Yinti, Deepak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 2:13 PM
To: Struts Users Mailing List
Subject: Logic Iterate in Struts
Can some body some body
logic iterate
was very great
for looping collections
with no quelm
but now there's jstl
and forEach can take the helm
The Struts team
suggests with gleam
http://jakarta.apache.org/struts/userGuide/dev_logic.html
http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate
http
I want to iterate thru by bean and retrieve all values in JSP thru this
tag
Deepak
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 2:20 PM
To: 'Struts Users Mailing List'
Subject: RE: Logic Iterate in Struts
That's
logic iterate
was very great
for looping collections
with no quelm
but now there's jstl
and forEach can take the helm
The Struts team
suggests with gleam
http://jakarta.apache.org/struts/userGuide/dev_logic.html
http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate
http
List
Subject: RE: Logic Iterate in Struts
I want to iterate thru by bean and retrieve all values in JSP thru this
tag
Deepak
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 2:20 PM
To: 'Struts Users Mailing List'
Subject
Subject: RE: Logic Iterate in Struts
Deepak,
Yesterday I posted a link containing source code on how to use the iterate
tag.
http://moosejaw.org/java/struts-iterate/
I hope it helps you.
Matt
-Original Message-
From: Yinti, Deepak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 2
It all depends on how you use the tag.
Show us how you tried to do this and what error was returned.
-Tim
-Original Message-
From: Mike Ash [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 09, 2003 4:07 PM
To: 'Struts Users Mailing List'
Subject: RE: Logic Iterate in Struts
I am having
]
Sent: Wednesday, July 09, 2003 3:16 PM
To: 'Struts Users Mailing List'
Subject: RE: Logic Iterate in Struts
It all depends on how you use the tag.
Show us how you tried to do this and what error was returned.
-Tim
-Original Message-
From: Mike Ash [mailto:[EMAIL PROTECTED]
Sent: Wednesday
To: 'Struts Users Mailing List'
Subject: RE: Logic Iterate in Struts
logic:iterate id=details name=txndetails
...
/logic:iterate
java code was like
List list = some_business_layer_call to return a list
session.setAttribute(txndetails, list);
error is
cannot create iterator for collection
Mailing List'
Subject: RE: Logic Iterate in Struts
have you tried:
logic:iterate id=details collection=txndetails
...
/logic:iterate
?
Better yet.. why not just use JSTL?
c:forEach var=details items=${txndetails}
...
/c:forEach
-Tim
-Original Message-
From: Mike Ash [mailto:[EMAIL PROTECTED
Mike wrote:
I am looking int the jstl stuff, I honestly just haven't used it yet,
sounds like the thing to do its just hard to get managers to agree to
let you use new stuff :(
It's easier to beg forgiveness than to ask permission. Anyway, how do you
evaluate new stuff if you have to get
Hi:
I want to edit an array of objects. I use logic:iterate , when
it display the page, all values are displayed, but when I submit the
form, it doesn't reflect the values on my bean ?
Can anybody give me an example ?
Thanks
Delio
The bean testbean have an array of object
It will stay in the contrib directory, or move out to a separate
release. It will never go into the base Struts distribution, for good
reason. Once JSP 2.0 is commonly available, the EL notation will be
natively supported, and Struts-EL won't be needed.
-Original Message-
From: Derek
The Logic taglib iterate tag was ported to struts-el. This indicates that it has some
functionality that cannot be reproduced by the JSTL forEach. However, after reading
through the documentation for these tags, I cannot find anything that iterate can do
that forEach cannot. So I am clearly
).
-Original Message-
From: Derek Richardson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 2:23 PM
To: Struts Users Mailing List
Subject: Struts Logic iterate vs JSTL Code forEach
The Logic taglib iterate tag was ported to struts-el. This indicates
that
it has some
on hold
until after 1.1 final?
Derek Richardson
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 5:41 PM
To: Struts Users Mailing List
Subject: RE: Struts Logic iterate vs JSTL Code forEach
The iterate tag was originally ported because
Hi there,
this is my problem,
I hap a Map, namely a hashtable, that I want struts to iterate through,
Now the bean class of each entry in the map is
com.crm.util.TemplateBeans.IMGTemplateBean
where TemplateBeans is a class itself.
using the following tag
logic:iterate name=RenderHTMLForm
Vanspall [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 March 2003 10:08 AM
To: Struts User Mailing List
Subject: logic iterate with nested class (I think that's the term)
Hi there,
this is my problem,
I hap a Map, namely a hashtable, that I want struts to iterate through,
Now the bean class of each
On Fri, 7 Mar 2003 10:31:08 +1100
Steve Vanspall [EMAIL PROTECTED] wrote:
Ignore this one,
It seems that Struts doesn't know to go into the Hashtable entry and
just get the value,
You can iterate through a map and display the keys and values just fine:
logic:iterate id=element
Yeah, I am trying to make input tags out of them
Thanks anywa
Steve
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]
Sent: Friday, 7 March 2003 10:54 AM
To: Struts Users Mailing List
Subject: Re: logic iterate with nested class (I think that's the term)
On Fri, 7 Mar
Hi,
I am new to struts and I trying to use the logic iterate tag. The task
that I have to do is to loop through a collection and display some
properties.
I am obtaining the collection on my jsp page itself. The collection is made
of objects.
Here is how I obtain the collection
Hi,
The following code is JSTL. How do I do this with struts logic tags ? No
struts-el.
c:when test=%= value % 2 == 0 %
I am looping with logic-iterate. 'value' in the above code should be the
'index' of the looped over arraylist.
I am just checking for alternate rows
: Making peace between Struts logic iterate and Ed Hill's
display tag...
Wouldn't this work. Still ugly but if you use XML syntax might be
passable.
%
FooBarBean fooBarBean =
(FooBarBean)request.getAttribute(FooBarBean.LOOKUP_KEY);
%
display:table name=FooBarBean property=fundList cellspacing=1
of the view/JSP? Field1,
field2, etc..?
Tech: Struts can and does work with collections, my formbeans
implement collection so they can multi row update and multi row
validate, this includes working the the logic iterate tag and html
indexed tag. (you know where this bean implementation is)
I can't see
Ugly Code!
The reason is that neither Rick nor I have figured out a way to make Ed
Hill's display tag live peacefully with Struts logic iterate tags. As a
result, I have JSP code which looks something like the following :
%
FooBarBean FooBarBean =
(FooBarBean)request.getAttribute
09, 2002 9:59 AM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]';
'[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Making peace between Struts logic iterate and Ed Hill's display
tag...
Last month a fellow by the name of Rick Ruemann [[EMAIL PROTECTED]]
posted a reply to an email inquiry of mine
nor I have figured out a way to make Ed
Hill's display tag live peacefully with Struts logic iterate tags. As a
result, I have JSP code which looks something like the following :
%
FooBarBean FooBarBean =
(FooBarBean)request.getAttribute(FooBarBean.LOOKUP_KEY);
%
display:table name=FooBarBean
jsp code snippet
logic:iterate id=reviewer name=revFormTeamVO property=reviewers
bean:write name=reviewer property=emp_name /
bean:write name=reviewer property=mail_id_v /
bean:write name=reviewer property=role_n /
/logic:iterate
property reviewers is TreeMap that stores beans
i get an
=reviewer property=value.mail_id_v /
bean:write name=reviewer property=value.role_n /
/logic:iterate
Jon Ridgway
-Original Message-
From: deepank [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 16:09
To: Struts Users Mailing List
Subject: logic : iterate is driving me mad
jsp code snippet
IT WORKED
THANKS VERY VERY VERY MUCH
Deepank
- Original Message -
From: Jon.Ridgway [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, September 24, 2002 8:39 PM
Subject: RE: logic : iterate is driving me mad
Hi Deepak
I can't remember the exact
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 2:35 PM
To: [EMAIL PROTECTED]
Subject: RE: Logic Iterate not finding my bean
You mean this one:
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
Nope, got that in there...
-Original Message-
From: Chris.Treglio
, July 02, 2002 8:45 AM
To: struts-user
Subject: RE: Logic Iterate not finding my bean
I don't know if this will solve your problem, but you're making a common
mistake. In the bean:write tag, the name attribute should be the same
as
the id attribute in the logic:iterate tag. So use name=refnum
PROTECTED]
Subject: RE: Logic Iterate not finding my bean
This was one of the many iterations I tried
logic:iterate id=bean name=rowset
type=org.apache.commons.beanutils.BasicDynaBean
Next element is bean:write name=bean property=refnum/
/logic:iterate
-Original Message-
From
[ServletException in:/WEB-INF/jsp/projects/mainmenu.jsp] Cannot find
bean rowset in scope session'
These are for DynaBeans incidentally... I am stuffing an array list and
then setting it like so:
---
System.out.println(Name is: + ((BasicDynaBean)
results.get(0)).get(name));
Please respond to Struts Users Mailing List
To: [EMAIL PROTECTED]
cc:
Subject:Logic Iterate not finding my bean
[ServletException in:/WEB-INF/jsp/projects/mainmenu.jsp] Cannot find
bean rowset in scope session'
These are for DynaBeans incidentally... I am stuffing an array list
You mean this one:
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
Nope, got that in there...
-Original Message-
From: Chris.Treglio [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 01, 2002 2:27 PM
To: struts-user
Subject: Re: Logic Iterate not finding my bean
I just got over
hi,
I have a List of Numbers and I like to use 3 columns and n rows.
Is there a possible way to realise this via Logic-iteration.
Normally, it look like that every next step in the iteration there is
always another row.
Like this:
table width=100% border=0 cellspacing=1 cellpadding=1
respond to
[EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject: Problem with Logic-iterate and enumeration
hi,
I have a List of Numbers and I like to use 3 columns and n rows.
Is there a possible way to realise this via
This seems like a kludge, but I don't know of another way of doing it with
Struts tags. Anybody else?
tr
logic:iterate * * * length=3 offset=0
tdbean:write * * * //td
/logic:iterate
/tr
tr
logic:present
logic:iterate * * * length=3 offset=3
tdbean:write * * * //td
Or perhaps something like?
%! int count = 0 %
logic:iterate * * *
tr
logic:iterate * * * length=3 offset=%= count %
tdbean:write * * * //td
/logic:iterate
/tr
% count += 3 %
/logic:iterate
Mark
-Original Message-
From: struts (H2Opilot) [mailto:[EMAIL
Hi,
I'm having some difficulty with the iteration tag in the logic tag lib.
It's very straight-forward when you are using your own concrete classes(w/
getters and setters for each property), but I can't seem to figure out a way
to get it working with utility classes.
What I'm trying to do is
method is MVC compliant.
Please is there a solution ?
Thanks in advance,
Geoffrey...
- Original Message -
From: Charlesworth, Chico [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 08, 2001 4:54 PM
Subject: RE: Logic-Iterate not finding scope of Bean
you can also have two separate
Title: Logic-Iterate not finding scope of Bean
I would suggest keeping a hidden property on your
form that keeps the state that you are in (ie., 1stTimeQuery, or
useQueryResults)...
- Original Message -
From:
Luna, Kat
To: [EMAIL PROTECTED]
Sent: Thursday, June 07
, June 07, 2001 7:58 PM
To: [EMAIL PROTECTED]
Subject: Logic-Iterate not finding scope of Bean
Hi all, me again with my afternoon question..
I have a UserAction class that extracts a list of Users from the database
and stores them in an ArrayList. Success from this Action forwards to
user.jsp
Title: Logic-Iterate not finding scope of Bean
Hi all, me again with my afternoon question..
I have a UserAction class that extracts a list of Users from the database and stores them in an ArrayList. Success from this Action forwards to user.jsp which I want to display the list in table
Hi,
I was trying to us the logic-iterate tag and i'm stuck
at a point. Please go thru the snippet below,
logic:iterate id=test name=mybean
property=name
liembean:write name=test//em/li
%
String myName = instance.getName(mybean.getName());
System.out.println(myName);
%
/logic:iterate
Now, how
. And in the bean class eachBean) you will have a
method getName() which will return the name variable.
Hope this helps.
-Nimmi
-Original Message-
From: Shane Warne [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 5:03 PM
To: [EMAIL PROTECTED]
Subject: Logic-Iterate
Hi,
I was trying to us
Hello,
I have a Vector Object stored in my session with
the key "tabTest" this Vector contains "Client" Objetcs, Client classe have
a "name" property.
I use this code in my JSP :
logic:iterate id="client" name="tabTest"
scope="session" type="Client" bean:write
name="client"
have u
put that object into the session, before u get to the form
session.setAttribute("tabTest",
VectorObject);
-Original Message-From: Sylvain FAGNENT
[mailto:[EMAIL PROTECTED]]Sent: Thursday, May 10, 2001 2:57
PMTo: [EMAIL PROTECTED]Subject: Logic
iterat
Yes , we did ! :-(
- Original Message -
From:
Dudley Butt@i-Commerce
To: '[EMAIL PROTECTED]'
Sent: Thursday, May 10, 2001 3:04
PM
Subject: RE: Logic iterate problems
have
u put that object into the session, before u get to the
form
10, 2001 9:13
AMTo: [EMAIL PROTECTED]Subject: Re: Logic
iterate problems
Yes , we did ! :-(
- Original Message -
From:
Dudley Butt@i-Commerce
To: '[EMAIL PROTECTED]'
Sent: Thursday, May 10, 2001 3:04
PM
Subject: RE: Logic iterate
David
-Original Message-
From: Sylvain FAGNENT [mailto:[EMAIL PROTECTED]]
Sent: 10 May 2001 13:57
To: [EMAIL PROTECTED]
Subject: Logic iterate problems
Hello,
I have a Vector Object stored in my session with the key tabTest this
Vector
contains Client Objetcs, Client classe have a name
an "
error.
Thanks Sylvain !
- Original Message -----
From:
Nanduri, Amarnath
To: '[EMAIL PROTECTED]'
Sent: Thursday, May 10, 2001 3:17
PM
Subject: RE: Logic iterate problems
Maybe use need to use the jsp:useBean name="tabTest"
class=&quo
I tried to encapsulate all my tags with
html:form action=realAction
..
/html:form
But it still doesn't work !
- Original Message -
From: Firmin David [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, May 10, 2001 3:22 PM
Subject: RE: Logic iterate problems
I came across
In
your jsp page did you do an import on client ?
%@ page import = "beans.Client" %
-Original Message-From: Sylvain FAGNENT
[mailto:[EMAIL PROTECTED]]Sent: Thursday, May 10, 2001 9:33
AMTo: [EMAIL PROTECTED]Subject: Re: Logic
iterate problems
I t
1 - 100 of 108 matches
Mail list logo