I would have 2 different dialogs - one where the user selects the type, then 
instantiate the object and hook up the fields.

Ken

On Jul 26, 2010, at 11:54 AM, James Cicenia wrote:

> Hello -
> 
> I was wondering what is the best way to approach this issue.
> 
> Normally, when someone clicks new i will instantiate a new object.
> Then my edit/add dialog is the same and I just reference the current object
> that is either new or existing and the bindings all work nice.
> 
> However in this instance I won't know the proper subclass until
> the user selects a "Type". 
> 
> Do I do everything with variables and then assign / write during
> the reads and writes? Or is there some other easier way?
> 
> Thanks
> James
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/kenlists%40anderhome.com
> 
> This email sent to kenli...@anderhome.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to