Help with reusable components
Help with reusable components
- Subject: Help with reusable components
- From: Ray Ackland <email@hidden>
- Date: Sat, 18 Oct 2003 11:54:43 +1300
One of my projects currently involves a page containing a table used to
display certain statistics about data in the database (eg count of
people of a certain age who live in a certain area etc).
The coding for this table is reasonably involved and quite generic (ie
could be easily translated to work on other entities in the database).
Hence, I expect it would be a good candidate for being turned into a
reusable component. However it needs to be able to get values from the
page it is embedded in, and there may be a number of these components
in any one page. The reason is so the user can hit a link and have the
wo app create a page (ready to be printed) listing a range of
statistical breakdowns according to certain criteria.
I suspect that I should be using WOGenericContainers /
WOGenericElements for this but (and this may surprise you) the
documentation is kind of a treasure hunt for details. Perhaps this is
Apple's way of making sure developers have really learnt their stuff by
the time they have figured out how to use it :)
Before I expend my last remaining brain cells on this hunt, can someone
indicate if I am barking up the wrong tree for this treasure (mixed
metaphor!). In fact, I can't even see much distinction between the two
dynamic elements in question!
Ray.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.