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]

Reply via email to