Jyothi Panduranga wrote:
> Are there any third party libraries to populate Form bean during run 
> time from and XML file?  Can somebody give me pointers on how to go 
> about doing this?

Can you give more details?  Are you talking about pre-populating the
Form, like presenting an existing "record" for editing?  I would
probably populate some other object (Data Transfer Object, JavaBean,
whatever) from the XML and then continue using
BeanUtils.copyProperties() to populate the Form bean.

I have not played with it, but I think there's a project in the Commons
that can populate a Java Object from XML.  Is it Digester??

I would keep this sort of thing outside of the Struts code, the Actions
don't need to know where the data is coming from, they just get a
DataAccessObject of some sort and tell it to go get some data.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University, PA, IRM 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to