Re: Array of Objects to Array of Global IDs ?
Re: Array of Objects to Array of Global IDs ?
- Subject: Re: Array of Objects to Array of Global IDs ?
- From: James Cicenia <email@hidden>
- Date: Mon, 5 Nov 2007 19:22:52 -0600
Well I have a query and reporting system. The user can select
multiple eos from a list, etc., a query is then created, but now I
have to store the query into a database. So.. don't I need to store
the users eo selection via the global ids?
I realize I could model the reports differently but I have been
saving all the queries in a archivable mutable array or dict. These
new custom query components need to be saved too, so I figure the
global ids and the dictionaries to keep in consistent.
James
On Nov 5, 2007, at 6:57 PM, Owen McKerrow wrote:
Hi James
I think you'll find you don't need to touch the global ID's at all.
Yes there is a way you could extract them, but I wasn't going to
tell you until we'd determined that you really really need to do
it. However Chuck explained how :D
Can you explain what exactly it is you are trying to do. Such as
how is the list of object being selected in the first place ? What
are the objects ? Im assuming they are EO's ?
Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - -
"As of tomorrow, employees will only be able to access the building
using individual security cards. Pictures will be taken next
Wednesday employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp
On 06/11/2007, at 11:49 AM, James Cicenia wrote:
Hello -
I need to save selection of objects in my database. In order for
me to do that
do I have to first extract their global ids and then store those?
If so is there a magic one line of WebObjects code that gives me
the ids?
Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40uow.edu.au
This email sent to email@hidden
_______________________________________________
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