Hello;
What do you mean it wouldn't stop reading your EOs? You dont want to
pass your entire EO to it. Just pass the entities you want to
generate the report for. Use a fetch specification to limit the
results and then pass the fetched results.
I have a selection criteria page with a Display group. I have hooked
some ToManyRelationship and ToOneRelationship controls to the
queryMatch collection of the DisplayGroup. The fetch is created for
me by the DisplayGroup. Then I have a Submit button that fires an
action and renders the report:
qualdatesDisplayGroup.qualifyDataSource(); //applies the users
selected filter
RMDocument template = new RMWODocument("qualifications10"); //
loads the RM template
RMDocument report =
template.generateReport(qualdatesDisplayGroup.allObjects());
RMPDFPage page = (RMPDFPage)pageWithName("RMPDFPage"); //generates
the report as pdf
page.document = report; //assigns the document object to the
content of the report
return page; //returns the page
WALA all done. This is the only code on the search criteria page. As
long as you use the WODisplayGroup, it does all the work for you.
Don
On Jun 12, 2008, at 3:13 PM, James Cicenia wrote:
Just starting.
I downloaded, read their instructions, etc. First off, it wouldn't
stop reading my EOs. as it was assessing them.
So then I figured a dictionary of keys, which I already have would
be good. Created an XML file from that. It looked reasonable, but
then it doesn't show anything in the designer. I sent them a support
ticket and my xml so we will see.
Though... it does look pretty darn great from just scratching the
surface.
James
On Jun 12, 2008, at 2:05 PM, Don Lindsay wrote:
Hello James;
There is already an interface to reportMill for WebObjects.
ReportMill made it, you can download it from their website. Are
you just trying to run some reports or are you trying to
encapsulate their visual designer IDE?
Don
On Jun 12, 2008, at 2:45 PM, James Cicenia wrote:
Hello -
I wish to make a reporting interface to ReportMill. However, I
want reportmill just to see the attributes that I want exposed.
Some of my EOs have a lot of methods, attributes,etc.
What is the simplest way to pass this information to ReportMill?
I already have made dictionaries of keys for my entities for
another reporting method, but I think ReportMill wants something
more.
Thanks
James Cicenia
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/pccdonl%40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]