A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
how to edit data on a form
Joined: Sep 02, 2006
Apr 09, 2007 02:20:00
HI i am new bie to
, i want to edit data on a form.
i have a single form , through which i enter the data into the database.
now i want to use this form only and want to edit the data, so is there any ting.
i am using Dispatch Action,
looking forward for a positive response.
Joined: Oct 15, 2006
Apr 09, 2007 03:10:00
in your actionclass method have something like this
Object obj = new Object();
PageForm oForm= (PageForm) form;
'PageForm' == your actionForm
'Object' == your object class
oForm.setName() == will set the respective property value to the form
subject: how to edit data on a form
How to save the form data to redisplay
How to add and edit on a single form using struts
Pre-populating a struts form
Details page, form or just data with link to edit
Verfiy/ Preview form data before submitting.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014