insert WOPopupButton selected value into database
insert WOPopupButton selected value into database
- Subject: insert WOPopupButton selected value into database
- From: "Goh Keng Boon" <email@hidden>
- Date: Mon, 26 Apr 2004 20:16:09 +0800 (SGT)
Hi, i managed to insert the selected value from my wopopupbutton(where i
generate it using anarray) into database, and would like to ask if this is the "standard" way
of doing such thing inwebobjects.
I bound the array(CourseList) to list of popupbutton,
string(selectedCourse) to selection.
upon submision, i'll do
Course.setCourse_name(selectedCourse);
ec.insertObject(Course);
ec.saveChanges();
where Course is the java class that generated using EOModeler. It works
fine and i do it differentlyif the wopopupbutton is pouplated using fetch from database, so just
wondering if i'm doing thergith thing.
sorry about such newbie question :-)
cheers.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.