A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Introducing JavaFX 8 Programming
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
I agree. Here's the link:
subject: how to edit data on a form
Verfiy/ Preview form data before submitting.
Details page, form or just data with link to edit
How to save the form data to redisplay
Pre-populating a struts form
How to add and edit on a single form using struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015