getting data in value object out of logic:iterate

2002-09-04 Thread Michael Lee
( { User[] users = new User[3]; users[0] = user1; users[1] = user2; ... request.setAttribute(users, Arrays.asList(users)); return mapping.findForward(something.jsp); } } in the something.jsp TABLE logic:iterate id=userList name=? TR TD ??? users.getFirstName

Re: getting data in value object out of logic:iterate

2002-09-04 Thread John Raley
Hi Michael, You need: logic:iterate name=users id=aUser bean:write name=aUser property=firstName/ %-- etc --% /logic:iterate The name attr in logic:iterate must match the attribute name of the List. Any BTW you're going to get really tired of writing Beans classes like User. Many folks

Re: html:text in logic:iterate ?

2002-09-03 Thread Rejin NS
Thanks for the responses. This works: logic:iterate id=trick name=MyForm property=list type=my.path.Club TR TD html:text indexed=true name=trick property=data//p /TD /TR /logic:iterate note that you need a method: public Club getTrick(int index) in MyForm. -rejin

RE: ArrayIndexOutOfBoundsException while using logic:iterate

2002-09-02 Thread Shashikiran M
Hi John, I'm stil not able to figure it out. I've put in the stack trace if you might want to take a look. Apart from the logic:iterate tag, i'm using logic:equal, logic:notEqual, logic:present. /*** stack trace starts here **/ java.lang.ArrayIndexOutOfBoundsException

Re: ArrayIndexOutOfBoundsException while using logic:iterate

2002-09-02 Thread John Raley
Looks to me like it's originating in EvermindJSPWriter, not from struts. Shashikiran M wrote: Hi John, I'm stil not able to figure it out. I've put in the stack trace if you might want to take a look. Apart from the logic:iterate tag, i'm using logic:equal, logic:notEqual, logic:present

RE: ArrayIndexOutOfBoundsException while using logic:iterate

2002-09-02 Thread Shashikiran M
, September 03, 2002 12:08 AM To: Struts Users Mailing List Subject: Re: ArrayIndexOutOfBoundsException while using logic:iterate Looks to me like it's originating in EvermindJSPWriter, not from struts. Shashikiran M wrote: Hi John, I'm stil not able to figure it out. I've put in the stack trace

ArrayIndexOutOfBoundsException while using logic:iterate

2002-09-01 Thread Shashikiran M
Hi All, Has any one faced with ArrayIndexOutOfBoundsException while using nested logic:iterate tags? Presently my implementation is as follows: logic:iterate id=ambiguityDet name=OrderEntryFormBean property=ambiguityList type=com.tycoelectronics.usosp.order.util.AmbiguityDetail

Re: ArrayIndexOutOfBoundsException while using logic:iterate

2002-09-01 Thread John Raley
Hi Shashi, Where does the page generation stop? I don't think logic:iterate itself will walk off the end of a list (and even if it did that would throw IndexOutOfBounds, not ArrayIndexOutOfBounds). It might be thrown from some other code. John Shashikiran M wrote: Hi All, Has any one

logic:iterate question (index available?)

2002-08-29 Thread Mark Silva
hello all, is there any way to get the current loop number (or index) of a an iterate tag? i have the following code: logic:iterate id=fields name=report property=fields a href=sort.do?sortIndex=I.Want.The.Current.Index.Of.Iteration.Herebean:write name=fields//a /logic:iterate do i need

RE: logic:iterate question (index available?)

2002-08-29 Thread Karr, David
-Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 29, 2002 2:46 PM To: [EMAIL PROTECTED] Subject: logic:iterate question (index available?) hello all, is there any way to get the current loop number (or index) of a an iterate tag? i have

Re: html:text in logic:iterate ?

2002-08-28 Thread Rejin NS
Thanks for the sample code, Maris. I could make some headway, but still can't get the setters to work. Here is the snippet: logic:iterate id=b name=MyForm property=list type=my.path.Club TRTD html:text indexed=true name=b property=data//p /TD/TR /logic:iterate 'list' is a vector. 'Club' has

Help - Logic:iterate!!!

2002-08-28 Thread NATARAJAN, SANKAR (SBCSI)
Hello All, I am using logic:iterate like as follows : bean:define id=summList name=partSummaryForm property=summary type=java.util.Collection/ logic:iterate id=summ name=summList A name

Re: html:text in logic:iterate ?

