Showing new items without saving?
Showing new items without saving?
- Subject: Showing new items without saving?
- From: James Cicenia <email@hidden>
- Date: Tue, 23 Dec 2014 11:05:44 -0600
I have a situation where I am creating order items and inserting them into the context.
However, when I refresh the page nothing shows up. If I put a save to the context after creating the records I see them.
I am using a ERXListPage with a EODatabaseDataSource public ERXDisplayGroup<?> displayGroup(){ if(displayGroup == null){ displayGroup = new ERXDisplayGroup(); EODatabaseDataSource ds = new EODatabaseDataSource(ec(),OrderItem.ENTITY_NAME); ds.setAuxiliaryQualifier(OrderItem.ORDER.eq(editOrder)); displayGroup.setDataSource(ds); } return displayGroup; }
If I create a orderItem in the same context shouldn’t it just appear?
Thanks James
|
_______________________________________________
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