Hi!

I have a pager on a table that I would like to display above and below the table.

The pager rendering is not a dramatic computational process, but it requires some queries to the database to know how much items to page, and in some situations some objects that are being paged. So, I would like to avoid doing that twice.

Of course, I can have solve this at the controller level, making sure that the calls are only executed once per RR loop, etc. But I'm thinking, this is WO, so there's probably a better way. And the better way would be to, of course, copy the rendered HTML of the pager to the second location of the page. I'm actually not sure if this a better way (my "elegance VS pragmatism" eternal philosophical questions) but anyway, how would this be done in WO? BTW this is supposed to work on AjaxUpdateContainers, so the solution would have to support that situation.

  Yours

Miguel Arroz

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to