Can't you define a new class which wraps the project and provides getters for the properties you are interested in?
Paul -----Original Message----- From: Jones, Marty B. [mailto:[EMAIL PROTECTED] Sent: 05 August 2003 14:41 To: [EMAIL PROTECTED] Subject: bean tag question Does anyone know if the bean tag will allow you to pull a value from a class that does not have getter or setter methods on the instance attributes? Here is the scenerio that I have. I have a ActionForm that has an array of Project objects. The actionForm has a getter and setter for the array of Project Objects. The project object itself is nothing more than a structure that has id and name attributes. There are no methods within the Project object itself. What I need to do is iterate through the array of Project objects and pull the id and name from each project. I can iterate through the array of Projects fine but when I attempt to get the id and name attribute from the Project it fails stating that there is no get method for them. Does anyone know of a work around for this? I can't modify the Project object because it is automatically generated Stub class that is generated from an application server and it would be overwritten the next time I generate stubs for this component. Any help would be greatly appreciated. ________________________ Marty B. Jones Senior Software Engineer DailyAccess.Com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]