this should do the trick:
this, of course, assumes that your "secondaryBean" has methods like getName(),
getPrice() etc.
cheers,
pj
Malhotra, Amitkumar \(Exchange\)
Thu, 24 Nov 2005 21:23:34 -0800
Hello All,
Am stuck up with a simple problem and could not find solution to the same
Hello All,
Am stuck up with a
simple problem and could not find solution to the same over the net
my DAO sets a list in the session , this list contains java bean classes, the
action
class forwards the flow to a jsp page.
I want to iterate over the collection and read the java beans stor
Hi,
I am trying to follow the advice given yesterday but am now baffled by the
basic jstl stuff.
I have cut it down to basics and still get no output actually written to the
page. I've tried all variations on the theme (have the arraylist in the
session, use c:outs in the "" tags etc).
The code
Rick Reumann wrote:
To do what you want above would take a slightly different approach. Say
you had your ArrayList of Contacts in Session scope and after the user
clicked on a link you wanted to edit one of those objects. In this case
you wouldn't use the "ID" to look him up you'd have to use th
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, August 31, 2004 9:48 AM
>> To: [EMAIL PROTECTED]
>> Subject: Iterating over collection ...
>>
>>
>> Hello there
>>
>> I am having
r in order to iterate through the inner
>list for each object:
>
>
>
>
>
>
>
>
>
>Daniel.
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: 31 August 2004 17:48
>> To: [E
andy wix wrote:
session). To get the ID would be something, but it would save me
needing an action class at all if I could get the contact object
representing the 'clicked' row into the session or request scope.
To do what you want above would take a slightly different approach. Say
you had you
You need to nest another iterate'er in order to iterate through the inner
list for each object:
Daniel.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 31 August 2004 17:48
> To: [EMAIL PROTECTED]
> Sub
Don't you want a nested iteration of the second ArrayList, similar to
the iteration you already have?
Erik
[EMAIL PROTECTED] wrote:
Hello there
I am having some issue getting the correctly output while iterating over my collection
I'm doing the following:
I'm iterating over an processList(ArrayLi
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 9:48 AM
> To: [EMAIL PROTECTED]
> Subject: Iterating over collection ...
>
>
> Hello there
>
> I am having some issue getting the correctly out
Hello there
I am having some issue getting the correctly output while iterating over my collection
I'm doing the following:
I'm iterating over an processList(ArrayList) which contains 4 objects of type
ProcessBO.
ProcessBO has 3 attributes;
int ID
String name
ArrayList tasklist
The tasklist
ugust 2004 17:19
> To: [EMAIL PROTECTED]
> Subject: Re: Identifying the 'clicked' line when iterating over
> collection
>
>
> Hi,
>
> I have tried most of the code in the replies and, alas, fear my
> brain is too
> small to get any working.
> I am persevering with
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 31, 2004 9:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Identifying the 'clicked' line when iterating over
> collection
>
>
> Hi,
>
> I have tried most
Hi,
I have tried most of the code in the replies and, alas, fear my brain is too
small to get any working.
I am persevering with Rick Reumann's method (because I liked the Struttin'
with Struts stuff!) but I don't get a session parameter in my next page
after the link is followed (I have changed
[EMAIL PROTECTED] wrote:
It sounds like you want to attach parameters to your link? How bout something
like this:
...
...
The above is nice, or I just use the JSTL url tag so for a row you might
have (if using one dispatch Action called contactAction ) ...
EDIT
DELETE
or if JSP 2.0
ED
y.
-= J
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 30, 2004 3:04 PM
> To: [EMAIL PROTECTED]
> Subject: Identifying the 'clicked' line when iterating over collection
>
>
> Hi,
> In my jsp page I have an ArrayList of contact
It sounds like you want to attach parameters to your link? How bout something
like this:
...
...
Quoting andy wix <[EMAIL PROTECTED]>:
> Hi,
> In my jsp page I have an ArrayList of contact objects and I use this to
> build an html table; one contact per row. At the end of each table row I
>
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 30, 2004 1:04 PM
> To: [EMAIL PROTECTED]
> Subject: Identifying the 'clicked' line when iterating over collection
>
>
> Hi,
> In my jsp page I have an ArrayList
Hi,
In my jsp page I have an ArrayList of contact objects and I use this to
build an html table; one contact per row. At the end of each table row I
have edit and delete links such that the form looks roughly like:
Name Number
Fred1234edit delete
Barney
19 matches
Mail list logo