2002-08-28 Thread Tom Klaasen
To have the setters work in a logic:iterate, you should use the nested taglib (keyboardmonkey.com/struts if I'm not mistaken) tomK Rejin NS wrote: Thanks for the sample code, Maris. I could make some headway, but still can't get the setters to work. Here is the snippet: logic:iterate id=b

RE: html:text in logic:iterate ?

2002-08-28 Thread Kwang-Shi Shu
? Thanks. Kwang-Shi Shu (732) 537-6862 = -Original Message- From: Tom Klaasen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 3:39 PM To: Struts Users Mailing List Subject: Re: html:text in logic:iterate

Re: Help - Logic:iterate!!!

2002-08-28 Thread Rejin NS
, August 28, 2002 11:58 PM Subject: Help - Logic:iterate!!! Hello All, I am using logic:iterate like as follows : bean:define id=summList name=partSummaryForm property=summary type=java.util.Collection/ logic:iterate id=summ name=summList A name='bean:write name=summ

Re: Newbie logic:iterate question

2002-08-26 Thread Bryan Hilterbrand
align=right class=fieldCaptionGroup(s):/td td logic:iterate id=group name=userInfo property=groupDescs bean:write name=group / /logic:iterate /td /tr /table Form public class UserInfoForm extends ActionForm { private String userName; private

html:text in logic:iterate ?

2002-08-16 Thread Rejin NS
Hello, I need text boxes in one column of a table. The number of rows may vary. Hope you can point me to a resource / sample code. Thanks, Rejin.

RE: html:text in logic:iterate ?

2002-08-16 Thread Maris Orbidans
Here you got sample code: Zurnals4Buvniecibas is form class, it has property saraksts which contains a vector with objects of Zurnals4CommonView. Zurnals4CommonView has properties jaiesniedzAtskaite, jaiesniedzDatums and so on ... Maris logic:iterate id=element name

Details of Action, ActionForm, and JSP page using logic:iterate and html:multibox?

2002-08-14 Thread Karr, David
I could use a concise description of the alternatives and details of setting up my Actions, ActionForm, and JSP pages so I can have a logic:iterate wrapping a set of html:multibox elements, and so the set options can be communicated back and forth effectively. I could also use any pointers

Problem with logic:iterate

2002-08-12 Thread Sudhir S. Shetty
[]){ this.tempsud = tempsud; } public String[] getTempsud(){ return this.tempsud; } - and in my JSP I have the following code. logic:iterate id=SampleRowForm name=SampleRowForm property=tempsud trtd %=Sudhir% bean:write name=SampleRowForm

Re: Problem with logic:iterate

2002-08-12 Thread Patrick Roumanoff
According to Sudhir S. Shetty [EMAIL PROTECTED]: private String [] tempsud = public void setTempsud(String tempsud[]){ this.tempsud = tempsud; } public String[] getTempsud(){ return this.tempsud; } - logic:iterate

RE: Problem with logic:iterate

2002-08-12 Thread Padma Ginnaram
Try this logic:iterate id=tempStr name=SampleRowForm property=tempsud . bean:write name=tempStr/ . In your example you named indexed attribute is same as the name of the bean containing the array you are iterating through which probably confused you. In the iterate tag you

RE: Problem with logic:iterate

2002-08-12 Thread Tahir Awan
Users Mailing List Subject: Problem with logic:iterate Hi , Im having some problems with logic Iterate, I have a Form Bean SampleRowForm.java in which I define a String [] --- private String [] tempsud = {Sudhir,Shetty,Ramesh,K,'Doug,Wong,Aloke,Thimi,InveniTech, Powershare

logic:iterate question

2002-08-09 Thread Aiken, Weston - Raleigh, NC
Consider the following scenario: My Action class adds a Facility object to the request and forwards to a JSP for presentation. The Facility object contains an array of PhoneNumber objects. My question is: Using struts tags, is it possible to pull the PhoneNumber[] array out of the Facility

RE: logic:iterate question

2002-08-09 Thread Kamholz, Keith (corp-staff) USX
Hey, It's not a problem to pull a list out of an object. My code is: logic:iterate id=hw name=currentData property=hwList type=com.moog.us.rur.data.Hardware This means that my app locates the object called currentData, and iterates through an ArrayList within it (which is the hwList

RE: logic:iterate question

2002-08-09 Thread Sri Sankaran
methods. The beauty of this is that you can go any number of levels deep. Sri -Original Message- From: Aiken, Weston - Raleigh, NC [mailto:[EMAIL PROTECTED]] Sent: Friday, August 09, 2002 11:40 AM To: [EMAIL PROTECTED] Subject: logic:iterate question Consider the following scenario: My

RE: logic:iterate question

2002-08-09 Thread Aiken, Weston - Raleigh, NC
Keith Perfect, thanks a bunch. Weston -Original Message- From: [EMAIL PROTECTED] at INTERNET Sent: Friday, August 09, 2002 12:08 PM To: Aiken, Weston - Raleigh, NC; [EMAIL PROTECTED] at INTERNET Subject: RE: logic:iterate question Hey, It's not a problem to pull a list out

logic:iterate and bean:write tags.

2002-08-01 Thread Tahir Awan
Hi, I wrote a specialized iterate tag to display summary pages (reports). It iterates over a collection which has array of String (columns) for each row (record). This was done in pre 1.0. The benefit is that all summaries can use this tag and I have code like Vector list = new Vector(); while

Re: CachedRowset with logic:iterate tag

2002-07-18 Thread @Basebeans.com
Subject: Re: CachedRowset with logic:iterate tag From: David Chu [EMAIL PROTECTED] === Hi, When first using struts, I first tried to use a CachedRowSet object as well. However, based on other people's recommendations, I just went with a simple Vector of Beans, one representing each row

Re: CachedRowset with logic:iterate tag

2002-07-18 Thread @Basebeans.com
Subject: Re: CachedRowset with logic:iterate tag From: Vic C. [EMAIL PROTECTED] === I have extendend and made cached row set work with the iterator. See webPIM on sourceforge, basebeans.com or downloads.com David Chu wrote: Hi, When first using struts, I first tried to use a CachedRowSet

Re: CachedRowset with logic:iterate tag

2002-07-18 Thread Chad Johnson
to the JSTL friendly Result class. -Chad Johnson - Original Message - From: aps olute [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 17, 2002 6:19 PM Subject: CachedRowset with logic:iterate tag How to iterate over a CachedRowSet using logic:iterate tags? I have filled

Re: CachedRowset with logic:iterate tag

2002-07-18 Thread aps olute
Ok from what I gather from the responses, it is not necessary to use Struts Tags to iterate the contents of the CachedRowSet. However I would still like how to do this. I've looked at webPIM, and were not able to download as there are no jar files or zip files package I saw at sourceforge.net,

logic:iterate enhacement proposal

2002-07-17 Thread Adolfo Miguelez
this issue, by overriding logic:iterate, and allowing the tag to load offset from a request parameter, previously to the parameter defined in the tag in the JSP. Now, by sending the query to the same JSP and appending a parameter offset in the query string, we can scroll, since tag gives preference

logic:iterate enhacement proposal

2002-07-17 Thread Adolfo Miguelez
this issue, by overriding logic:iterate, and allowing the tag to load offset from a request parameter, previously to the parameter defined in the tag in the JSP. Now, by sending the query to the same JSP and appending a parameter offset in the query string, we can scroll, since tag gives preference

RE: logic:iterate enhacement proposal

2002-07-17 Thread Malcolm Wise
Adolfo, You could also try the pager taglib available at http://jsptags.com/tags/navigation/pager/ Works well with logic:iterate. Just a thought! Malc -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: 17 July 2002 11:31 To: [EMAIL PROTECTED] Subject

CachedRowset with logic:iterate tag

2002-07-17 Thread aps olute
How to iterate over a CachedRowSet using logic:iterate tags? I have filled the CachedRowset with a select statement and am able to iterate using the crs.getString(1) or the crs.getString(colname) methods, but no am ready to use Struts tags but dont know how. Do I need to convert it a Collection

Iterating multiple collections using logic:iterate- Is it possible with Struts?

2002-07-16 Thread Ravi Kora
Did anyone come across the problem of iterating over multiple collection objects in logic:iterate? The tag works fine if we have a single collection. But I am not getting it to work with multiple collections. I want to know if anyone has done the above using the logic:iterate tags? -Ravi Thanks

logic:iterate never iterate through all the items

2002-07-16 Thread Herve Tchepannou
Why do logic:iterate only show me the last item of my collection? === Here is my code: logic:iterate id=item collection=%= WorkspaceHelper.getUserWorkspaces( pageContext ) %/ tr td colspan=2 a href

Re: logic:iterate never iterate through all the items

2002-07-16 Thread Adolfo Miguelez
I think you must remove the / from the first tag of logic:iterate. Actually you are doing: logic:iterate/ /logic:iterate/ and should be logic:iterate /logic:iterate Hope that makes the trick, Adolfo From: Herve Tchepannou [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

RE: logic:iterate never iterate through all the items

2002-07-16 Thread Herve Tchepannou
thanx... thats was a silly mistake. It works now :-) -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: Re: logic:iterate never iterate through all the items I think you must remove the / from

Iterating multiple collections using logic:iterate tag

2002-07-15 Thread Ravi Kora
Hi, Can someone help me to iterate over multiple collections using logic:iterate tags. It is taking as nested loop if I place the the tag one after the other. Thanks Regards, Ravi Kora [EMAIL PROTECTED] 337-739-3434(M) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: logic:iterate populating with multiple String[]

2002-07-08 Thread Kamholz, Keith (corp-staff) USX
://www.buffalo.edu/~kkamholz -Original Message- From: Zayed [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 1:51 AM To: Struts Users Mailing List Subject: Re: logic:iterate populating with multiple String[] Hi, Has enyone got answer for this? thanks, Zayed [EMAIL PROTECTED] wrote

RE: logic:iterate populating with multiple String[]

2002-07-08 Thread Kamholz, Keith (corp-staff) USX
:51 AM To: Struts Users Mailing List Subject: Re: logic:iterate populating with multiple String[] Hi, Has enyone got answer for this? thanks, Zayed [EMAIL PROTECTED] wrote: Hi Keith, Thanks for your reply. The Problem I am facing is regarding the use of logic:iterate and bean:write

Re: logic:iterate populating with multiple String[]

2002-07-07 Thread Zayed
Hi, Has enyone got answer for this? thanks, Zayed [EMAIL PROTECTED] wrote: Hi Keith, Thanks for your reply. The Problem I am facing is regarding the use of logic:iterate and bean:write tags Let me restate my problem I am developing a WEB-UI for a third party Java Application

RE: logic:iterate populating with multiple String[]

2002-07-05 Thread Kamholz, Keith (corp-staff) USX
kinda new to all this, so if I'm wrong about anything, someone please correct me. I hope this helps. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Zayed [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 9:39 AM To: Struts Users Mailing List Subject: logic:iterate

Re: logic:iterate populating with multiple String[]

2002-07-05 Thread Zayed
Hi Keith, Thanks for your reply. The Problem I am facing is regarding the use of logic:iterate and bean:write tags Let me restate my problem I am developing a WEB-UI for a third party Java Application Therefore I don't have control over the object/s returned. I get two String arrays

RE: html:Checkbox tag in Logic:iterate does not work

2002-07-02 Thread Kamholz, Keith (corp-staff) USX
: html:Checkbox tag in Logic:iterate does not work Hi everyone, I have an html:checkbox in logic:iterate and I would like to know what row the user checked after I submit the form. My Form has an ArrayList of Objects. My action reads the arraylist and check to see witch item is selected. My jsp

logic:iterate problem with jsp:include tags

2002-07-02 Thread Jeremy Haile
I have a strange problem with the logic:iterate tag. I have used this tag numerous numerous times (not in this context however) and have never seen this type of problem. First, I will explain the symptoms: Say my page is laid out in five sections: A, B, C, D, E and a logic:iterate tag

Re: logic:iterate problem with jsp:include tags

2002-07-02 Thread Kubo Hiroshi
The problem seems to be involved in output buffer. Try flushing the buffer : jsp:include page=... flush=true/ From: Jeremy Haile [EMAIL PROTECTED] Subject: logic:iterate problem with jsp:include tags Date: Tue, 2 Jul 2002 19:20:47 + I have a strange problem with the logic:iterate tag

RE: logic:iterate id?

2002-06-21 Thread Kamholz, Keith (corp-staff) USX
Ok, you just made me realize my dumb mistake. Thanks for the help! ~ Keith -Original Message- From: Arron Bates [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 20, 2002 8:42 PM To: Struts Users Mailing List Subject: Re: logic:iterate id? Seems that you're trying to write out

logic:iterate id?

2002-06-20 Thread Kamholz, Keith (corp-staff) USX
When you use the logic:iterate tag, do you have to define the id that stores the result of the iteration before the tag? My code is: logic:present name=entries property=mcEntries logic:iterate id=mc name=entries property=mcEntries type=com.moog.us.eos.beans.MCentry bean:write name

Re: logic:iterate id?

2002-06-20 Thread Arron Bates
Seems that you're trying to write out a property instead of the bean. Try this... logic:iterate id=mc name=entries property=mcEntries type=com.moog,us.eos.beans.MCEntry bean:write name=mc property=oldDept / bean:write name=mc property=oldMatch / bean:write name=mc property=newDept

logic:iterate help!!!

2002-06-05 Thread Benson, Mike
Hello all, I've got a situation with a forward back to the same page with more information and the data is in the ActionForm object but doesn't seem to display. Here is a snippet of the code for the logic:iterate tag: jsp:useBean id=oBondApp scope=session class

AccessControlException (accessDeclaredMembers) when trying to logic:iterate over a HashMap

2002-06-02 Thread @Basebeans.com
Subject: AccessControlException (accessDeclaredMembers) when trying to logic:iterate over a HashMap From: Stefan Lesser [EMAIL PROTECTED] === Hi! I absolutely have no idea what could be wrong. It's all coded as defined in the tag lib docs. in my jsp: logic:iterate id=current name

logic:iterate and multiple selections

2002-05-29 Thread Dan Rasmussen
Hi All, I have an existing application that uses the logic:iterate tag to display a table of editable/deletable elements based on a collection of beans. I have been tasked with adding checkboxes to each row so that multiple selections can be made and operated on (e.g. delete multiple elements

Re: logic:iterate and multiple selections

2002-05-29 Thread Arron Bates
the above site has the jar of just the tags. Arron. Dan Rasmussen wrote: Hi All, I have an existing application that uses the logic:iterate tag to display a table of editable/deletable elements based on a collection of beans. I have been tasked with adding checkboxes to each row so that multiple

Re: Help on logic:iterate

2002-05-25 Thread vivek shrivastava
Thanks vic. i really appreciate. thanks From: Vic Cekvenich [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Help on logic:iterate Date: Fri, 24 May 2002 17:08:06 -0700 Oh, oh.: And if you use html:text

Help on logic:iterate

2002-05-24 Thread vivek shrivastava
of histLstForm bean? because it it calls getter funtion on question property it will give one value, so how does it know there are multiple values? Following code is from vic's DB sample. logic:iterate id=i name=histLstForm trtd bean:write name=histLstForm property=question//tdtd bean:write name

Re: Help on logic:iterate

2002-05-24 Thread Vic Cekvenich
, so how does it know there are multiple values? Following code is from vic's DB sample. logic:iterate id=i name=histLstForm trtd bean:write name=histLstForm property=question//tdtd bean:write name=histLstForm property=ans//tdtd bean:write name=histLstForm property=dateCont//tdtd bean:write

Re: Help on logic:iterate

2002-05-24 Thread Vic Cekvenich
. logic:iterate id=i name=histLstForm trtd bean:write name=histLstForm property=question//tdtd bean:write name=histLstForm property=ans//tdtd bean:write name=histLstForm property=dateCont//tdtd bean:write name=histLstForm property=typ//tdtd bean:write name=histLstForm property=cost//td /tr

Re: Help on logic:iterate

2002-05-24 Thread Arron Bates
to be told they're indexed with indexed=true For Example... logic:iterate id=rowBean name=histLstForm property=myListProperty tr tdbean:write name=rowBean property=question indexed=true//td tdbean:write name=rowBean property=ans indexed=true//td tdbean:write name=rowBean property

JSP Compile warning w/ logic:iterate id

2002-05-23 Thread DHS Struts
All - I am in the process of cleaning up my code to eliminate warning messages, and I am stuck on this one. I am using a logic:iterate to display a bean and I get this message in conjunction with it: JavaCompile: The local variable 'results' is never used. Here is a snippet containing

problem with logic:iterate while displaying an array of beans.

2002-05-20 Thread keerti shrimal
Title: problem with logic:iterate while displaying an array of beans. Hi All, I am facing a problem displaying a table using logic:iterate tag. I am using two separate beans in my jsp for displaying different values. The logic:iterate loop works absolutely fine if I pass just a bean

Re: problem with logic:iterate while displaying an array of beans.

2002-05-20 Thread siraj
problem with logic:iterate while displaying an array of beans.keerthi first thing is ur attached too many files , where people dosnt have enought time to go through it . if it is related to displaying dynamic values here i am attaching a sample jsp and a bean method just go thought it jsp

RE: problem with logic:iterate while displaying an array of beans.

2002-05-20 Thread SATISH.T
Title: Message Hi if u have an array of beans inside an another bean. I'd suggest you use the nested tags apporach instead of logic:iterate. For info on nested you can check up the tutorial at http://www.keyboardmonkey.com/struts/primer/Tutorial_partOne.html . Hope it helps! -Original

JBuilder6 bug or am I doing something wrong with logic:iterate?

2002-05-20 Thread Dennis Doubleday
I have the following in the file lists.jsp: logic:iterate name=analysisWizardForm property=analysisCriteria id=criteria lists.jsp is included in chooselist.jsp with: %@ include file=/jsp/analysiswizard/inc/lists.jsp % JBuilder6 refuses to build this jsp with the following message

RE: JBuilder6 bug or am I doing something wrong with logic:iterate?

2002-05-20 Thread Michael Marrotte
20, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: JBuilder6 bug or am I doing something wrong with logic:iterate? I have the following in the file lists.jsp: logic:iterate name=analysisWizardForm property=analysisCriteria id=criteria lists.jsp is included in chooselist.jsp with: %@ include file

RE: JBuilder6 bug or am I doing something wrong with logic:iterate?

2002-05-20 Thread Dennis Doubleday
Never mind, it was actually complaining about my closing tag, which was logic:iterate/ instead of /logic:iterate -Original Message- From: Dennis Doubleday [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: JBuilder6 bug or am I doing

input flds (text) within a logic:iterate

2002-05-14 Thread Tandon, Pankaj
Hello, I need to display an unknown number of input fields to the user within a logic:iterate tag. The field corresponds to a form property 'comment', say. So in the corresponding Struts form I will need to have a getter and setter that sets and gets a String AND a Collection like so: public

Re: logic:iterate with EJB's, casting problem?

2002-05-13 Thread Arron Bates
of VisiBroker?... Arron. Struts Newsgroup (@Basebeans.com) wrote: Subject: logic:iterate with EJB's, casting problem? From: Nicolas Parisé [EMAIL PROTECTED] === Hi! I have a problems, for displaying a collection of object retrieved from a EJB (1.1). In my action class, I retrieve a collection

RE: logic:iterate with EJB's, casting problem?

2002-05-13 Thread Jon.Ridgway
PROTECTED] Subject: logic:iterate with EJB's, casting problem? Subject: logic:iterate with EJB's, casting problem? From: Nicolas Parise [EMAIL PROTECTED] === Hi! I have a problems, for displaying a collection of object retrieved from a EJB (1.1). In my action class, I retrieve a collection

logic:iterate with EJB's, casting problem?

2002-05-12 Thread @Basebeans.com
Subject: logic:iterate with EJB's, casting problem? From: Nicolas Parisé [EMAIL PROTECTED] === Hi! I have a problems, for displaying a collection of object retrieved from a EJB (1.1). In my action class, I retrieve a collection of Artists objects from a Session EJB: Collection coll

RE: Puzzling error with logic:iterate

2002-05-10 Thread Ajay Chitre
: 10 May 2002 05:46:59 - From: K Br [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Puzzling error with logic:iterate pl help. i have been wracking my small brain over this for a few hours and i have no clew. i am using logic:iterate copybook style; yet, it throws the runtime exception

Re: Puzzling error with logic:iterate

2002-05-10 Thread Arron Bates
Have you tried adding the following attribute and value to the iterate tag?... scope=page Arron. K Br wrote: pl help. i have been wracking my small brain over this for a few hours and i have no clew. i am using logic:iterate copybook style; yet, it throws the runtime exception

RE: Puzzling error with logic:iterate

2002-05-10 Thread Ajay Chitre
[EMAIL PROTECTED] Date: Thu, 9 May 2002 23:19:48 -0700 From: Ajay Chitre [EMAIL PROTECTED] Subject: RE: Puzzling error with logic:iterate Reply-To: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] I think you are missing a jsp:useBean Not sure if this will help but try this out

Puzzling error with logic:iterate

2002-05-09 Thread K Br
pl help. i have been wracking my small brain over this for a few hours and i have no clew. i am using logic:iterate copybook style; yet, it throws the runtime exception: javax.servlet.ServletException: Cannot find bean currBook in scope null the iterate statement is: logic:iterate id

how can I set the values in the form of a iteration (logic:iterate) on the select options (html:select)

2002-04-26 Thread Aroui, Dr. Djelloul
Vehiclepark is a Bean with the property cars (cars is a collection of a Car). Car is a bean with the properties id and vehicleparkId hier ist my jsp-code logic:iterate name=Vehiclepark property=cars id=Car html:hidden name=Car property=id indexed=true/ html:select name=Car property

Select box in logic:iterate

2002-04-25 Thread Raghavendra Anahosur
Hi, I want create a screen whose rows will be dynamically generated and each row contains text boxes and select boxes. I am facing problem in writing the property attribute for select box within the logic:iterate. Could someone tell me where I can get help from? Thanks in advance, Raghu

Re: Select box in logic:iterate

2002-04-25 Thread dhay
] cc:(bcc: David Hay/Lex/Lexmark) Subject: Select box in logic:iterate Hi, I want create a screen whose rows will be dynamically generated and each row contains text boxes and select boxes. I am facing problem in writing the property attribute for select box within the logic:iterate. Could

Re: logic:iterate question

2002-04-25 Thread Nicolas De Loof
logic:iterate id='element' name='attribute' scope='page' type='java.lang.String' indexId='index' bean:write name='MAP_STATE_KEY' property='mapController.dataConnection.attributeNames[%= index %]' scope='session'/ Correct your bean:write tag

RE: logic:iterate question

2002-04-25 Thread Ida Dørum
[mailto:[EMAIL PROTECTED]] Sent: 25. april 2002 14:36 To: [EMAIL PROTECTED] Subject: logic:iterate question Hello all, I've got a question about the logic:iterate tag. I'm trying to reference a bean which returns a String[] but I only want one of the values in the array. The indexID is working

converting logic:iterate to nested:iterate

2002-04-20 Thread @Basebeans.com
Subject: converting logic:iterate to nested:iterate From: Matt Raible [EMAIL PROTECTED] === How would I convert the following to use the nested tags: logic:iterate id=topic name=courseForm property=topics Topic Name: bean:write name=topic property=name/br/ /logic:iterate I want to do

Re: converting logic:iterate to nested:iterate

2002-04-20 Thread Sanjay Choudhary
--- Struts Newsgroup [EMAIL PROTECTED] wrote: Subject: converting logic:iterate to nested:iterate From: Matt Raible [EMAIL PROTECTED] === How would I convert the following to use the nested tags: logic:iterate id=topic name=courseForm property=topics Topic Name: bean:write name=topic

RE: logic:equal within logic:iterate

2002-04-19 Thread Bill Page
something like this? logic:iterate name=DisplayJobBriefForm property=skillList id=list type=JobBriefSkillBean tr tdbean:write name=list property=name//td % if(list.getRequiredInd().equalsIgnoreCase(dgApplication.SKILL_IS_REQUIRED_AL L_REQS)) out.println(td

Re: logic:equal within logic:iterate

2002-04-19 Thread Ric Searle
That looks fine, except I don't really like having Java code in my JSP pages, and I thought that that was what the logic:equal tag was supposed to do. Ric On Friday, April 19, 2002, at 02:19 pm, Bill Page wrote: something like this? logic:iterate name=DisplayJobBriefForm property

Re: logic:equal within logic:iterate

2002-04-19 Thread Ric Searle
Many thanks, changed the scope of my logic:equal tag and it works perfectly. Ric On Friday, April 19, 2002, at 03:39 pm, Joachim Martin wrote: Hi- I'm not on the Struts list, but I noticed your email on the archive. The id defined by an iterate tag is _page_ scoped, you are looking for

RE: logic:iterate problem

2002-04-05 Thread Jerome Josephraj
this object into a Vector object called Employees. And it worked. Any idea why? Thanks, Jerome. -Original Message- From: David M. Karr [mailto:[EMAIL PROTECTED]] Sent: 04 April 2002 18:01 To: [EMAIL PROTECTED] Subject: Re: logic:iterate problem Jerome

logic:iterate problem

2002-04-04 Thread Jerome Josephraj
Hi, My logic:iterate looks like this logic:iterate id=searchEmpRes name=employeeSearchForm property=lstEmployees !-- line 1 -- tr height=18 td class=tblDataTextbean:write name=searchEmpRes property=firstName

Re: Strange error with logic:iterate

2002-04-03 Thread Michael Skariah
Hope this helps. bean:define id=list name='localForm' property=myList scope=session/ logic:iterate id=myRow name=list bean:write name=myRow property=myName/ /logic:iterate Here in this example, 'myList' is a java.util.List kept as a attribute in the ActionForm. Cheers!, -MS. Abel

sorting in logic:iterate

2002-04-02 Thread Bhaskar Gopalan
Hi, I am using logic:iterate to display values from an arraylist of beans. Is it possible to sort the output based on some bean property? Thnx, GB -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: sorting in logic:iterate

2002-04-02 Thread Leonardo Maciel
As far as I know you have to sort the arraylist on the action class before forward to JSP page. logic:iterate is the View. You have to sort on the Model. -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 3:42 PM To: Struts Group (E-mail

RE: sorting in logic:iterate

2002-04-02 Thread Tim Sawyer
I've created specific iterators (classes that implement iterator interface) that do the sorting for you. So you can ask an object to give you an iterator, or an orderedIterator, or a reverseIterator etc. You then refer to this property from the logic:iterate tag. Tim. -Original Message

Strange error with logic:iterate

2002-04-02 Thread Abel Muiño Vizcaino
% bean:message key=UserProfile.interests/ /th td align=left width=50% logic:iterate id=element name=interestsSet html:multibox property=interestsbean:write name=interest property=value//html:multibox

Setting Color inside logic:iterate

2002-03-29 Thread Bhaskar Gopalan
Hi, is there anyway to set the color of a row from the bean being iterated? My code is given below: logic:iterate id=loan name=loans type=com.mortgagehub.cba.business.LoanSummaryBean tr td align=left valign=middle colspan=1 font size=2 color=#00 face=Verdana bean:write name=loan property

Re: Setting Color inside logic:iterate

2002-03-29 Thread Sanjay Choudhary
Bhaskar, Try looking at http://www.husted.com/struts/resources.htm#taglibs from Amarda. -Sanjay --- Bhaskar Gopalan [EMAIL PROTECTED] wrote: Hi, is there anyway to set the color of a row from the bean being iterated? My code is given below: logic:iterate id=loan name=loans type

RE: Setting Color inside logic:iterate

2002-03-29 Thread Jakkampudi, ChandraseKhar
Try this logic:iterate id=loan name=loans type=com.mortgagehub.cba.business.LoanSummaryBean tr td align=left valign=middle colspan=1 font size=2 color=%=loan.color()% face=Verdana bean:write name=loan property=status filter=true/ /font /td /logic:iterate -Original Message- From

RE: Setting Color inside logic:iterate

2002-03-29 Thread Jakkampudi, ChandraseKhar
sorry that should be loan.getColor() -Original Message- From: Jakkampudi, ChandraseKhar [mailto:[EMAIL PROTECTED]] Sent: Friday, March 29, 2002 3:41 PM To: 'Struts Users Mailing List' Subject: RE: Setting Color inside logic:iterate Try this logic:iterate id=loan name=loans type

Re: Setting Color inside logic:iterate

2002-03-29 Thread Slava_L
Color inside logic:iterate Hi, is there anyway to set the color of a row from the bean being iterated? My code is given below: logic:iterate id=loan name=loans type=com.mortgagehub.cba.business.LoanSummaryBean tr td align=left valign=middle colspan=1 font size=2 color=#00 face

logic:iterate and no collection found

2002-03-27 Thread Mike Finn
this has no data in it, and I use iterator on it, like so: (assume "TheBigForm" is declared w/ type BigForm in struts-config.xml) logic:iterate name="TheBigForm" property="subFormX" id="subForm" bean:write property="subFormPropOne" name=&quo

Re: [Newbie] logic:iterate

2002-03-07 Thread keithBacon
does elt.getName() return a String? --- Slimane [EMAIL PROTECTED] wrote: Hi, I try to do an iteration on a vector. When this vector contains only Strings, the iteration works well. For that, I use the following piece of code: logic:iterate id=elt name=listform scope=session property

<    2   3   4   5   6   7   8   9   >