Does FakeManifestItem implement KVC? I think it would need to.
Chuck
On 2012-03-05, at 11:31 AM, Pascal Robert wrote:
> I have a case where I have to use a non-EO (aka a plain Java object) in a
> display group because the non-EO holds the results of a calculation and other
> stuff. Everything works fine, and that non-EO also have a reference to a EO.
> Everything works fine, except for one thing. I need to filter the displayed
> objects by modifying the qualifier based on a user action, but the qualifier
> don't remove anything.
>
> So, when the user action is called, I do this:
>
> if (filterDateForTransactions == null) {
> filterDateForTransactions = new NSTimestamp();
> }
>
> dg().setQualifier(FakeManifestItem.MAIN_TRANSACTION.dot(Transaction.DATE_END).before(filterDateForTransactions));
> dg().updateDisplayedObjects();
>
> FakeManifestItem is the non-EO, and I added a ERXKey (MAIN_TRANSACTION) to
> the Transaction EO class. But when this is called, the array stays the same.
> Anyway to get this to work on non-EO?
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>
> This email sent to [email protected]
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
