Trouble using nested iterate with mapped properties

2004-02-08 Thread Mike Cargal
Since the work-around works, it looks a bit like there is a bug using nested iterate this way. Also, the work-around fails when I need to use a form and get my results back... since the html generates... since the tag loses track of

Nested iterate problem

2003-11-16 Thread Gurpreet Dhanoa
hi Sumit Can u sedn the code snapshot for nested iterate. I have 2 beans .Oneis for category and secound is for sub category. I m returning one collection to the JSp File which contain the category name and subcategory beans List.Subcategory bean list is further having its own properties which

Re: Help needed.....nested iterate problem

2003-11-16 Thread sumeet sharma
Hi, Make use of nested:iterate .. its pretty simple to use and it is ment to iterate inside an iterate But do make a parent child relationship for this nested iterate to work Rgds, Sumeet:) On Mon, 17 Nov 2003 Hari_s wrote : >Hi everyone.. >I have problem with iterate

Help needed.....nested iterate problem

2003-11-16 Thread Hari_s
Hi everyone.. I have problem with iterate within iterate.. I have iterate table that contain iterate data and this is my code ...   but that code produce error like this javax.servlet.jsp.JspException: No getter method for property data2 of bean ide java.lang.Object

Re: nested iterate

2003-11-04 Thread David Graham
Here's how you can display the groups using the JSTL http://java.sun.com/products/jsp/jstl/ That should get you started. David --- struts <[EMAIL PROTECTED]> wrote: > Hi all, > > Question: > I've two collections in the session. A collection salesGroup and a > collection salesPeople. s

nested iterate

2003-11-04 Thread struts
Hi all, Question: I've two collections in the session. A collection salesGroup and a collection salesPeople. salesGroup contains groupId and groupName. salesPeople contains salesUserName and salesGroupId (FK). How can i display all salesGroups and all salesUsers in it Like Salesgroup1 s

nested root and nested iterate

2003-08-29 Thread Hiren Dossani
hello, refer to the code below: it always give me error as : java.lang.IllegalArgumentException: Null property value for 'itemMap(13)' at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.j ava:755) at org.apache.commons.beanutils.PropertyUtils.getProperty(Pro

struts 1.1 rc2 nested iterate tag

2003-06-27 Thread Malcolm Davis
I'm able to use the tags nicely over multiple tiles until I use iterate tag. After using the , nesting break and I get a 'null' nested reference. 1. Has anybody had issues with nested iterate tags & tiles? 2. If there is a known issue, is there a workaroun

Nested Iterate Proerty value in a hidden field

2003-03-06 Thread ashokd
Hi, How to capture a nested iterate property value into a hidden field. I am displaying only one record depending upon the condition, At this time i wan to captrue some values into a hidden fields. How can we do this? Thanks & Regards, Ash

Re: Nested iterate tags

2003-02-20 Thread Andrew Shirk
Using the nested:iterate inside of logic:iterate should work. I've modified the code below, but of course have not tested this. "> name="comp" property="component_ID"/> "> property="part_ID"/> property="description"/> At 07:32 PM 2/19/2003 -0500, you wrote: Hi, I'm hoping someone ca

RE: Nested iterate tags

2003-02-19 Thread Sterin, Ilya
nest them, it errors out. Thanks. Ilya -Original Message- From: Jörg Maurer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 8:43 PM To: Struts Users Mailing List Subject: RE: Nested iterate tags Okay, but how do you access the contained vector inside "results"

RE: Nested iterate tags

2003-02-19 Thread Jörg Maurer
ROTECTED]] Sent: Donnerstag, 20. Februar 2003 02:25 To: 'Struts Users Mailing List' Subject: RE: Nested iterate tags Yes, it's a copy of another jsp, which works, but without the nesting. results is a request attribute which contains the vector. Ilya -Original Message- From:

RE: Nested iterate tags

