RE: Using logic:iterate with twin Collections

2003-10-01 Thread Karr, David
, and then directly reference the entry of the other > collection using that value. > > > -Original Message- > > From: Justin Mahoney [mailto:[EMAIL PROTECTED] > > > > Hi, > > I have two Collections (ArrayLists) with an equal number of > > ele

RE: Using logic:iterate with twin Collections

2003-10-01 Thread Justin Mahoney
9) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) > Thanks again, Justin -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 10:58 AM To: Struts Users Mailing List Subject: RE: Using logic:iterate with twin Collections

RE: Using logic:iterate with twin Collections

2003-10-01 Thread Karr, David
Collections (ArrayLists) with an equal number of > elements that > are directly related to each other, but the child elements have no > references to each other. How can I use the logic:iterate tag > to iterate > over the first and pull out the corresponding element fro

Using logic:iterate with twin Collections

2003-10-01 Thread Justin Mahoney
Hi, I have two Collections (ArrayLists) with an equal number of elements that are directly related to each other, but the child elements have no references to each other. How can I use the logic:iterate tag to iterate over the first and pull out the corresponding element from the other for use in

Re: logic:iterate problem

2003-09-27 Thread Manfred Wolff
Thats not. You use something like or an other tag that uses message resources. But the Struts-Framework can't find the resourceBundle.. Manfred Gregory F. March wrote: Make sure your getters and setters conform to the Java naming conventions - I got burned by something similar and that was t

Re: logic:iterate problem

2003-09-26 Thread Gregory F. March
Make sure your getters and setters conform to the Java naming conventions - I got burned by something similar and that was the root cause... HTH... /greg On Sep 26, 2003, "MaFai" <[EMAIL PROTECTED]> wrote: |Hello, struts-user, | |[code] | | | | |[/code] | |customers

logic:iterate problem

2003-09-25 Thread MaFai
Hello, struts-user, [code] [/code] customers is set by request.setAttribute pps is string value. testb is a int value If remove the testb ,it run smoonthly. If change testb to boolean,it also run smoothly. Otherwise It always throw the exception org.apache.jasper.JasperExc

Re: logic:iterate problem

2003-09-20 Thread Bryce Fischer
uhh.. Never mind. Figured it out. Told you all it would be something stupid. Forgot to add the <%@ taglib uri="/tags/struts-bean" prefix="bean"%>... Sorry to waste bandwidth. -- Bryce Fischer <[EMAIL PROTECTED]> - To unsubscr

Re: logic:iterate problem

2003-09-19 Thread Bryce Fischer
To partially answer my own question, I changed this: > > CenterTitleTotal > type="com.berzerkersoft.bisweb.db.ejb.value.CenterBrowseValue"> > > > > > to read: CenterTitleTotal Element Value: and I get the exact number of "E

logic:iterate problem

2003-09-19 Thread Bryce Fischer
Basic question, should be easy, but I"m obviously missing something easy. Trying to iterate through a java.lang.Set collection that I have put in my session. My jsp will display the header information, but nothing else. This is my jsp. It is a tile, so what you see below is the complete content f

Re: Passing variables for logic:iterate

2003-09-15 Thread Jason Lea
m.net:81/~march-=-AIM:GfmNet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] You said you have these entries in your form: But the logic:iterate tag offset and length attributes need th

Re: Passing variables for logic:iterate

2003-09-15 Thread Gregory F. March
On Sep 15, 2003, "Susan Bradeen" <[EMAIL PROTECTED]> wrote: |I think this might be one of those cases where you go through "comment out |parts of your JSP code and try again" iterations to find what is causing |the error. Not very elegant, but it has worked for me. Thanks Susan, that's wh

Re: Passing variables for logic:iterate

2003-09-15 Thread Susan Bradeen
On 09/15/2003 01:36:51 PM "Gregory F. March" wrote: > On Sep 15, 2003, "Mainguy, Mike" <[EMAIL PROTECTED]> wrote: > > |1st, Thank you, I didn't realize the logic:Iterate tag had those two > |properties, so you've indirectly saved me some effo

