• 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: Queryall page in D2W
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Queryall page in D2W


  • Subject: Re: Queryall page in D2W
  • From: Anjo Krank <email@hidden>
  • Date: Wed, 28 Jan 2004 07:47:51 +0100
  • Xx-reply-to: email@hidden

Am 28.01.2004 um 01:36 schrieb Steve Sharman:

I think it must be time for my nightly newbie question. I would like to customise a Queryall page in D2W so that the list of attributes that my users can search upon is restricted (e.g. in my entity Person, I would like them to be able to run the query on LastName, but not on EncryptPassword).

I'm assuming that to be able to do this I need to freeze the component and then change the logic behind it. Can anyone point me in the right direction for the change that I want to make? I'm assuming that the way that D2W works out of the box is to carry out some kind of dynamic analysis of the attributes of each entity and builds a list of those that it finds (it looks like perhaps it only pulls out class attributes?). I think what I need to be able to do is to control this in some way, either in Java or through the rule system?

Although I never tried this, you should be able to set the entities to show by setting "visibleEntityNames" = (entity1,...). The attributes for each entity are set via a setting the displayPropertyKeys for the query task of the respective entity.


Also take a look at the ERD2WQueryEntitiesPage from Project Wonder (its in CVS, not in the 1.0.1 release).

Cheers, Anjo
_______________________________________________
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.

  • Follow-Ups:
    • Re: Queryall page in D2W
      • From: Steve Sharman <email@hidden>
References: 
 >Queryall page in D2W (From: Steve Sharman <email@hidden>)

  • Prev by Date: WWDC 2003 TV DVDs
  • Next by Date: Re: Rollovers
  • Previous by thread: Queryall page in D2W
  • Next by thread: Re: Queryall page in D2W
  • Index(es):
    • Date
    • Thread