Type casting in WOComponents
Type casting in WOComponents
- Subject: Type casting in WOComponents
- From: Aaron Thompson <email@hidden>
- Date: Wed, 6 Jun 2007 17:58:44 -0400
Dear list,
Is it possible to do type casting in a binding in a .wod file? I
would like to have a value binding something like value =
((Administrator)user).phone
A little background, I have a User class extended by, say, an
Administrator class and a Sponsor class. I'd like to have a generic
edit user page that can edit both of them. If this isn't possible,
has anyone else found a solution to a similar situation?
Thank you!
Aaron Thompson
_______________________________________________
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