Re: Passing variables for logic:iterate

2003-09-15 Thread Gregory F. March
On Sep 15, 2003, "Mainguy, Mike" <[EMAIL PROTECTED]> wrote: |1st, Thank you, I didn't realize the logic:Iterate tag had those two |properties, so you've indirectly saved me some effort. : Thanks for the answers... As a first go-round, I'm trying the bean:def

RE: Passing variables for logic:iterate

2003-09-15 Thread Robert Taylor
g List' > Subject: RE: Passing variables for logic:iterate > > > 1st, Thank you, I didn't realize the logic:Iterate tag had those two > properties, so you've indirectly saved me some effort. > > 2nd, After looking at the source code for the iterate tag, it > lo

RE: Passing variables for logic:iterate

2003-09-15 Thread Mainguy, Mike
1st, Thank you, I didn't realize the logic:Iterate tag had those two properties, so you've indirectly saved me some effort. 2nd, After looking at the source code for the iterate tag, it looks like it tries to look up those two values straight out of the pageContext. This would imply t

RE: Passing variables for logic:iterate

2003-09-15 Thread Robert Taylor
robert > -Original Message- > From: Gregory F. March [mailto:[EMAIL PROTECTED] > Sent: Monday, September 15, 2003 12:00 PM > To: [EMAIL PROTECTED] > Subject: Passing variables for logic:iterate > > > > Ok, this is probably a dumb questio, but here it goes...

Passing variables for logic:iterate

2003-09-15 Thread Gregory F. March
Ok, this is probably a dumb questio, but here it goes... I am trying to iterate over a portion of a list. I have calculated the portion (the offset and length) in my action. I have two entries in my DynaValidatorForm: And I am doing a myform.set("pageOffset", String.valueOf(myCa

Re: assigning a value back to a bean in a logic:iterate?

2003-09-15 Thread Mick Knutson
(805) 563-0666 Office +001 (708) 570-2772 Fax --- - Original Message - From: "Mohan Radhakrishnan" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, September 12, 2003 8:48 AM Subject: RE: assigning a valu

RE: assigning a value back to a bean in a logic:iterate?

2003-09-12 Thread Mohan Radhakrishnan
ght also use the logic:equal tag instead of scriptlets. Mohan -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 8:06 PM To: Struts Users Mailing List Subject: Re: assigning a value back to a bean in a logic:iterate? I am basically trying t

Re: assigning a value back to a bean in a logic:iterate?

2003-09-12 Thread Mick Knutson
t: RE: assigning a value back to a bean in a logic:iterate? > > value="content_tbl_blue" /> > > > This code defines a scripting variable but I think that since you don't have > any html controls this value is not automatically sent with the request.

RE: assigning a value back to a bean in a logic:iterate?

2003-09-12 Thread Mohan Radhakrishnan
ssage- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Friday, September 12, 2003 7:44 PM To: struts Subject: assigning a value back to a bean in a logic:iterate? I have the following code I want to make work: ..

assigning a value back to a bean in a logic:iterate?

2003-09-12 Thread Mick Knutson
I have the following code I want to make work: stuff test blue But I can't seem assign "cellColor" attribute back into alertListForm. --- Thanks Mic

html:select within logic:iterate

2003-09-10 Thread Tobias Salem
r occurs but no update of the qty or deliveryMethod occurs. If I remove the indexed="true" it says that setter methods for qty and deliveryMethod is missing, which is a lie since a TradeProduct has those, and tp points to a TradeProduct. Any help is much appreciated. A complete example html:sel

Re: logic:iterate

2003-08-29 Thread David Erickson
Luck David - Original Message - From: "Ian Joyce" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 1:56 PM Subject: logic:iterate > Hi, > > Can someone give me an example of how to iterate over an ArrayList of > Strings using

logic:iterate

2003-08-29 Thread Ian Joyce
Hi, Can someone give me an example of how to iterate over an ArrayList of Strings using the iterate logic tag? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

sorting using logic:iterate tag

2003-08-25 Thread Chiyaan Schumi
Hi *, Is there any possibility of sorting the data elements in the form bean with all indexed properties in it. I need to display this data using logic:iterate tag. does struts provide any functionality similar to this. The data has to be displayed in html table format, by selecting any

RE: Resetting of Checkbox when using logic:iterate Tag

2003-08-22 Thread Raghu.Ramakrishnan
checkboxes according... Plss let me know if you know of anything else... Thanks, Raghu -Original Message- From: Susan Bradeen [mailto:[EMAIL PROTECTED] Sent: Friday, August 22, 2003 2:00 PM To: Struts Users Mailing List Subject: Re: Resetting of Checkbox when using logic:iterate Tag Are

Re: Resetting of Checkbox when using logic:iterate Tag

2003-08-22 Thread Susan Bradeen
Are you using the reset() method of your ActionForm to set the checkbox to null or false? http://jakarta.apache.org/struts/faqs/newbie.html#checkbox Susan Bradeen On 08/22/2003 12:32:17 PM "Raghu.Ramakrishnan" wrote: > Hi, > > I have one issue, that is I have some checkboxes within my > , and

Resetting of Checkbox when using logic:iterate Tag

2003-08-22 Thread Raghu.Ramakrishnan
Hi, I have one issue, that is I have some checkboxes within my , and 1) When the user clicks on the checkbox, the property corresponding to the checkbox is set to 'on'. 2) When the user de-clicks the checkbox(removes the check), the checkbox is still set to 'on', how do we reset the

Problem with logic:iterate and bean:write

2003-07-24 Thread Peter Eichenauer
Hello, I have a problem with using inside . The code I use: ... ... The object with id="date" is of type java.util.Date. The documentation of says, "if property is not specified, the value of the bean itself will be rendered". But my JSP throws an Exception: Cannot find bean date in any

Re: logic:iterate tag fails on large dataset, succeeds on small one?

2003-07-23 Thread David Graham
--- Aaron Humphrey <[EMAIL PROTECTED]> wrote: > > > > If both JSTL and Struts are failing, it's probably your code that's > > broken. > > > David > > Often a reasonable assumption, in the circumstances, but it turns out > not so. > > I got my page to work with a straight Servlet full of out.pr

Re: logic:iterate tag fails on large dataset, succeeds onsmall one?

2003-07-23 Thread Aaron Humphrey
> If both JSTL and Struts are failing, it's probably your code that's > broken. > David Often a reasonable assumption, in the circumstances, but it turns out not so. I got my page to work with a straight Servlet full of out.println() statements. Then I got it working using one Servlet filling

Re: logic:iterate tag fails on large dataset, succeeds on smallone?

2003-07-22 Thread Nagendra Kumar O V S
: logic:iterate tag fails on large dataset, succeeds on smallone?  Hi,I am using struts validator in the logon.jsp of my application. If I don'tenter the username & click on submit the message displayed is "null isrequired". Instead it should be "Use

Re: logic:iterate tag fails on large dataset, succeeds on small one?

2003-07-22 Thread prashant . mdesai
Hi, I am using struts validator in the logon.jsp of my application. If I don't enter the username & click on submit the message displayed is "null is required". Instead it should be "Username is required". The part of the code in the validator-rules.xml is correct. I have given msg="errors.requir

Re: logic:iterate tag fails on large dataset, succeeds on small one?

2003-07-21 Thread David Graham
r > of > > fields with no problem. As an added bonus you'll get improved page > > rendering time because containers can optimize the performance of JSTL > > tags. > > Okay, I got JSTL 1.0 working on my machine(after giving up on 1.1, which > is > apparently too

Re: logic:iterate tag fails on large dataset, succeeds onsmall one?

2003-07-21 Thread Aaron Humphrey
t; rendering time because containers can optimize the performance of JSTL > tags. Okay, I got JSTL 1.0 working on my machine(after giving up on 1.1, which is apparently too bleeding-edge). Replacing logic:iterate with c:forEach is straightforward. And I still get the same problem. Oh, the exc

Re: logic:iterate tag fails on large dataset, succeeds on small one?

2003-07-21 Thread David Graham
I suggest you use the JSTL's tag instead of the Struts iterate tag. I have dynamic query pages that use forEach and display n number of fields with no problem. As an added bonus you'll get improved page rendering time because containers can optimize the performance of JSTL tags. David --- Aar

logic:iterate tag fails on large dataset, succeeds on smallone?

2003-07-21 Thread Aaron Humphrey
I am trying to do a very simple data-display web application using Struts, with MySQL on the back end. Basically, I take a ResultSet and its ResultSetMetaData and put it into some beans. I have a TableDataView object which contains a FieldList and a RecordCollection. FieldList has a property

Iterating two Collection in single logic:iterate

2003-07-16 Thread Anurag Garg
Hi All, I have two Collection element in my action form. Now I need to access the elements stored in these collection. I want to access the elements from both these collections using a single rather than using two different logic:iterate for these Collection. Is there any way to access these

RE: logic:empty inside logic:iterate

2003-07-10 Thread Joe Zendle
ogic:empty inside logic:iterate I'm trying to display a checkbox only if a field is not empty. This logic is applied in a tag as in the code below. No matter what the property values are, the checkbox is always displayed as if the logic check is not made. I have tried logic:empty, logic:notEmpt

logic:empty inside logic:iterate

2003-07-09 Thread Joe Zendle
I'm trying to display a checkbox only if a field is not empty. This logic is applied in a tag as in the code below. No matter what the property values are, the checkbox is always displayed as if the logic check is not made. I have tried logic:empty, logic:notEmpty, logic:equals, logic:notEquals an

Re: Help Logic:Iterate

2003-07-09 Thread Wagner Levi Brunca
thanks for help!!! Wagner! - Original Message - From: "Paananen, Tero" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 4:30 PM Subject: RE: Help Logic:Iterate > > please i need of a

RE: Help Logic:Iterate

2003-07-09 Thread Paananen, Tero
> please i need of a example of Iterate!!! http://www.google.com/search?q=logic%3Aiterate+example http://groups.google.com/groups?q=logic%3Aiterate+example -TPP - This email may contain confidential and privileged material f

RE: Help Logic:Iterate

2003-07-09 Thread Matthew J. Vincent
: struts list Subject: Fw: Help Logic:Iterate Friends, please i need of a example of Iterate!!! Thank!! Wagner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Fw: Help Logic:Iterate

2003-07-09 Thread Wagner Levi Brunca
Friends, please i need of a example of Iterate!!! Thank!! Wagner

RE: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-08 Thread Bård Arve Evjen
J. Vincent" <[EMAIL PROTECTED]> Date: Tue, 8 Jul 2003 13:42:27 -0400 To: <[EMAIL PROTECTED]> Subject: RE: Problems with logic:iterate (indexId has no effect) - doesn'tanyone know the solution? > Bard, > > I'm not sure if you have figured this out or not, bu

RE: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-08 Thread Matthew J. Vincent
ts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution? > I wouldn't use a vector, but maybe you can? > > My understanding is that iterate works on anything > that returns an iterator.

Re: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-07 Thread Bård Arve Evjen
Message - From: Sandeep Takhar <[EMAIL PROTECTED]> Date: Mon, 7 Jul 2003 10:13:33 -0700 (PDT) To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Problems with logic:iterate (indexId has no effect) - doesn'tanyone know the solution? > I wouldn't use a

Re: Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-07 Thread Sandeep Takhar
I wouldn't use a vector, but maybe you can? My understanding is that iterate works on anything that returns an iterator. logic:iterate name="someName" should be used when the bean someName is in some scope and is the collection that you want. logic:iterate name=&quo

Problems with logic:iterate (indexId has no effect) - doesn't anyone know the solution?

2003-07-07 Thread Bård Arve Evjen
I didn't think this was a big problem for you Struts-gurus, but maybe I'm wrong :-) I have a vector called variationmargins and in it I have a property called loadProfile that is either 1 or 2 for all postings. I have tried to use the logic:iterate tag to output the result using the l

Re: logic:iterate question

2003-07-07 Thread Sandeep Takhar
The following link should help: http://www.mail-archive.com/[EMAIL PROTECTED]/msg71256.html however it talks about using el, but this is not necessary. I have got the nested tags to work properly. The logic tag should work, but I think I was doing something slightly wrong when I tried. Remembe

Problems with logic:iterate (indexId has no effect)

2003-07-07 Thread Bard A. Evjen
Hi, I have a vector called variationmargins and in it I have a property called loadProfile that is either 1 or 2 for all postings. I have tried to use the logic:iterate tag to output the result using the loadProfile as an index, but it has not effect. It just outputs everything, no matter the

logic:iterate question

2003-07-06 Thread Marco.Mistroni
hi all, i have a Map-backed action Form which contains an HashMap the ActionForm is as follows public MapActionForm extends ActionForm { HashMap table = new HashMap(); public void setValue(String key, String value) { ... } public Object getValue(

Re: AW: logic:iterate length question

2003-07-03 Thread Dirk Markert
make things work? WN> Kind regards WN> Nadja Weber WN> -Ursprungliche Nachricht- WN> Von: Dirk Markert [mailto:[EMAIL PROTECTED] WN> Gesendet: Donnerstag, 3. Juli 2003 17:21 WN> An: Struts Users Mailing List WN> Betreff: Re: logic:iterate length question WN> Hello

AW: logic:iterate length question

2003-07-03 Thread Weber, Nadja
Any ideas on how to make things work? Kind regards Nadja Weber -Ursprungliche Nachricht- Von: Dirk Markert [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 3. Juli 2003 17:21 An: Struts Users Mailing List Betreff: Re: logic:iterate length question Hello Nadja, according to the docs

Re: logic:iterate length question

2003-07-03 Thread Dirk Markert
Hello Nadja, according to the docs: "The length value or attribute name (<=0 means no limit)." Thus, it's a feature. *** WN> Hello all, WN> I have a question regarding the length attribute of . If I set it to "0" it seems to ignore

logic:iterate length question

2003-07-03 Thread Weber, Nadja
Hello all, I have a question regarding the length attribute of . If I set it to "0" it seems to ignore the length attribute and iterate through the whole collection. Is that a bug or a feature? Thanks Kind regards Nadja Weber T-Systems Systems Integration Business Unit Entwicklungszentrum

problem in logic:iterate using HashMap

2003-06-25 Thread O_Parthasarathy Kesavaraj
To: Struts Users Mailing List > Sent: Tuesday, June 24, 2003 8:28 PM > To: Struts Users Mailing List > Subject: RE: logic:iterate using HashMap > > On Tue, 2003-06-24 at 10:46, O_Parthasarathy Kesavaraj wrote: > > > > O_Parthasarathy Kesavaraj írt

RE: logic:iterate using HashMap

2003-06-24 Thread O_Parthasarathy Kesavaraj
Rick Reumann[SMTP:[EMAIL PROTECTED] > Reply To: Struts Users Mailing List > Sent: Tuesday, June 24, 2003 8:28 PM > To: Struts Users Mailing List > Subject: RE: logic:iterate using HashMap > > Thanks rick.I loaded a select box containing

RE: logic:iterate using HashMap

2003-06-24 Thread Rick Reumann
On Tue, 2003-06-24 at 10:46, O_Parthasarathy Kesavaraj wrote: > > O_Parthasarathy Kesavaraj írta: > Thanks Tib.I did look at the docs.But i got struck up.If u have any > sample code pls send. I admit the docs I think are lame on this area. This should work.. - JSTL should be

RE: logic:iterate using HashMap

2003-06-24 Thread O_Parthasarathy Kesavaraj
> -- > From: Gemes Tibor[SMTP:[EMAIL PROTECTED] > Reply To: Struts Users Mailing List > Sent: Tuesday, June 24, 2003 7:46 PM > To: Struts Users Mailing List > Subject: Re: logic:iterate using HashMap > > O_Parthasarathy Kesavaraj írta:

Re: logic:iterate using HashMap

2003-06-24 Thread Gemes Tibor
O_Parthasarathy Kesavaraj írta: How to iterate thro HashMap using logic:iterate? You did not look into the docs, did you? http://jakarta.apache.org/struts/userGuide/struts-logic.html#iterate Normally, each object exposed by the iterate tag is an element of the underlying collection you are

logic:iterate using HashMap

2003-06-24 Thread O_Parthasarathy Kesavaraj
How to iterate thro HashMap using logic:iterate? Regards Partha - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Logic:Iterate - Pls Help.........

2003-06-23 Thread Poon, Johnny
You might need to add this before your : -Original Message- From: Shashank Dixit [mailto:[EMAIL PROTECTED] Sent: Friday, June 20, 2003 7:44 AM To: Struts Users Mailing List Subject: Logic:Iterate - Pls Help. Hello All Can somebody pls explain how to use I am using following

Logic:Iterate - Pls Help.........

2003-06-20 Thread Shashank Dixit
Hello All Can somebody pls explain how to use I am using following code What I understood from the documents is myCollection element will be create when in doStartTag of logic:iterate. And it will be stored in pageContext so that WriteTag will access it. But I got the

Re: Logic:iterate

2003-06-19 Thread Shashank Dixit
nt: Friday, June 20, 2003 11:53 AM Subject: Re: Logic:iterate HI, where is ur "list" coming from?? ---Original Message--- From: Struts Users Mailing List Date: Friday, June 20, 2003 11:22:39 AM To: Struts Users Mailing

Re: Logic:iterate

2003-06-19 Thread Nagendra Kumar O V S
Subject: Logic:iterate  Hello AllCan somebody pls explain how to use I am using following codeWhat I understood from the documents is myCollection element will be create whenin doStartTag of logic:iterate. And it will be stored in pageContext so that WriteTag will

Logic:iterate

2003-06-19 Thread Shashank Dixit
Hello All Can somebody pls explain how to use I am using following code What I understood from the documents is myCollection element will be create when in doStartTag of logic:iterate. And it will be stored in pageContext so that WriteTag will access it. But I got the

RE: logic:iterate displaying blanks

2003-06-17 Thread RALPH ROPER
Sandeep, you are spot on. I cannot believe I have wasted a few hours over this. Thankyou very much. Ralph -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Wednesday, 18 June 2003 10:13 AM To: Struts Users Mailing List Subject: RE: logic:iterate displaying blanks

RE: logic:iterate displaying blanks

2003-06-17 Thread Sandeep Takhar
uot;userName" /> > > > > auditDate= property="auditDate" /> > > user name= property="userName" /> > >

RE: logic:iterate displaying blanks

2003-06-17 Thread RALPH ROPER
- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Tuesday, 17 June 2003 9:25 PM To: Struts Users Mailing List Subject: Re: logic:iterate displaying blanks I think you want to do a html:form action="/showLogs.do" ? also, check to see what your html source is for this form line and ve

RE: logic:iterate problems

2003-06-17 Thread Matt E
nal Message- > From: Matt E [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 17, 2003 11:23 AM > To: Struts Users Mailing List > Subject: RE: logic:iterate problems > > > Hello! > > Changed the code to read: > > <% > Collection c = ...getProductLines(); &

RE: logic:iterate problems

2003-06-17 Thread Chen, Gin
Next element is Doesn't matter what scope you put it in. -Tim -Original Message- From: Matt E [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17, 2003 11:23 AM To: Struts Users Mailing List Subject: RE: logic:iterate problems Hello! Changed the code to read: <% Co

RE: logic:iterate problems

2003-06-17 Thread Matt E
t; Hello, > > Try to put your collection in the pageContext and > not in the request... > > Strut's tags works a lot with the pageContext... > > > -Original Message- > From: Matt E [mailto:[EMAIL PROTECTED] > Sent: mardi, 17. juin 2003 17:09 > To:

RE: logic:iterate problems

2003-06-17 Thread Valery Jacot
Hello, Try to put your collection in the pageContext and not in the request... Strut's tags works a lot with the pageContext... -Original Message- From: Matt E [mailto:[EMAIL PROTECTED] Sent: mardi, 17. juin 2003 17:09 To: Struts Users Mailing List Subject: Re: logic:iterate pro

Re: logic:iterate problems

2003-06-17 Thread Matt E
> <% > Collection c = ...getProductLines(); > Iterator it = c.iterator(); >out.print(it); > %> This worked as expected. It wrote: [EMAIL PROTECTED] to the HTML, which leads me to belive that the collection is returning an iterator. I then tried this (after deleting the above): <% Co

Re: logic:iterate problems

2003-06-17 Thread guo yingshou
If i were you, i would check like this in my jsp: <%@ page import="java.util.Collection" %> <%@ page import="java.util.Iterator" %> <% Collection c = ...getProductLines(); Iterator it = c.iterator(); out.print(it); %> do not yet util the above code run ok.And then you can be sur

Re: logic:iterate problems

2003-06-17 Thread Matt E
> and then: > > > > > you can alse put your collection into the jsp scope > variable somewhere in your action. > > hope it helps. > > guo > > --- Matt E <[EMAIL PROTECTED]> µÄÕýÎÄ£º> Hello > All! > >

Re: logic:iterate displaying blanks

2003-06-17 Thread Sandeep Takhar
I think you want to do a html:form action="/showLogs.do" ? also, check to see what your html source is for this form line and verify that it is using the "name" element from your struts-config. sandeep --- RALPH ROPER <[EMAIL PROTECTED]> wrote: > hi, > > I had a good search on the user group a

logic:iterate displaying blanks

2003-06-17 Thread RALPH ROPER
hi, I had a good search on the user group and could not find any answer for this one. I have a DispatchAction class, called ShowLogsAction that goes away and returns a list of LogItem items. All the properties on LogItem are public eg public String auditDate ShowLogsAction System.out.pri

Re: logic:iterate problems

2003-06-16 Thread guo yingshou
guo --- Matt E <[EMAIL PROTECTED]> 的正文:> Hello All! > > I'm running into some problems getting the > logic:iterate tag to work. > > I have a class who's full name is > org.ellism.tir.util.DatabaseConstantsAdapter. It > has > a public method, getInstance()

logic:iterate problems

2003-06-16 Thread Matt E
Hello All! I'm running into some problems getting the logic:iterate tag to work. I have a class who's full name is org.ellism.tir.util.DatabaseConstantsAdapter. It has a public method, getInstance() that returns an instance of itself (The class itself is a singleton). This class ha

ArrayLists inside logic:iterate

2003-06-16 Thread raghu_c
Hi all, I am unable to use arraylists , their indexed props inside logic:iterate tags either I can have the iteration or i can have the data displayed it seems :D The problem is

RE: bean:write with in logic:iterate

2003-06-16 Thread Kamholz, Keith (corp-staff) USX
- From: bhanu sistla [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 6:08 AM To: [EMAIL PROTECTED] Subject: bean:write with in logic:iterate How to use bean:write with in logic:iterate when we have a collection. I have got a collections where i want to iterate through each element in the

bean:write with in logic:iterate

2003-06-16 Thread bhanu sistla
How to use bean:write with in logic:iterate when we have a collection. I have got a collections where i want to iterate through each element in the collection Regards Bhanu - Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger

RE: logic:iterate issue

2003-06-16 Thread raghu_c
Default offset is zero , is it not? > -Original Message- > From: J, Sadhasivam (Cognizant) [mailto:[EMAIL PROTECTED] > Sent: Monday, June 16, 2003 1:00 PM > To: Struts Users Mailing List > Subject: RE: logic:iterate issue > > > Offset property is there in it

RE: logic:iterate issue

2003-06-16 Thread J, Sadhasivam (Cognizant)
Offset property is there in iterate check it up please -Original Message- From: raghu_c [mailto:[EMAIL PROTECTED] Sent: Monday, June 16, 2003 12:54 PM To: [EMAIL PROTECTED] Subject: logic:iterate issue Hi - My logic:iterate tag doesnt loop thru the no of elements in the list :( Can

logic:iterate issue

2003-06-16 Thread raghu_c
Hi - My logic:iterate tag doesnt loop thru the no of elements in the list :( Can someone help? My jsp goes something like this

Re: logic:iterate ActionForm array

2003-06-13 Thread James Mitchell
- Original Message - From: "Michael C. Clark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 13, 2003 12:55 PM Subject: logic:iterate ActionForm array > I'm trying to populate a multibox from an array that lives in my > ActionForm (like

logic:iterate ActionForm array

2003-06-13 Thread Michael C. Clark
I'm trying to populate a multibox from an array that lives in my ActionForm (like the example in Ted's book p. 298). I keep getting a NullPointerException when the logic:iterate tag trys to read the String array property from the ActionForm. If I create the String array in the JSP

Re: Logic:iterate

2003-06-10 Thread Sashi Ravipati
- From: "Sashi Ravipati" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 9:33 AM Subject: Logic:iterate i have the following code in my .jsp in my act

Re: Logic:iterate

2003-06-10 Thread Sashi Ravipati
" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 9:33 AM Subject: Logic:iterate i have the following code in my .jsp in my action form I have private String[

Re: Another problem with logic:iterate

2003-06-10 Thread James Mitchell
On Tuesday 10 June 2003 10:42, Nadja Senoucci wrote: > Hello, > > this seems to be my day of problems. ;) Anyway, I have this code in my > .jsp: > > > type="java.util.ArrayList"/> > type="java.util.ArrayList"/> > > > > > > > > > > > And I keep getting the following error: > > Generated

Another problem with logic:iterate

2003-06-10 Thread Nadja Senoucci
Hello, this seems to be my day of problems. ;) Anyway, I have this code in my .jsp: And I keep getting the following error: Generated servlet error: suchen$jsp.java:231: Variable 'fields' is already defined in this method. java.util.ArrayList fields = null; But I am not declaring t

Re: Logic:iterate

2003-06-10 Thread Sashi Ravipati
ng what you are trying to do. Can you explain further? -- James Mitchell Software Developer/Struts Evangelist http://www.struts-atlanta.org - Original Message - From: "Sashi Ravipati" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 9:33 AM S

Re: Logic:iterate

2003-06-10 Thread James Mitchell
st http://www.struts-atlanta.org - Original Message - From: "Sashi Ravipati" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 9:33 AM Subject: Logic:iter

Logic:iterate

2003-06-10 Thread Sashi Ravipati
i have the following code in my .jsp in my action form I have private String[] FirstName={}; private String[] iterator={"",""}; // For testing i initialised to 2 values public String[] getFirst

Re: Problem with Logic:Iterate

2003-06-10 Thread Alen Ribic
I know that this is an old post, but I had a same problem last night, so I thought I feedback on what my problem was. in my action class... ... request.setAttribute("productList", productList); // bean list ... in my Logic:Iterate, I got a "javax.servlet.ServletException: No bea

logic:iterate - ClassCastException

2003-06-09 Thread Alen Ribic
Hi I'm getting an ClassCastException when using a tags. Action ... List productList = uc.apply(sqlQuery); // returns a List of Product objects request.setAttribute("productList", productList); ... View ... ... java.lang.ClassCastException: $Proxy0 at org.apache.jsp.productLis

<    1   2   3   4   5   6   7   >