• 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: Display Groups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display Groups


  • Subject: Re: Display Groups
  • From: Alexandra Milton <email@hidden>
  • Date: Mon, 26 Jul 2004 02:17:26 +0200

Being a newbie, I like DisplayGroups as well. Especially for quickly making a few simple pages for simple input and show in a repetition. However, I have found out that I need something like the lines below in order to have the content in the WORepetition to be updated with a new object based on the DisplayedObjects array in the DisplayGroup.

public WOComponent saveImage()
{
imagesDisplayGroup.dataSource().editingContext().insertObject(newUploadO bject);

imagesDisplayGroup.dataSource().editingContext().saveChanges();


		newUploadObject = new Image();

		imagesDisplayGroup.fetch();

		imagesDisplayGroup.updateDisplayedObjects();

        return null;
    }

Any comments on that?

Regards,

Alexandra
Stockholm, Sweden

2004-07-23 kl. 02.25 skrev Lotsa Cabo:

Are display groups bad?

I ask because I just recently started using them.  Until now, I have
been coding everything by hand.  However, after going through a
tutorial that I blew off last year, I really enjoy using them.  My only
fear is that the are either too bloated or are limited in functionality
somehow.

Any input would be greatly appreciated.

Thanx,
Ryan

_________________________
Tired of spam? Signup for a FREE SpamJammer.Com account and say
goodbye to junk email forever!
_______________________________________________
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.
_______________________________________________
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.


References: 
 >Display Groups (From: Lotsa Cabo <email@hidden>)

  • Prev by Date: Re: Question Regarding Session ID's and Cookies
  • Next by Date: Cached EO Objects
  • Previous by thread: Re: Display Groups
  • Next by thread: Multiple WOFileUpload Objects?
  • Index(es):
    • Date
    • Thread