@Override
public void willUpdate() {
NSDictionary diffs =
this.changesFromSnapshot(this.editingContext().committedSnapshotForObject(this));
NSLog.out.appendln( willUpdate() diffs + diffs);
}
the log shows the attributes that were updated AFTER the saveChanges() is
I enhanced JavaWebObjects to support uploads larger then 2GB via the
existing upload form data streaming API. At present we don't use Wonder
which means the changes apply to WO 5.4.3 deploying it standalone by
including three updated classes in your app. We will investigate into
Wonder but
Dear all,
I am currently implementing a REST task in WO that fetches content from a
remote server. I just have a little routine running in Application on a
scheduler.
I was just wondering if there was a better way of running periodic tasks in
wonder, and any advise from those who had similar
I found a solution but I want to know how bad it is?
in my Session's awake, I am creating an EC and doing a fetch of all my Projects:
EOEditingContext theComparisonEC = ERXEC.newEditingContext();
NSArrayProject compArray = Project.fetchAllProjects(theComparisonEC);
You could use the AuditTrail and email the update entry to your users.
David
On 2012-07-29, at 7:28 AM, Theodore Petrosky tedp...@yahoo.com wrote:
I found a solution but I want to know how bad it is?
in my Session's awake, I am creating an EC and doing a fetch of all my
Projects:
For me, I'd say you're going at this the wrong way within the Session..
Keep the session clean.
Check out Paul Yu's recommendation re: ERXGenericRecord and
ERXEnterpriseObject. And, write a controller to manage the object you're
editing, do your work, and let it provide you with the
Hi Ted,
I 've done similar thing in my app where i captured data changes/updates
over to a third-party vendor. The main flow is you save off the updated
data on EditingContextWillSaveChanges event notification and do your DIFF
on EditingContextDidSaveChanges event.
-Vinny
Message: 2
Date:
Don't make it so complicated. Out of my head it should be something like that
in your willUpdate method:
String key = theKeyIWantToTrack;
Object beforeValue = committedSnapshotValueForKey(key);
Object afterValue = valueForKey(key);
jw
Am 29.07.2012 um 16:28 schrieb Theodore Petrosky:
I
Have a look at ERQuartzScheduler and the recording from WOWODC 2011
(http://www.wocommunity.org/podcasts/wowodc/2011/COScheduler.mov) for
COScheduler (COScheduler was the name of the project before it was donated to
Wonder).
Dear all,
I am currently implementing a REST task in WO that
You may also just create a simple Thread (runnable)
Amedeo
Sent from my iPhone
On 29/lug/2012, at 18:04, Pascal Robert prob...@macti.ca wrote:
Have a look at ERQuartzScheduler and the recording from WOWODC 2011
(http://www.wocommunity.org/podcasts/wowodc/2011/COScheduler.mov) for
Nice work!
I was not aware anyone was working on this.
Can you explain a little about what you found, did and so forth just so we're
aware of what went down?
thanks, and thanks!
jess
On Jul 29, 2012, at 7:04 AM, Helmut Tschemernjak hel...@helios.de wrote:
I enhanced JavaWebObjects to
I agree with David,
You can do this based off of didInsert in the ERCore audit trail entry. The
audit trail entry will already have all your before and after values, and
didInsert will only be fired after a successful save. It seems the only thing
lacking is a didInsert method that posts a
Hi,
When using ERAttachment to deliver images, should the Last Modified header be
sent without any special configuration? I cannot figure out why the header is
not being set. Does anyone know where this should be done/configured?
My setup: apache on one machine, app on another which serves the
Hi Jesse,
I believe my original posting explained what was done. I wrote some
years ago a little java based web server (experimental only) and I have
some knowledge about networking IO and protocols. After learning at
WOWODC that we need to fix/enhance WebObjects on our own, I spend some
Jul 29 13:15:39 Test1[54687] WARN NSLog - A fatal exception occurred: No
versionString() method in NSBundle found.
This means your class path is incorrect. Adjust it so that ERJars comes before
JavaFoundation.
[2012-7-29 13:15:39 PDT] main java.lang.RuntimeException: No versionString()
On Jul 29, 2012, at 9:33 AM, Amedeo Mantica wrote:
You may also just create a simple Thread (runnable)
Amedeo
I have done the just create a thread method for something and it worked. But
we had the application scheduled in JavaMonitor to stop and re-start itself
once a day and putting
David
I didn't know the WO/WOLips worked with Eclipse 4.2 already. Did Quinton
release an update?
Paul
On Jul 29, 2012, at 4:17 PM, David Holt wrote:
Jul 29 13:15:39 Test1[54687] WARN NSLog - A fatal exception occurred: No
versionString() method in NSBundle found.
This means your class
Ramsey,
I went over your HelloD2W example and implemented the ERCoreBusiness stuff.
your example of adding coreUserPreferences (at 59:45) was just perfect.
is there any example of the audit trails? I am trying other ways to implement
my emailing issue.
Ted
--- On Sun, 7/29/12, Ramsey Gurley
Johann,
I just implemented ERCoreBusinessLogic to allow me to save user preferences. It
was included at time marker 59:45 in Ramsey Gurley's HellowD2W presentation.
I would like to include the Audit trail also so I am looking for an example.
BTW, here is the URL to my test instance:
If you already have user preference working, then all you need is step 7.Begin forwarded message:From: Dieter Stollorcz die...@media-ecom.netSubject: Re: [Wonder-disc] sample code of ERCAuditTrailDate: June 29, 2012 4:31:35 AM MSTTo: Duc Thanh Nguyen ngducthanh2...@yahoo.comCc: wonder Project
Not officially.. but I pushed up some initial changes I was working on to
github, and pascal is building them on the wocommunity jenkins build server.
So if you're feeling adventurous..
On 30/07/2012, at 7:55 AM, Paul Yu p...@mac.com wrote:
David
I didn't know the WO/WOLips worked with
So if I want to track another EO I need to set up that object as an actor and
add the ERXAuditKeys? Or am I missing something.
I did have a problem with the table ERCAuditTrail it created a column
is_deleted as a integer column but it needs to be a boolean. I fixed it
manually.
Ted
--- On
I have been trying with little success to design a rather complex (at least for
me as it is my first D2W project) application using D2W and ERModernLook. I am
able to create a list page and inspect or edit an entity with all the
formatting and restrictions on the attributes and relationships as
Hi Ted,
that's because your CSS styling for that first row is different. I see
.ProjectDescriptionAttrVal {
padding: 10px 10px 10px 235px;
}
where the other rows have
.AttrVal {
padding: 10px 10px 10px 220px;
}
jw
Am 30.07.2012 um 01:57 schrieb Theodore Petrosky:
Johann,
I just
24 matches
Mail list logo