Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
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

Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
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

Re: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
: 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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
=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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
(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

Re: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael Wiles
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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Jacqueline Gomes
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

RE: Logic Iterate - Cannot Create iterator for this collection

2004-02-04 Thread Michael McGrady
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

problem in javascript for select enabled/disabled by checkbox in a list with in logic iterate

2003-12-11 Thread Udaya Allu
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

Re: problem in javascript for select enabled/disabled by checkbox in a list with in logic iterate

2003-12-11 Thread Firat TIRYAKI
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

RE: problem in javascript for select enabled/disabled by checkbox in a list with in logic iterate

2003-12-11 Thread Udaya Allu
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

RE: logic iterate

2003-12-01 Thread Naveen S. Kumar
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

RE: logic iterate

2003-12-01 Thread David Friedman
-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

RE: logic iterate

2003-12-01 Thread Naveen S. Kumar
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

logic iterate

2003-11-30 Thread Naveen S. Kumar
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.

RE: logic iterate

2003-11-30 Thread David Friedman
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:

2003-11-24 Thread Raman
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

Re: Logic Iterate problem:

2003-11-24 Thread Jeff Kyser
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

Problem in grouping using logic iterate logic equal

2003-11-22 Thread Shakti
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

Still no reply for :Problem in grouping using logic iterate logic equal

2003-11-22 Thread Shakti
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

RE: Still no reply for :Problem in grouping using logic iterate logic equal

2003-11-22 Thread Joe Hertz
, 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

Re: Still no reply for :Problem in grouping using logic iterate logic equal

2003-11-22 Thread Shakti
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

RE: Still no reply for :Problem in grouping using logic iterate logic equal

2003-11-22 Thread David Friedman
: 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

Re: :Problem in grouping using logic iterate logic equal: Somewht solved

2003-11-22 Thread Shakti
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

Re: Still no reply for :Problem in grouping using logic iterate logic equal

2003-11-22 Thread Mark Lowe
.. ;-) - 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

logic iterate + radio

2003-10-30 Thread ajay brar
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

Logic Iterate --URGENT Please

2003-10-22 Thread Srikanth Gubba
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

RE: Logic Iterate

2003-10-22 Thread Satyabrata Dash
: 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

RE: Logic Iterate --URGENT Please

2003-10-22 Thread Greg Dunn
, 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

Re: Logic Iterate --URGENT Please

2003-10-22 Thread Lukas Bradley
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

Logic Iterate

2003-10-17 Thread Thakur, Vikram
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

RE: Logic Iterate

2003-10-17 Thread Ramesh Kannery
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

RE: Logic Iterate

2003-10-17 Thread Thakur, Vikram
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

RE: Logic Iterate

2003-10-17 Thread Ramesh Kannery
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

RE: Logic Iterate

2003-10-17 Thread Khalid Umar
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

Re: Logic Iterate

2003-10-17 Thread Mark Lowe
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

RE: Logic Iterate

2003-10-17 Thread Thakur, Vikram
[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

RE: Logic Iterate

2003-10-17 Thread Khalid Umar
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

Logic Iterate in Struts

2003-07-09 Thread Yinti, Deepak
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

RE: Logic Iterate in Struts

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

RE: Logic Iterate in Struts

2003-07-09 Thread Chen, Gin
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

RE: Logic Iterate in Struts

2003-07-09 Thread Yinti, Deepak
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

[OT]Re: Logic Iterate in Struts

2003-07-09 Thread Yann Cébron
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

RE: Logic Iterate in Struts

2003-07-09 Thread Matthew J. Vincent
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

RE: Logic Iterate in Struts

2003-07-09 Thread Mike Ash
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

RE: Logic Iterate in Struts

2003-07-09 Thread Chen, Gin
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

RE: Logic Iterate in Struts

2003-07-09 Thread Mike Ash
] 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

RE: Logic Iterate in Struts

2003-07-09 Thread Chen, Gin
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

RE: Logic Iterate in Struts

2003-07-09 Thread Mike Ash
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

RE: Logic Iterate in Struts

2003-07-09 Thread Wendy Smoak
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

Logic Iterate

2003-06-25 Thread Delio Dirazar
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

RE: Struts Logic iterate vs JSTL Code forEach