2003-02-19 Thread Sterin, Ilya
t: RE: Nested iterate tags Are you sure that "results" is a properly exposed bean? I guess that "name" argument should be that of your ActionForm bean and "results" should be the "property" argument to this logic:iterate. -Original Message- From:

RE: Nested iterate tags

2003-02-19 Thread Jörg Maurer
ROTECTED]] Sent: Donnerstag, 20. Februar 2003 01:32 To: 'Struts Users Mailing List' Subject: Nested iterate tags Hi, I'm hoping someone can help me out. I have a vector object where each element contains an object, which has another vector element. I need to traverse through th

Nested iterate tags

2003-02-19 Thread Sterin, Ilya
Hi, I'm hoping someone can help me out. I have a vector object where each element contains an object, which has another vector element. I need to traverse through the first one, while inside the loop, also traversing the vector within each object. Can someone give me a lead on how can this possi

indexId of a link in nested iterate tags

2003-01-29 Thread Roy . Stephan
I have to iterate loops and a link in the middle where I want to use the index of the first loop. The index is always equal to zero. Any idea of what I am doing wrong? Thank you Stephan.

Group of radio buttons with indexed="true" within nested iterate

2003-01-17 Thread Yujin Kim
Hi I'm having some issues with indexed="true" and nested iterate tags. I'm hoping some of you would be able to give me some directions. BTW, I had to strip out the orignial source code. I apologize for that if this makes difficult to follow. I'd be happy to provid

Re: Formatted output within a nested iterate loop

2003-01-12 Thread David M. Karr
> "usha" == usha <[EMAIL PROTECTED]> writes: usha> Hi usha> i have a question on formatting the output through . my ActionForms usha> contains all the String datatype variable, even though the value in this usha> varibles may be a date or number. i declared all varibles as st

Re: Formatted output within a nested iterate loop

2003-01-12 Thread usha
re it as a string datatype it need to be keyed in some particular format. if this is the case how can i use 'format' in the Thanks usha David M. Karr wrote: "Norman" == Norman Klein <[EMAIL PROTECTED]> writes: Norman> I currently have a nested

Re: Formatted output within a nested iterate loop

2003-01-12 Thread David M. Karr
>>>>> "Norman" == Norman Klein <[EMAIL PROTECTED]> writes: Norman> I currently have a nested iterate loop which looks like the following: Norman> indexId="liabilityIndex" property="liabilities"> Norman>

Formatted output within a nested iterate loop

2003-01-12 Thread Norman Klein
I currently have a nested iterate loop which looks like the following: This works fine, but the "unpaidBalance" field really needs to be formatted like this: $100,000.00 instead of 10.0 Since the text t

Nested Iterate and Dynamic Radio Button generating

2002-12-24 Thread Brown, Melonie S. - Contractor
We have a client server application that we are taking to the web using Struts 1.1. I have the following code using select boxes. This allows users to set privilege levels on differing sections of the application when creating new users. The only problem is that select boxes require two clicks (

Re: Nested Iterate Tag and indexId problem

2002-11-26 Thread Jeff_Mychasiw
On an interesting note, we had to do alot of this as well where the variable came from another tag(s). I stumbled across this: I found it a bit cleaner function('1','2','') *** Though I could not do the same thing with To:[EMAIL PROTECTED] cc: Subject:

Nested Iterate Tag and indexId problem

2002-11-26 Thread david . fields
I figured out the problem. This will not work even though the rtexprvalue is set to true in the tld. However, this will work... <% String onchangeCall = "function('1','2','" + variable + "');" %> /> I can't use a scriptlet for just a portion of the assignment. It has to be all or nothing.

RE: Nested Iterate Tag and indexId problem

2002-11-25 Thread Sri Sankaran
PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 3:12 PM To: [EMAIL PROTECTED] Subject: Nested Iterate Tag and indexId problem Nested tags were available as a separate download prior to 1.1. I have been using them quite succesfully up until now. What I really need to do

Re: Nested Iterate Tag and indexId problem

2002-11-25 Thread Patrice
--- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 9:11 PM Subject: Nested Iterate Tag and indexId problem > Nested tags were available as a separate download prior to 1.1. I have > been using them quite succesfully up until now

Nested Iterate Tag and indexId problem

2002-11-25 Thread david . fields
Nested tags were available as a separate download prior to 1.1. I have been using them quite succesfully up until now. What I really need to do is this I have several rows of data which are editable in individual text boxes. For each row I have a checkbox. When the user makes a change in

Re: Nested Iterate Tag and indexId problem

2002-11-25 Thread Patrice
02 6:33 PM Subject: Nested Iterate Tag and indexId problem > I am using the nested tags with Struts 1.02. > > I want to be able to dynamically set a call to a javascript function. I > want to pass in the row number to the function. > > I currently have > > > type=&

RE: Nested Iterate Tag and indexId problem

2002-11-25 Thread edgar
Wrk = document.forms[i].elements[j]; return objWrk; } } } } return objWrk; } Edgar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 12:33 PM To: '[EMAIL PROTECTED]' Cc:

