Include fragment in the same template

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Include fragment in the same template

emilime
Why is not possible to define a fragment in a page and use the same fragment later in the same page?
It would be useful, for example, to reuse the same pagination toolbar before and after search results.
Reply | Threaded
Open this post in threaded view
|

Re: Include fragment in the same template

danielfernandez
Administrator
Hi,

I understand. This could also be useful for being able to execute fragments recursively. For example, for representing trees or data structures which depth is not known beforehand...

Would you be so kind to add a Feature Request for this at the issue tracker?

Thanks,
Daniel.
Reply | Threaded
Open this post in threaded view
|

Re: Include fragment in the same template

emilime
Added :)
Reply | Threaded
Open this post in threaded view
|

Re: Include fragment in the same template

Howard Roark
can we pass object type parameter to the fargment?