• 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
Re: Using AjaxInPlaceEditor in WORepetition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using AjaxInPlaceEditor in WORepetition


  • Subject: Re: Using AjaxInPlaceEditor in WORepetition
  • From: "Cheong Hee (Gmail)" <email@hidden>
  • Date: Fri, 05 Aug 2011 10:07:12 +0800

Hi Ray
 
Yes I thought about this code aPerson.project().txImplementation() and it's great when I saved in data base but When I want to manipulate(modify each row in the loop) txImplication  before saved?
If the txImplication is not in the loop, I supposed you should be able to modifiy each row, and also keep the value of txImplication either in your session.txImplementation or as an attribute in the page java itself.  Before calling ec saveChanges, set the txImplication to your aPerson.project().setTxImplication(session.txImplication()).   Then ec saveChanges to save all objects for persons and project.  No?
 
 
I can not change the model because I exploit a database which I can modify. I only create my table project to do relationship between all tables.
Since you chan create project table, and you may need to set up its many-to-many relationship join table.  It is common that a person can have many projects and a project can have many persons.  You will need to know how to set up both relationships and get direct access with just e.g. person.projects() and project.persons().
 
Cheers
 
Cheong Hee
 _______________________________________________
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

References: 
 >Re: Using AjaxInPlaceEditor in WORepetition (From: Theodore Petrosky <email@hidden>)
 >Re: Using AjaxInPlaceEditor in WORepetition (From: Raymond NANEON <email@hidden>)
 >Re: Using AjaxInPlaceEditor in WORepetition (From: Raymond NANEON <email@hidden>)

  • Prev by Date: Re: Using AjaxInPlaceEditor in WORepetition
  • Next by Date: Re: D2W app and Excel and PDF generation example (also msg for David Holt)
  • Previous by thread: Re: Using AjaxInPlaceEditor in WORepetition
  • Next by thread: Re: Re: Using AjaxInPlaceEditor in WORepetition
  • Index(es):
    • Date
    • Thread