Nested Iterate Tag and indexId problem

2002-11-25 Thread david . fields
I am using the nested tags with Struts 1.02. I want to be able to dynamically set a call to a javascript function. I want to pass in the row number to the function. I currently have ');" onkeyup="return aut

RE: Using the nested iterate tag

2002-11-19 Thread C.Bhaskaran
Title: Message Hi Vidya, You can use nested iterate tag to achive this functionality. Rgds C.Bhaskaran -Original Message-From: Vidya P.S. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 4:41 PMTo: [EMAIL PROTECTED]Subject: Using the nested iterate tag Hi

Using the nested iterate tag

2002-11-19 Thread Vidya P.S.
Title: Message Hi, In a JSP, I need to iterate through a collection of beans, say BeanA, which is stored in the session.  BeanA contains the attributes - ID (a String) and an arrayList.The array list contained in BeanA contains a collection of beans of type, say, BeanB. BeanB has an attribu

Nested Iterate Tags Help Needed

2002-10-18 Thread Adam Sherman
If I have an List of Objects, each containing another list of Objects, how do I use the iterate tags to display the data in the format here: http://www.teachandtravel.com/site/infosessions/schedule.php?division=Canada A sample: Monday, October 21st, 2002 Hamilton Kelowna Kitchener Mississauga

Re: Nested iterate name

2002-06-04 Thread Arron Bates
It's ignored as I preferred to have the tags rely on a central source the naming of the bean they're all going to be referencing. I feel it's safer being represented in a properly set up root tag, rather than any one name attribute of a parent tag. Some people also put the name attributes of c

Re: Nested iterate name

2002-06-04 Thread David Morris
Arron, And that is what I did. At this point the nested tag is working great so it is not worth spending much time on but I wonder why the name attribute on the nested:iterate tag seems to be ignored. From the documentation and what I remember of using the base iterate tag, I expected the fol

Re: Nested iterate name

2002-06-04 Thread Arron Bates
David, You can wedge a tag within the form tag. The child tags to the root tag will only see the root tag, and those outside the scope of the root tag won't know it's there either. Example... [... other nesting exploits ...]

Nested iterate name

2002-06-03 Thread David Morris
I am using the 1.1b1 nested tags and ran into something that seems inconsistent. When I specify a form like: ... I get an error that mybeanproperty, which is an ArrayList is not found in myform? If I create a getter in my form bean for mybean it works OK. I really don't want to do this un

Re: nested iterate

2002-02-03 Thread Arron Bates
Tried the tag and the rest of the nested library? It comes in the nightly build, or you can get it separately here (along with tutorial and such on how to use it)... http://www.keyboardmonkey.com/struts Arron. Philippe Hodapp / 1genia wrote: >I have some problems to use an iterate tag in

RE: nested iterate

