<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Struts&#039; nested indexed properties in a form with table-layout</title>
	<atom:link href="http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-struts-nested-indexed-properties-in-a-form-with-table-layout</link>
	<description></description>
	<lastBuildDate>Fri, 12 Apr 2013 10:04:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: shahija</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-868</link>
		<dc:creator>shahija</dc:creator>
		<pubDate>Fri, 28 Oct 2011 05:42:05 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-868</guid>
		<description><![CDATA[Can we use this DyanaAction Form?]]></description>
		<content:encoded><![CDATA[<p>Can we use this DyanaAction Form?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duarte</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-867</link>
		<dc:creator>duarte</dc:creator>
		<pubDate>Mon, 01 Aug 2011 10:56:36 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-867</guid>
		<description><![CDATA[I would be thanked, if you post an example with a collection inside other collection, with indexed=true.
My problem it&#039;s when i fill the text inputs, then submit form and some error occurs, struts can&#039;t populate my collections... :&#124; (yes my lists are instanciated)]]></description>
		<content:encoded><![CDATA[<p>I would be thanked, if you post an example with a collection inside other collection, with indexed=true.<br />
My problem it&#8217;s when i fill the text inputs, then submit form and some error occurs, struts can&#8217;t populate my collections&#8230; <img src='http://technology.amis.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  (yes my lists are instanciated)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siva</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-866</link>
		<dc:creator>Siva</dc:creator>
		<pubDate>Wed, 11 Nov 2009 12:30:24 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-866</guid>
		<description><![CDATA[When i search for this issue, i found this. Eventhough it is a old one, as i find the solution in another way, i want to present it.

Consider a bean named PersonVO. Now you have an array of PersonVO objects.

Set it to the form as create a instance variable PersonVO[] arrPerson = new PersonVO[10]. Initialize with default size or follow the steps that presented in the forum earlier.

In jsp page, when you iterate this, use the id name same as the name declared in the form.







Now if you change the first name, the in action class if you get the arrPersons object, you will get the updated one.]]></description>
		<content:encoded><![CDATA[<p>When i search for this issue, i found this. Eventhough it is a old one, as i find the solution in another way, i want to present it.</p>
<p>Consider a bean named PersonVO. Now you have an array of PersonVO objects.</p>
<p>Set it to the form as create a instance variable PersonVO[] arrPerson = new PersonVO[10]. Initialize with default size or follow the steps that presented in the forum earlier.</p>
<p>In jsp page, when you iterate this, use the id name same as the name declared in the form.</p>
<p>Now if you change the first name, the in action class if you get the arrPersons object, you will get the updated one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magali</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-865</link>
		<dc:creator>Magali</dc:creator>
		<pubDate>Thu, 28 Dec 2006 16:38:03 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-865</guid>
		<description><![CDATA[There is a comment wrote by Stephen Montgomery on comment-6971 that says..

â€œI have a collection in collection situations. Where my form bean has a collection of objects (deosetBeans, here) and they have an attribute which itself is a collection (deoBeans, here); which I wanted to use in a form. I implemented the get/set methods as above in both the bean classes for the objects in the collections and then ran the JSP like this:
All was gravyâ€

I have exactly the same problem as mentioned on there, and I canâ€™t resolve the problem, if someone has the answer please let me know, or tell me where can I read more about it.

I will appreciate any help..]]></description>
		<content:encoded><![CDATA[<p>There is a comment wrote by Stephen Montgomery on comment-6971 that says..</p>
<p>â€œI have a collection in collection situations. Where my form bean has a collection of objects (deosetBeans, here) and they have an attribute which itself is a collection (deoBeans, here); which I wanted to use in a form. I implemented the get/set methods as above in both the bean classes for the objects in the collections and then ran the JSP like this:<br />
All was gravyâ€</p>
<p>I have exactly the same problem as mentioned on there, and I canâ€™t resolve the problem, if someone has the answer please let me know, or tell me where can I read more about it.</p>
<p>I will appreciate any help..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-864</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Mon, 26 Jun 2006 20:33:35 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-864</guid>
		<description><![CDATA[I just noticed that the html tags were swallowed up.

 In my earlier post, i meant that the HTML:IMAGE tag does not support the â€˜nameâ€™ attribute as the HTM:TEXT tag .]]></description>
		<content:encoded><![CDATA[<p>I just noticed that the html tags were swallowed up.</p>
<p> In my earlier post, i meant that the HTML:IMAGE tag does not support the â€˜nameâ€™ attribute as the HTM:TEXT tag .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anne</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-863</link>
		<dc:creator>Anne</dc:creator>
		<pubDate>Mon, 26 Jun 2006 20:29:55 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-863</guid>
		<description><![CDATA[How do i resolve a similar problem ....Along with the indexed text fields i also have to generate a Delete button (ImageButtonBean) for each row. The  tag does not support the &#039;name&#039; attribute as the . So, I am stuck with the ArrayIndexOutofBoundException where my buttons are concerned.

I am at a loss here as to how to resolve this. Does someone have an answer for this?]]></description>
		<content:encoded><![CDATA[<p>How do i resolve a similar problem &#8230;.Along with the indexed text fields i also have to generate a Delete button (ImageButtonBean) for each row. The  tag does not support the &#8216;name&#8217; attribute as the . So, I am stuck with the ArrayIndexOutofBoundException where my buttons are concerned.</p>
<p>I am at a loss here as to how to resolve this. Does someone have an answer for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: S M</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-862</link>
		<dc:creator>S M</dc:creator>
		<pubDate>Mon, 12 Jun 2006 15:16:57 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-862</guid>
		<description><![CDATA[This is more related to the above mentioned problem.

How do we proceed if we have a form with two different collections under the same form. Both the collection elements need to be mapped to the form elements on the UI, they should be editable and the list can grow as well.]]></description>
		<content:encoded><![CDATA[<p>This is more related to the above mentioned problem.</p>
<p>How do we proceed if we have a form with two different collections under the same form. Both the collection elements need to be mapped to the form elements on the UI, they should be editable and the list can grow as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asgeir</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-861</link>
		<dc:creator>asgeir</dc:creator>
		<pubDate>Fri, 09 Jun 2006 18:17:37 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-861</guid>
		<description><![CDATA[the problem above was caused by method Order.setName() being not public]]></description>
		<content:encoded><![CDATA[<p>the problem above was caused by method Order.setName() being not public</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asgeir</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-860</link>
		<dc:creator>asgeir</dc:creator>
		<pubDate>Thu, 08 Jun 2006 23:16:27 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-860</guid>
		<description><![CDATA[I&#039;m having problem with setter methods.
The html contains something like

&lt;input type=&quot;text&quot; name=&quot;order[0].name&quot; value=&quot;&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;order[1].name&quot; value=&quot;&quot;&gt;

I have defined both

Order getOrder(int index)

and

void setOrder(int index, Order order)

methods in my form bean, but unfortunately only the getter is called, the setter does not ever get called, so the submitted indexed values are lost. I suppose I can set them via request.getParameter(), but isn&#039;t there any other way? I&#039;m using Struts 1.2.9]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m having problem with setter methods.<br />
The html contains something like</p>
<p>&lt;input type=&#8221;text&#8221; name=&#8221;order[0].name&#8221; value=&#8221;"&gt;<br />
&lt;input type=&#8221;text&#8221; name=&#8221;order[1].name&#8221; value=&#8221;"&gt;</p>
<p>I have defined both</p>
<p>Order getOrder(int index)</p>
<p>and</p>
<p>void setOrder(int index, Order order)</p>
<p>methods in my form bean, but unfortunately only the getter is called, the setter does not ever get called, so the submitted indexed values are lost. I suppose I can set them via request.getParameter(), but isn&#8217;t there any other way? I&#8217;m using Struts 1.2.9</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Hendriks</title>
		<link>http://technology.amis.nl/2004/09/28/using-struts-nested-indexed-properties-in-a-form-with-table-layout/#comment-859</link>
		<dc:creator>Jason Hendriks</dc:creator>
		<pubDate>Thu, 18 May 2006 20:38:16 +0000</pubDate>
		<guid isPermaLink="false">/?p=176#comment-859</guid>
		<description><![CDATA[(cont&#039;d)
      for (int i = 0; i]]></description>
		<content:encoded><![CDATA[<p>(cont&#8217;d)<br />
      for (int i = 0; i</p>
]]></content:encoded>
	</item>
</channel>
</rss>
