Hi James,
From my limited knowledge ...
On 28/04/2004, at 11:08 PM, James Cicenia wrote:
> I still don't understand how a user can select which attributes of an
> object
> to list with D2W? I have a D2W version of my product running in
> development
> to test this, and, unless I use the assistant I don't see any other
> method of
> dynamically picking which attributes to list.
I believe the rule system is two-way your code can access the results
of the rule system (as the components do), and you can effect the rule
system with your code.
The whole EOModel with EOEntity and EOAttribute objects is constructed
in memory when the model is loaded. You can access any EOEntity's list
of EOAttributes for that entity. With this you can give your users a
choice to select the required attributes. You can then setup a rule to
get this list of attributes from your code somewhere (probably best
stored in the page).
I'm not too sure on the specifics, but that is the general approach, I
believe.
I have been interested in something like this for a long while - basic
list-based reporting (with exporting to Excel etc). List pages already
give you sorting, I think there is an button in Wonder to let you
filter lists (sub-queries), and people are currently updating the stuff
to help with writing to Excel files. PDF is a bit more work.
If you can, perhaps you can include it in Project WONDER, and then we
(or at least I when I get around to it) can also work on it).
I can see how you could easily include simple totals (averages, counts,
etc.) as well using the a list-based page. Not sure how DynaReporting
would fit into it though. Have you checked that out? It is reporting
on steroids.
I hope that is some help. Someone please correct me if I am wrong ...
Cheers,
Ashley.
--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com
|