• 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
saving changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

saving changes


  • Subject: saving changes
  • From: ".::welemski::." <email@hidden>
  • Date: Sun, 28 Aug 2005 21:51:00 +0800

Hi all,

I have webapp that can upload a file and some information into the database.
I used wodisplaygroup and it isvery succesfull, it is less coding and
very effecient. I am not able to insert a new file and information as
well as delete.

My problem now is that, i can't get the my "edit" functionality to
work. In order for me to extract the right data for me to delete, view
and alter is that I have to invoke the
"myGroup.selectObject(myEntity);"
and then bind the necessary attributes to the fields.

view works
delete works
but... I cant make any alteration to my existing data on my database.

does "ec.saveChanges()" really save changes?

I already tried binding my entity to the textfields and then calling
"saveChanges()" method... but it didn't work.

I already tried binding my instance variable to the texfields like this;

varName=myEntity.name();//assuming that myEntity is already called
along with the displayGroup

public void saveChangesToData()
{
   myEntity.setName(varName);
  this.session().defaultEditingContext().saveChanges();
  return null;
}

still...it didn't work...

can anyone help me....?
how do i make and alteration to my data on the database?

--
 -- -- -- -- -- -- -- -- -- -- --
          welemski
 -- -- -- -- -- -- --
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: saving changes
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Embedding frameworks in app bundle
  • Next by Date: file download
  • Previous by thread: Re: out of memory error / best practices for pushing out large data
  • Next by thread: Re: saving changes
  • Index(es):
    • Date
    • Thread