I always feel double dirty using that one, but maybe it's just me :)

On Jun 8, 2007, at 2:53 AM, Anjo Krank wrote:


Am 08.06.2007 um 06:19 schrieb Mike Schrag:

Right, so this is true -- If assignedRegion is a property of Admin only, then you can't bind to that key on User or WOLips will yell. What is going on here is that the contract you have in your component says that it's a User, so in the general case, you can't bind assignedRegion. If, however, you KNOW under certain circumstances that you have an Admin rather than a User, the easiest path to this would be to add a method to your component:

or use Wonder's ERXInstanceOfConditional...

Cheers, Anjo


_______________________________________________
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 [EMAIL PROTECTED]

Reply via email to