• 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: ERRest Contextual fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERRest Contextual fields


  • Subject: Re: ERRest Contextual fields
  • From: Pascal Robert <email@hidden>
  • Date: Fri, 04 May 2012 12:09:16 -0400

Le 2012-05-04 à 12:00, Andries Brink a écrit :

> Hello Wonder!
>
> Any ideas on getting only contextual data back based on user preferences using ERRest controllers? i.e. I want to only display a list of products that a user can transact on based on his credentials. So, User.party.products should be returned. I would imagine the place to throttle the Rest response would be in the ERXFilter inside the controller?

Key filters is only to determine which attributes and relationships are going to be send back or accepted in requests. To filter which objects they will get, you need to do the appropriate fetches  based on the user.
 _______________________________________________
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


References: 
 >ERRest Contextual fields (From: Andries Brink <email@hidden>)

  • Prev by Date: ERRest Contextual fields
  • Next by Date: Re: Wonder JavaMonitor problem
  • Previous by thread: ERRest Contextual fields
  • Next by thread: build path entries missing
  • Index(es):
    • Date
    • Thread