RE: How to get data back from ActionForm to HTML form

2002-10-09 Thread Rohra, Prakash N. ,,DMDC/BEAU
Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 1:48 PM To: 'Struts Users Mailing List' Subject: RE: How to get data back from ActionForm to HTML form > When I access "/getpersonnel.do" action, > I expect that after my

RE: How to get data back from ActionForm to HTML form

2002-10-09 Thread Wendy Smoak
> When I access "/getpersonnel.do" action, > I expect that after my PersonnelAction.execute() function returns and > personnel.jsp is executed, I would see HTML text > controls filled with "RANK" and "PG" values. But they appear blank. > What am I missing here..?? It looks pretty similar to s

RE: How to get data back from ActionForm to HTML form

2002-10-09 Thread Rohra, Prakash N. ,,DMDC/BEAU
What am I missing here..?? thanks for all the help.. -Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 6:12 PM To: 'Struts Users Mailing List' Subject: RE: How to get data back from ActionForm to HTML form > I tried it, and

RE: How to get data back from ActionForm to HTML form

2002-10-08 Thread Wendy Smoak
> I tried it, and I still don't see Text fields populated in HTML form.. > Does this mean I will have to manually write code to get handle to fForm > from 'request' and call fForm.getXXX() in my JSP file ?? > I thought html:text property="XXX" should automatically get the matching > property value

RE: How to get data back from ActionForm to HTML form

2002-10-08 Thread Rohra, Prakash N. ,,DMDC/BEAU
ching property value from the ActionForm in the similar way it does while POSTing. I must be missing something here... -Original Message- From: William Wan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 3:18 PM To: 'Struts Users Mailing List' Subject: RE: How to ge

RE: How to get data back from ActionForm to HTML form

2002-10-08 Thread William Wan
You have to add request.setAttribute("personnelForm ", fForm); in the action so that the form will be stored in the request for population in jsp. Otherwsie the tForm will only be available within your action scope only. -Original Message- From: Rohra, Prakash N. ,,DMDC/BEAU [mailto:[EMA