Thanks, that was it, works perfectly. Never had to use notifications so far and
so they were just not present on my horizon.
I knew I needed just the right nudge
---markus---
On 30.01.2012, at 17:13, David LeBer wrote:
> Just thinking off the top of my head:
>
> Maybe post an NSNotification in
-- Forwarded message --
From: Mark Wardle
Date: 30 January 2012 19:38
Subject: Re: D2W, EditingContext, WORequest
To: Markus Ruggiero
Ok, I also use the willUpdate() notification to maintain internal
consistency. I'd be a bit worried about doing lots of weird stuff in
Thanks Mark for your example. It is (almost) exactly what I have done. However
now there is a twist - and that is the actual problem. Maybe I was not really
clear in what I need to do.
This is a simplified model: TextblockGroup -one2many- Textblock -one2many-
TextblockParam.
Suppose it makes
Just thinking off the top of my head:
Maybe post an NSNotification in the EO's willUpdate (assuming you are using
subclasses of ERXGenericRecord) method if the textblock is changing. The
notification should contain the EOGlobalID of the changed object.
Register to receive that kind of notificat
You can set-up workflow using D2W.
For instance, this is a sample D2W workflow that takes an appointment (one
of my EOs), sends the user to an edit page. When that is saved, it runs the
delegate below.
/**
* Edits (usually a newly created) encounter showing a D2W edit page to
complete the core
Yes, Paul, I know this - and I do not want to mix. BUT: the required
functionality is so, that when a "textblock" is edited and then stored to the
database, all "electronic documents" that include this particular textblock
must be recreated automatically. To be able to do this I must be able to
Component generation, XML generation are "UI" view things, they should NOT be
down in your EOs!!! Have you looked at the PDF generation example in Wonder?
Basically, you should create a component like any other, except the wrapper is
what FOP wants.
Paul
Sent from my iPad
On Jan 30, 2012, at
Help, this is urgent, please could someone have a look. I am at a loss here.
Probably my concept is wrong but I do not see how to fix it. A nudge into the
right direction (or a kick into the bu**) might be all I need.
Thank you very much
---markus---
On 27.01.2012, at 15:35, mailinglists wrote
Help!
My ERD2W application needs to generate PDF-files for EOs. The EO has a method
that calls a XML-Generator that generates the XML-input for Apache-FOP. For
this I use the following code in the Document-EO (just a fragment)
I_XMLGeneratorInterface xmlGenerator =
(I_XMLGeneratorInterface)WOA