Re: Display Groups
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.