pageConfiguration = "QueryStudentPerson" => displayPropertyKeys = (..)
pageConfiguration = "QueryTeacherPerson" => displayPropertyKeys = (..)
...
> D2W.factory().pageForConfigurationNamed("QueryStudentPerson", session())
Obviously, you need to know what exactly you are looking for in advance.
Cheers, Anjo
Am 13.10.2010 um 12:08 schrieb David Avendasora:
> Hi D2Wers,
>
> I've got the Entity "Person" in my model that can have a type of Student,
> Teacher, Parent, etc. They are not subclasses because it is entirely possible
> for a Person to be both a Teacher and a Parent simultaniously. I want to
> have individual search screens for each with different search criteria, but
> since they are all the same entity I don't see how I can follow the normal
> D2W convention of D2W.factory().queryPageForEntityNamed(entityName,
> session()) because they are all really the Person Entity.
>
> What's the best way to approach this with D2W?
>
> Thanks,
>
> Dave
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/anjo%40krank.net
>
> This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]