Check out Rick's Struttin with Struts lessons. Lesson 2 covers form prepopulation.
http://www.reumann.net/struts/lesson2.do Hubert On 8/29/05, Karin Schellner <[EMAIL PROTECTED]> wrote: > Hi, > I just started implementing a webapplication using Struts and could not > find a good solution for the following (- not so uncommon as I would > guess -) problem: > Each authenticated user has a userprofile with personal data which > he/she can edit via a "PersdataForm". The initial values for this form > should be retrieved from the database, i.e. there is a BO somewhere > containing these data. There is a "PersdataAction" writing the changed > values back to the BO. > > How would I best initiate the form? - the FormBeans "reset" method seems > not to be the right place because it is called too often - should I use > another Action? but how would the configuration look like in such a > scenario? > > Thanks in advance for your ideas on this problem! > karin. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]