Comments on: Multiple-level nesting with <logic:iterate> in Struts https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/ Friends of Oracle and Java Wed, 24 Jun 2015 09:59:44 +0000 hourly 1 http://wordpress.org/?v=4.2.2 By: Another Blog Title https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-653 Wed, 16 Mar 2011 23:50:29 +0000 /?p=133#comment-653 Another Title…

…Another post you might want to check out if you’re interested in…

]]>
By: Anoop https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-652 Thu, 16 Aug 2007 09:37:35 +0000 /?p=133#comment-652 Hi, Could anybody been able to retrieve values back from inner loop.
I tried hard but couldn’t got the solution, though i’m able to retrieve values
back from outer loop. What about the tag , could it be succesfully
developed and impleneted?

]]>
By: bharti https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-651 Thu, 03 May 2007 12:28:05 +0000 /?p=133#comment-651 I used the tag in my code, but getting exception as:
javax.servlet.ServletException: Cannot create iterator for this collection

Can you please suggest the possible causes for this exception???

]]>
By: freekyfashions https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-650 Fri, 14 Jul 2006 20:14:46 +0000 /?p=133#comment-650 Nice tip to learn abt the iteration.
I would like to add few more points which will give a very clear picture to others.

Here it is:
————
Create an arraylistContainer.
Create a bean book – [‘data1′,’data2′,’arrayList’]
‘arrayList’ – has another bean details – [‘bean1′]
‘bean1′ – has some attributes [‘data3′,’data4′]
Add the bean to ArrayListContainer.

Now start your iteration as followed:
—————————————

Hope this helps you all still better.

]]>
By: ankur https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-649 Tue, 28 Jun 2005 04:14:12 +0000 /?p=133#comment-649 hi….
i am facing a problem regarding logic:itearate. i am getting the error
“cannot create iterator for the collection. i have made a multiple Select box as
my collection by declaring it as object of type java.util.string[] in my struts config

i am badly struck.

any help…..

ankur

]]>
By: Rajamani David https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-648 Tue, 08 Mar 2005 15:37:47 +0000 /?p=133#comment-648 Hi Perogi,
Good to see the solution for IndexedTextTag. I downloaded it from your website.
Do you have sample jsp to test IndexedTextTag? I could not find anything inside the zip file.

Thanks
Rajamani David

]]>
By: Jose Tharail Raphael https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-647 Sun, 09 Jan 2005 11:50:47 +0000 /?p=133#comment-647 Hi,

I am having a problem with the logic:iterate tags.Below is the jsp code


id="fundingOrganization"
type="org.digijava.module.aim.helper.FundingOrganization">

type="org.digijava.module.aim.helper.Funding">

type="org.digijava.module.aim.helper.FundingDetail">



td>

When the page is loaded i get a compile error

[ServletException in:/repository/aim/view/addFunding.jsp] Unable to compile class for JSP An error occurred at line: 112 in the jsp file: /repository/aim/view/addFunding.jsp Generated servlet error: G:\jboss\server\default\work\jboss.web\localhost\digijava\org\apache\jsp\repository\aim\view\addFunding_jsp.java:343: incompatible types found : java.lang.String required: org.digijava.module.aim.helper.FundingDetail _jspx_fundingDetail_2 = fundingDetail; ^ An error occurred at line: 112 in the jsp file: /repository/aim/view/addFunding.jsp Generated servlet error: G:\jboss\server\default\work\jboss.web\localhost\digijava\org\apache\jsp\repository\aim\view\addFunding_jsp.java:349: incompatible types found : org.digijava.module.aim.helper.FundingDetail required: java.lang.String fundingDetail = (org.digijava.module.aim.helper.FundingDetail) _jspx_page_context.findAttribute(“fundingDetail”); ^ An error occurred at line: 112 in the jsp file: /repository/aim/view/addFunding.jsp Generated servlet error: G:\jboss\server\default\work\jboss.web\localhost\digijava\org\apache\jsp\repository\aim\view\addFunding_jsp.java:358: incompatible types found : org.digijava.module.aim.helper.FundingDetail required: java.lang.String fundingDetail = (org.digijava.module.aim.helper.FundingDetail) _jspx_page_context.findAttribute(“fundingDetail”); ^ An error occurred at line: 112 in the jsp file: /repository/aim/view/addFunding.jsp Generated servlet error: G:\jboss\server\default\work\jboss.web\localhost\digijava\org\apache\jsp\repository\aim\view\addFunding_jsp.java:362: incompatible types found : org.digijava.module.aim.helper.FundingDetail required: java.lang.String fundingDetail = _jspx_fundingDetail_2; ^ 4 errors ‘

When the page is loaded fundings and fundingDetails Collection is null.

I am stumped for now.

Any ideas.

Thanks in advance.

]]>
By: Jet https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-646 Mon, 20 Dec 2004 00:45:32 +0000 /?p=133#comment-646 Hi all, this is an emergency, HELP PLEASE !
I have the following issue with loginc:iterate, does’n wokr properly, I mean doesn’t show anything in my browser..
mi logs doesn’t have any error message and everything seems to be fine…

Here the code:
/*******
< %
views= (request.getAttribute("getViewRecordSet") != null ? (Vector) request.getAttribute("getViewRecordSet") : null);
pageContext.setAttribute("views", views);
%>

********/

ite name=”viewCollection” property=”itProcessDesc” /> ite name=”viewCollection” property=”scenarioDesc” />     ite name=”viewCollection” property=”name” />

erate>

I guess the property value are the gettes methods fom my action class…

So somebody can help ?
Thanks advanced !

]]>
By: pramod https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-645 Mon, 13 Dec 2004 11:29:05 +0000 /?p=133#comment-645 nice

]]>
By: Perogi https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-644 Fri, 10 Dec 2004 04:15:28 +0000 /?p=133#comment-644 I am planning on making a indexedTextTag.war file to display its usage but for now, you can download the file at
IndexedTextTag. The link is on the left of the page under downloads, I hesitate to
include a direct link to the file in case I decide to add different downloads.

Hope this helps those, I know it helped me!
perogi.

]]>
By: Jasper https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-643 Wed, 08 Dec 2004 11:34:30 +0000 /?p=133#comment-643 Great, keep us posted!

]]>
By: Perogi https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-642 Wed, 08 Dec 2004 04:08:49 +0000 /?p=133#comment-642 I created a strutsish tag to enable this system. I am testing it atm and I will post a link to download it asap.

Hope this helps everyone!
perogi.

]]>
By: Perogi https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-641 Thu, 25 Nov 2004 01:28:52 +0000 /?p=133#comment-641 Doh! I just read Rajamani’s post. It appears that we have the same problem. If I locate a solution, I will post it.

Thanks again.
Perogi.

]]>
By: Perogi https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-640 Thu, 25 Nov 2004 01:27:08 +0000 /?p=133#comment-640 Hello! I currently am using ‘Leon’s’ technique. It displays perfectly but I have one major problem; the values for
the second iterated List are not being propagated back into the Object when ‘submit’ is clicked. Anyone else have this problem
and fixed it or have ideas on how to fix it?

Thanks in advance.
Perogi.

]]>
By: leon https://technology.amis.nl/2004/08/25/multiple-level-nesting-with-code-logiciteratecode-in-struts/#comment-639 Mon, 25 Oct 2004 07:50:41 +0000 /?p=133#comment-639 See the post by Jasper click here

]]>