Hi, I've solved the issue this morning. My DTOGroup.java was not correctly
defined. I had
public class DTOGroups extends DynaValidatorForm implements Serialize
and the extends DynaValidatorForm is not correct -obvious.... I don't
remember to put it there :)
From: "Thomas Joseph" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: "Struts Users Mailing List" <user@struts.apache.org>
Subject: Re: Error loading Collection in form
Date: Tue, 26 Sep 2006 17:02:22 +0530
Hi,
----- Original Message -----
From: "harriquitawn tawn tawn" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Monday, September 25, 2006 7:31 PM
Subject: Error loading Collection in form
>
> I get the name of the project without problem with the line:
>
> <input type="text" name="name" value="<bean:write name="activeProject"
> property="name"/>"/>
>
> but when I want to show all rows of table group,
>
> <logic:iterate name="listAllGroups" id="group">
> <bean:write name="group" property="idGroup"/>
> </logic:iterate>
>
> where listAllGroups is a Collection saved in session:
> GroupBean bgb = new GroupBean(getDataSource(request,"project"));
> Collection groups = bgb.getAllGroups();
> session.setAttribute("listAllGroups",groups);
>
> I get the error:
>
Not sure how you are you populating your collection..
Please check on that. viz, the method - getAllGroups();
please post with the code snippet if you still get the error.
Thanks and Regards,
Thomas Joseph
Kott Software Pvt. Ltd. | Vallamattom Estate | M.G.Road | Cochin, Kerala -
682015 | India
www.kottsoftware.com
----------------------------------------------------------------------------
----
This email (including any attachments) is subject to copyright, the
information in it is confidential, and it is legally privileged. Use of
this
email or of any information in it other than by the addressee is
unauthorized and unlawful. If you are not the intended recipient of the
mail, kindly notify the author of the mail and delete the
same.
----------------------------------------------------------------------
----------
It doesn't matter how you were, but rather how you are that decides your
future. A right attitude will get you to Success.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros.
http://astrocentro.msn.es/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]