Re: HTML_Template_Flexy and DB_DataObject with Paging (and lack of flexy:while)
| From: | Ian P. Christian | Date: | Wed, 13 Apr 2005 16:51:33 +0000 |
| Subject: | Re: HTML_Template_Flexy and DB_DataObject with Paging (and lack of flexy:while) | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-18727@lists.php.net to get a copy of this message | ||
On Wednesday 13 April 2005 13:13, Dan Rossi wrote:
> Ok here u go, I have built a custom renderer for structures datagrid.
> The dg already hooks into Pager, I have some custom paging methods to
> use image navigation rather than text.
>
Firstly, many thanks for that, it appears to be what I need (other then the
fact that the tempalte doens't set the default number of pages - although I
think I can work with that)
Secondly, forgive my Flexy ignorence :)
It seems from looking at this that a new flexy instance is created to render
the table spit it out, I'm not really folllowing how this would link into an
existing page. I could alter the renderer to use
flexy::bufferedOutputObject() to return the output instead, and then assign
it to a variable to be used in the main page renderer, but that seems pretty
inefficent.
I like how WACT does it, although I've not looked into how this is actaully
achived....
http://wact.sourceforge.net/index.php/ListTag?version=12
Is this kind of system achivable with Flexy?
Kind Regards,
Ian
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]