• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
insert WOPopupButton selected value into database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: SSL and appendToResponse
  • Next by Date: add gif file to WO project in WOLips
  • Previous by thread: Re: WOPopupButton selected value
  • Next by thread: method lookup order performance benefit?
  • Index(es):
    • Date
    • Thread