2003-06-06 Thread Karr, David
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

Struts Logic iterate vs JSTL Code forEach

2003-06-05 Thread Derek Richardson
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

RE: Struts Logic iterate vs JSTL Code forEach

2003-06-05 Thread Karr, David
). -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

RE: Struts Logic iterate vs JSTL Code forEach

2003-06-05 Thread Derek Richardson
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

logic iterate with nested class (I think that's the term)

2003-03-06 Thread Steve Vanspall
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

RE: logic iterate with nested class (I think that's the term)

2003-03-06 Thread Steve Vanspall
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

Re: logic iterate with nested class (I think that's the term)

2003-03-06 Thread Rick Reumann
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

RE: logic iterate with nested class (I think that's the term)

2003-03-06 Thread Steve Vanspall
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

Help using the logic iterate tag in struts

2003-01-13 Thread Mani, Jaya (J.)
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

index of logic-iterate

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

RE: Making peace between Struts logic iterate and Ed Hill's display tag...

2002-11-10 Thread McLure, David
: 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

Re: Making peace between Struts logic iterate and Ed Hill's displ ay tag...

2002-11-10 Thread V. Cekvenich
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

Making peace between Struts logic iterate and Ed Hill's display tag...

2002-11-09 Thread David McLure
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

RE: Making peace between Struts logic iterate and Ed Hill's display tag...

2002-11-09 Thread edgar
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

Re: Making peace between Struts logic iterate and Ed Hill's display tag...

2002-11-09 Thread Antoni Reus
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

logic : iterate is driving me mad

2002-09-24 Thread deepank
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

RE: logic : iterate is driving me mad

2002-09-24 Thread Jon.Ridgway
=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

Re: logic : iterate is driving me mad

2002-09-24 Thread deepank
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

RE: Logic Iterate not finding my bean

2002-07-02 Thread Kamholz, Keith (corp-staff) USX
: [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

RE: Logic Iterate not finding my bean

2002-07-02 Thread wbchmura
, 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

RE: Logic Iterate not finding my bean

2002-07-02 Thread Kamholz, Keith (corp-staff) USX
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

Logic Iterate not finding my bean

2002-07-01 Thread wbchmura
[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));

Re: Logic Iterate not finding my bean

2002-07-01 Thread Chris_Treglio
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

RE: Logic Iterate not finding my bean

2002-07-01 Thread wbchmura
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

Problem with Logic-iterate and enumeration

2002-06-06 Thread struts (H2Opilot)
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

Re: Problem with Logic-iterate and enumeration

2002-06-06 Thread dhay
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

RE: Problem with Logic-iterate and enumeration

2002-06-06 Thread Galbreath, Mark
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

RE: Problem with Logic-iterate and enumeration (2)

2002-06-06 Thread Galbreath, Mark
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

logic iterate tag

2002-03-20 Thread eschneider
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

Re: Logic-Iterate not finding scope of Bean - bean:write error ???

2001-06-11 Thread Geoffrey Van Nuffelen
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

Re: Logic-Iterate not finding scope of Bean

2001-06-08 Thread Jeff Trent
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

RE: Logic-Iterate not finding scope of Bean

2001-06-08 Thread Charlesworth, Chico
, 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

Logic-Iterate not finding scope of Bean

2001-06-07 Thread Luna, Kat
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

Logic-Iterate

2001-06-04 Thread Shane Warne
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

RE: Logic-Iterate

2001-06-04 Thread Shamdasani Nimmi-ANS004
. 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

Logic iterate problems

2001-05-10 Thread Sylvain FAGNENT
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"

RE: Logic iterate problems

2001-05-10 Thread Dudley [EMAIL PROTECTED]
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

Re: Logic iterate problems

2001-05-10 Thread Sylvain FAGNENT
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

RE: Logic iterate problems

2001-05-10 Thread Nanduri, Amarnath
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

RE: Logic iterate problems

2001-05-10 Thread Firmin David
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

Re: Logic iterate problems

2001-05-10 Thread Sylvain FAGNENT
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

Re: Logic iterate problems

2001-05-10 Thread Sylvain FAGNENT
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

RE: Logic iterate problems

2001-05-10 Thread Nanduri, Amarnath
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   2   >