RE: bean property copy

2004-07-30 Thread Erdem Ergin
:16 PM To: Struts Users Mailing List Subject: Re: bean property copy i tried but didn't work that way Erdem Ergin wrote: >Hi, > >Possibly between pageA and pageB, you have an action. In that action's execute >function you get formA as parameter. Then generate a new for

RE: bean property copy

2004-07-30 Thread Erdem Ergin
Hi, Possibly between pageA and pageB, you have an action. In that action's execute function you get formA as parameter. Then generate a new form with type formB as a local variable and assign your values. Lastly send it to the new page which is pageB. Using: public ActionForward execute(Ac

RE: Indentation using html:messages tag

2004-07-30 Thread Erdem Ergin
hi; While you are generating your action messages you can use a format which is specified in your message resource file. Simple usage: ... msg = new ActionMessage("<>", "stop"); messages.add("message2", msg) ... and in jsp use: which writes all the messages Detailed example can be found