2002-02-03 Thread srinivas
try using nested tags example and code available at http://www.keyboardmonkey.com/struts -Original Message- From: Philippe Hodapp / 1genia [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 4:56 PM To: Struts Users Mailing List Subject: nested iterate I have some

nested iterate

2002-02-01 Thread Philippe Hodapp / 1genia
I have some problems to use an iterate tag in an iterate tag. I have tried to use the define tag but it don't work too. I have the message : Cannot create iterator for this collection Here's the code : "> -- To unsubscribe, e-mail:

nested iterate

2002-02-01 Thread Philippe Hodapp / 1genia
I have some problems to use an iterate tag in an iterate tag. I have tried to use the define tag but it don't work too. I have the message : Cannot create iterator for this collection Here's the code : "> -- To unsubscribe, e-mail:

RE: quick question: nested Iterate process.

2002-01-10 Thread Tom Klaasen (TeleRelay)
ginal Message- > From: Nick Thomson [mailto:[EMAIL PROTECTED]] > Sent: donderdag 10 januari 2002 18:04 > To: Struts Users Mailing List > Subject: RE: quick question: nested Iterate process. > > > I have found with struts version 1.0 that if you have nested > collections on >

RE: quick question: nested Iterate process.

2002-01-10 Thread Nick Thomson
ewest version, 1.01 I think, has fixed this. -Original Message- From: Geoffrey Mroz [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 8:31 AM To: [EMAIL PROTECTED] Subject: Re: quick question: nested Iterate process. If I read you right, then the following should work (I just p

Re: quick question: nested Iterate process.

2002-01-10 Thread Geoffrey Mroz
If I read you right, then the following should work (I just posted this to another question) html> Use of the Struts iterate tag with nested ArrayLists representing rows/cols: <%@ page import="java.util.ArrayList" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/

RE: quick question: nested Iterate process.

2002-01-10 Thread Tom Klaasen (TeleRelay)
#x27; > Subject: quick question: nested Iterate process. > > > How would I iterate through an ArrayList that is within an > ArrayList that is > already in an iterate tag? > > Example: ArrayList: dInfoList > Structure: var1: St

quick question: nested Iterate process.

2002-01-10 Thread Collard, John
How would I iterate through an ArrayList that is within an ArrayList that is already in an iterate tag? Example:ArrayList: dInfoList Structure: var1: String var2: String var3: int

nested iterate using indexed value from outer iterate?

2001-09-21 Thread Paap, Keith
ual Category instances but how do I get that into an expression for the nested iterate? As a bonus question I set up the Category bean with an attribute name of "def_categories" using a jsp:useBean to actually instantiate the bean (wait before you comment on that). What I would prefer to

RE: Nested Iterate tags - correction

2001-03-02 Thread Chalmers, Douglas
At last!!! A thousand thanks David! -Original Message- From: David Waddell [mailto:[EMAIL PROTECTED]] Sent: 02 March 2001 11:56 To: '[EMAIL PROTECTED]' Subject: RE: Nested Iterate tags - correction typo,bars sho

RE: Nested Iterate tags - correction

2001-03-02 Thread David Waddell
typo,bars should be bar ^ -Original Message- From: David Waddell Sent: 02 March 2001 09:54 To: '[EMAIL PROTECTED]' Subject: RE: Nested Iterate tags given ArrayList stored as 'foos' of foo objects foo

RE: Nested Iterate tags

2001-03-02 Thread David Waddell
: Chalmers, Douglas [mailto:[EMAIL PROTECTED]] Sent: 02 March 2001 09:36 To: Struts Mailing List Subject: Nested Iterate tags Has anyone out there used nested iterate tags to display the contents of a collection, and to display contents of a collection within that collection, returned in the 1st collec

Nested Iterate tags

2001-03-02 Thread Chalmers, Douglas
Has anyone out there used nested iterate tags to display the contents of a collection, and to display contents of a collection within that collection, returned in the 1st collection class by a get method. Both are ArrayLists. How should we refer to the inner collection? Can it be done? Doug